Views
No views yet
| class | precision | recall | f1-score | Support |
|---|---|---|---|---|
| 0 | 0.8109 | 0.6832 | 0.7416 | 1670 |
| 1 | 0.9399 | 0.9689 | 0.9542 | 8541 |
| Accuracy | 0.9221 | 10211 |
torch or tensorflow and Huggingface library transformers. And you can use it directly by initializing it like this:1from transformers import AutoModelForSequenceClassification, AutoTokenizer
2
3model_name="mofawzy/bert-labr-unbalanced"
4model = AutoModelForSequenceClassification.from_pretrained(model_name,num_labels=2)
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6