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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| datasets: | |
| - imdb | |
| language: | |
| - en | |
| pipeline_tag: text-classification | |
| tags: | |
| - text classification | |
| - transformer | |
| - sentiment analysis | |
| - distilbert | |
| - TensorFlow | |