Commit
·
ac16a70
1
Parent(s):
6b92d1d
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,14 +3,41 @@ tags:
|
|
| 3 |
- text-classification
|
| 4 |
language:
|
| 5 |
- en
|
|
|
|
|
|
|
| 6 |
datasets:
|
| 7 |
-
- yigitkucuk/
|
| 8 |
-
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
- text-classification
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
+
widget:
|
| 7 |
+
- text: "Oh, the tragedy!"
|
| 8 |
datasets:
|
| 9 |
+
- yigitkucuk/sentimentale-dataset
|
| 10 |
+
co2_eq_emissions:
|
| 11 |
+
emissions: 0.7402856123778213
|
| 12 |
---
|
| 13 |
|
| 14 |
+
## Validation Metrics
|
| 15 |
|
| 16 |
+
- Loss: 0.576
|
| 17 |
+
- Accuracy: 0.827
|
| 18 |
+
- Macro F1: 0.711
|
| 19 |
+
- Micro F1: 0.827
|
| 20 |
+
- Weighted F1: 0.827
|
| 21 |
+
- Macro Precision: 0.708
|
| 22 |
+
- Micro Precision: 0.827
|
| 23 |
+
- Weighted Precision: 0.828
|
| 24 |
+
- Macro Recall: 0.716
|
| 25 |
+
- Micro Recall: 0.827
|
| 26 |
+
- Weighted Recall: 0.827
|
| 27 |
+
- Problem type: Multi-class Classification
|
| 28 |
+
- CO2 Emissions (in grams): 0.7403
|
| 29 |
+
- Model ID: 3099088026
|
| 30 |
+
|
| 31 |
+
## Use with Python API
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 35 |
+
|
| 36 |
+
model = AutoModelForSequenceClassification.from_pretrained("yigitkucuk/Sentimentale", use_auth_token=True)
|
| 37 |
+
|
| 38 |
+
tokenizer = AutoTokenizer.from_pretrained("yigitkucuk/Sentimentale", use_auth_token=True)
|
| 39 |
+
|
| 40 |
+
inputs = tokenizer("Oh, the tragedy!", return_tensors="pt")
|
| 41 |
+
|
| 42 |
+
outputs = model(**inputs)
|
| 43 |
+
```
|