feat: added examples
Browse files
app.py
CHANGED
|
@@ -14,6 +14,9 @@ sentiment_model = "MatteoFasulo/mdeberta-v3-base-subjectivity-sentiment-multilin
|
|
| 14 |
examples = [
|
| 15 |
["But then Trump came to power and sidelined the defense hawks, ushering in a dramatic shift in Republican sentiment toward America's allies and adversaries."],
|
| 16 |
["Boxing Day ambush & flagship attack Putin has long tried to downplay the true losses his army has faced in the Black Sea."],
|
|
|
|
|
|
|
|
|
|
| 17 |
]
|
| 18 |
|
| 19 |
class CustomModel(PreTrainedModel):
|
|
|
|
| 14 |
examples = [
|
| 15 |
["But then Trump came to power and sidelined the defense hawks, ushering in a dramatic shift in Republican sentiment toward America's allies and adversaries."],
|
| 16 |
["Boxing Day ambush & flagship attack Putin has long tried to downplay the true losses his army has faced in the Black Sea."],
|
| 17 |
+
["Ho sentito dire che il PM italiano ha confessato che mangerà spaghetti stasera"],
|
| 18 |
+
["Sono arrabbiato e ho sentito dire che il PM italiano ha confessato che mangerà spaghetti stasera"],
|
| 19 |
+
["Vaffanculo e ho sentito dire che il PM italiano ha confessato che mangerà spaghetti stasera"]
|
| 20 |
]
|
| 21 |
|
| 22 |
class CustomModel(PreTrainedModel):
|