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 ·
6f35edb
1
Parent(s): c282156
Delete tokenizer_config.json
Browse files- tokenizer_config.json +0 -13
tokenizer_config.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"clean_up_tokenization_spaces": true,
|
| 3 |
-
"cls_token": "[CLS]",
|
| 4 |
-
"do_lower_case": true,
|
| 5 |
-
"mask_token": "[MASK]",
|
| 6 |
-
"model_max_length": 512,
|
| 7 |
-
"pad_token": "[PAD]",
|
| 8 |
-
"sep_token": "[SEP]",
|
| 9 |
-
"strip_accents": null,
|
| 10 |
-
"tokenize_chinese_chars": true,
|
| 11 |
-
"tokenizer_class": "DistilBertTokenizer",
|
| 12 |
-
"unk_token": "[UNK]"
|
| 13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|