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