yigitkucuk commited on
Commit
a87d4fa
1 Parent(s): 7337b2e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -5
README.md CHANGED
@@ -1,14 +1,45 @@
1
  ---
2
  tags:
 
3
  - text-classification
4
  language:
5
  - en
 
 
6
  datasets:
7
- - yigitkucuk/poems-dataset
8
- license: gpl-3.0
 
9
  ---
10
 
11
- A Multi-Class Text-Classification Model that Detects the Irony in Text Prompts.
12
 
13
- - irony
14
- - non_irony
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  tags:
3
+ - autotrain
4
  - text-classification
5
  language:
6
  - en
7
+ widget:
8
+ - text: "Oh, the tragedy!"
9
  datasets:
10
+ - yigitkucuk/Epironica-dataset
11
+ co2_eq_emissions:
12
+ emissions: 3.243662516902224
13
  ---
14
 
15
+ ## Validation Metrics
16
 
17
+ - Loss: 0.537
18
+ - Accuracy: 0.721
19
+ - Macro F1: 0.720
20
+ - Micro F1: 0.721
21
+ - Weighted F1: 0.720
22
+ - Macro Precision: 0.723
23
+ - Micro Precision: 0.721
24
+ - Weighted Precision: 0.723
25
+ - Macro Recall: 0.721
26
+ - Micro Recall: 0.721
27
+ - Weighted Recall: 0.721
28
+ - Problem type: Multi-class Classification
29
+ - CO2 Emissions (in grams): 3.2437
30
+ - Model ID: 2994886333
31
+ -
32
+
33
+ ## Use with Python API
34
+
35
+ ```
36
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
37
+
38
+ model = AutoModelForSequenceClassification.from_pretrained("yigitkucuk/Epironica", use_auth_token=True)
39
+
40
+ tokenizer = AutoTokenizer.from_pretrained("yigitkucuk/Epironica", use_auth_token=True)
41
+
42
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
43
+
44
+ outputs = model(**inputs)
45
+ ```