up model card examples
Browse files
README.md
CHANGED
|
@@ -56,18 +56,16 @@ from transformers import pipeline
|
|
| 56 |
model_path = "eevvgg/StanBERT"
|
| 57 |
cls_task = pipeline(task = "text-classification", model = model_path, tokenizer = model_path)#, device=0
|
| 58 |
|
| 59 |
-
sequence = [
|
| 60 |
-
|
| 61 |
-
"Turns around and shows how qualified she is because of her political career.",
|
| 62 |
-
'She has very little to gain by speaking too much']
|
| 63 |
|
| 64 |
result = cls_task(sequence)
|
| 65 |
|
| 66 |
```
|
| 67 |
|
| 68 |
Sentiment classification in multilingual data. Fine-tuned on a balanced corpus of size 8,4k, partially semi-annotated.
|
| 69 |
-
Model suited for classification of stance in short text.
|
| 70 |
-
|
| 71 |
|
| 72 |
## Model Sources
|
| 73 |
|
|
|
|
| 56 |
model_path = "eevvgg/StanBERT"
|
| 57 |
cls_task = pipeline(task = "text-classification", model = model_path, tokenizer = model_path)#, device=0
|
| 58 |
|
| 59 |
+
sequence = ["user The fact is that she still doesn’t change her ways and still stays non environmental friendly"
|
| 60 |
+
"user The criteria for these awards dont seem to be very high."]
|
|
|
|
|
|
|
| 61 |
|
| 62 |
result = cls_task(sequence)
|
| 63 |
|
| 64 |
```
|
| 65 |
|
| 66 |
Sentiment classification in multilingual data. Fine-tuned on a balanced corpus of size 8,4k, partially semi-annotated.
|
| 67 |
+
Model suited for classification of stance in short text.
|
| 68 |
+
*Suitable for fine-tuning on hate/offensive language detection.
|
| 69 |
|
| 70 |
## Model Sources
|
| 71 |
|