model update
Browse files
README.md
CHANGED
@@ -27,7 +27,21 @@ model-index:
|
|
27 |
pipeline_tag: text-classification
|
28 |
widget:
|
29 |
- text: Get the all-analog Classic Vinyl Edition of "Takin' Off" Album from {@herbiehancock@} via {@bluenoterecords@} link below {{URL}}
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
---
|
32 |
# cardiffnlp/twitter-roberta-base-dec2021-irony
|
33 |
|
@@ -50,8 +64,8 @@ pip install tweetnlp
|
|
50 |
Load the model in python.
|
51 |
```python
|
52 |
import tweetnlp
|
53 |
-
model = tweetnlp.Classifier(cardiffnlp/twitter-roberta-base-dec2021-irony, max_length=128)
|
54 |
-
model.predict(Get the all-analog Classic Vinyl Edition of "Takin' Off" Album from {@herbiehancock@} via {@bluenoterecords@} link below {{URL}})
|
55 |
```
|
56 |
|
57 |
### Reference
|
|
|
27 |
pipeline_tag: text-classification
|
28 |
widget:
|
29 |
- text: Get the all-analog Classic Vinyl Edition of "Takin' Off" Album from {@herbiehancock@} via {@bluenoterecords@} link below {{URL}}
|
30 |
+
example_title: "Example: topic_classification 1"
|
31 |
+
- text: Yes, including Medicare and social security saving👍
|
32 |
+
example_title: "Example: sentiment 1"
|
33 |
+
- text: 天気が良いとやっぱり気持ち良いなあ✨
|
34 |
+
example_title: "Example: sentiment 2"
|
35 |
+
- text: All two of them taste like ass.
|
36 |
+
example_title: "Example: offensive 1"
|
37 |
+
- text: If you wanna look like a badass, have drama on social media
|
38 |
+
example_title: "Example: irony 1"
|
39 |
+
- text: Whoever just unfollowed me you a bitch
|
40 |
+
example_title: "Example: hate 1"
|
41 |
+
- text: I love swimming for the same reason I love meditating...the feeling of weightlessness.
|
42 |
+
example_title: "Example: emotion 1"
|
43 |
+
- text: Beautiful sunset last night from the pontoon @TupperLakeNY
|
44 |
+
example_title: "Example: emoji 1"
|
45 |
---
|
46 |
# cardiffnlp/twitter-roberta-base-dec2021-irony
|
47 |
|
|
|
64 |
Load the model in python.
|
65 |
```python
|
66 |
import tweetnlp
|
67 |
+
model = tweetnlp.Classifier("cardiffnlp/twitter-roberta-base-dec2021-irony", max_length=128)
|
68 |
+
model.predict('Get the all-analog Classic Vinyl Edition of "Takin' Off" Album from {@herbiehancock@} via {@bluenoterecords@} link below {{URL}}')
|
69 |
```
|
70 |
|
71 |
### Reference
|