Instructions to use GhylB/Sentiment_Analysis_DistilBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GhylB/Sentiment_Analysis_DistilBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GhylB/Sentiment_Analysis_DistilBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("GhylB/Sentiment_Analysis_DistilBERT") model = AutoModelForSequenceClassification.from_pretrained("GhylB/Sentiment_Analysis_DistilBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3256d96 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:76f45af0e1524ff45ec7cca033620ba5e9643bc3795d7489aebd7c2d5adcc8f7
size 267858605
|