Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Update readme.py
Browse files
readme.py
CHANGED
@@ -77,7 +77,7 @@ Fine-tuning script can be found [here](https://huggingface.co/datasets/cardiffnl
|
|
77 |
```python
|
78 |
from transformers import pipeline
|
79 |
|
80 |
-
pipe = pipeline("text-classification", "
|
81 |
topic = pipe("Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US.")
|
82 |
print(topic)
|
83 |
```
|
|
|
77 |
```python
|
78 |
from transformers import pipeline
|
79 |
|
80 |
+
pipe = pipeline("text-classification", "{model_name}")
|
81 |
topic = pipe("Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US.")
|
82 |
print(topic)
|
83 |
```
|