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 ·
9459299
1
Parent(s): 95556c7
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
"max_position_embeddings": 512,
|
| 13 |
-
"model_type": "
|
| 14 |
"n_heads": 12,
|
| 15 |
"n_layers": 6,
|
| 16 |
"pad_token_id": 0,
|
|
|
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
"max_position_embeddings": 512,
|
| 13 |
+
"model_type": "distilbert",
|
| 14 |
"n_heads": 12,
|
| 15 |
"n_layers": 6,
|
| 16 |
"pad_token_id": 0,
|