Instructions to use TheJournal/good_sentiment_model3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheJournal/good_sentiment_model3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TheJournal/good_sentiment_model3")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TheJournal/good_sentiment_model3") model = AutoModelForSequenceClassification.from_pretrained("TheJournal/good_sentiment_model3") - Notebooks
- Google Colab
- Kaggle
Commit ·
b2d8838
1
Parent(s): f1b360c
Upload special_tokens_map.json with huggingface_hub
Browse files- special_tokens_map.json +7 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|