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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dancingninjas/sentiment-model") model = AutoModelForSequenceClassification.from_pretrained("dancingninjas/sentiment-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 4 files
7d86112 -
Upload tf_model.h5
2c95371 -
Delete vocab.txt
05fd7c0 -
Delete variables.index
b3a0668 -
Delete variables.data-00000-of-00001
e01e120 -
Delete tokenizer_config.json
6f35edb -
Delete tokenizer.json
c282156 -
Delete special_tokens_map.json
daa679c -
Delete tf_model.h5
c9fd24d -
Rename sentiment_model.h5 to tf_model.h5
858e3eb -
Update config.json
9459299 -
Update config.json
95556c7 -
Create config.json
6d7eed6 -
Create README.md
e491c09 -
Upload 6 files
01f5077 -
Upload sentiment_model.h5
8fd263c -
initial commit
c3d353c