luisespinosa
commited on
Commit
·
e73704e
1
Parent(s):
0aa812a
Update README.md
Browse files
README.md
CHANGED
@@ -45,7 +45,7 @@ labels = [row[1] for row in csvreader if len(row) > 1]
|
|
45 |
model = AutoModelForSequenceClassification.from_pretrained(MODEL)
|
46 |
model.save_pretrained(MODEL)
|
47 |
|
48 |
-
text = "
|
49 |
text = preprocess(text)
|
50 |
encoded_input = tokenizer(text, return_tensors='pt')
|
51 |
output = model(**encoded_input)
|
@@ -74,6 +74,6 @@ for i in range(scores.shape[0]):
|
|
74 |
Output:
|
75 |
|
76 |
```
|
77 |
-
1)
|
78 |
-
2)
|
79 |
```
|
|
|
45 |
model = AutoModelForSequenceClassification.from_pretrained(MODEL)
|
46 |
model.save_pretrained(MODEL)
|
47 |
|
48 |
+
text = "Great, it broke the first day..."
|
49 |
text = preprocess(text)
|
50 |
encoded_input = tokenizer(text, return_tensors='pt')
|
51 |
output = model(**encoded_input)
|
|
|
74 |
Output:
|
75 |
|
76 |
```
|
77 |
+
1) irony 0.914
|
78 |
+
2) non_irony 0.086
|
79 |
```
|