Closed jrnkng closed 2 years ago
Sorry for my late comment. To use pre-trained models like BERTje for specific tasks, you need to fine-tune the models or use already fine-tuned models. You could try using wietsedv/bert-base-dutch-cased-finetuned-sentiment
instead of GroNLP/bert-base-dutch-cased
. This model is fine-tuned on Dutch book reviews, so out-of-domain performance may still be a bit unreliable. I hope this helps!
Hi Wietse!
I am trying classify given texts (usually about 100 words) as either positive or negative. How would I go about doing that with BERTje?
I tried the following based of off the fill-mask example that is shared in the READme and on Huggingface.
For every sentence this outputs
LABEL_0
with a score somewhere around 0.55. I would expect this to be strongly negative. In what way are my expectations off? How would I go about using it to classify it positive or negatively?Thanks alot!