Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
asahi417 commited on
Commit
3131349
·
1 Parent(s): e7a1529

Update readme.py

Browse files
Files changed (1) hide show
  1. readme.py +1 -1
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", "cardiffnlp/tweet-topic-19-single")
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
  ```