Text Classification
Transformers
Safetensors
PyTorch
English
bert
sentiment-analysis
imdb
text-embeddings-inference
Instructions to use ullahhafeez321/bert-sentiment-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ullahhafeez321/bert-sentiment-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ullahhafeez321/bert-sentiment-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ullahhafeez321/bert-sentiment-classifier") model = AutoModelForSequenceClassification.from_pretrained("ullahhafeez321/bert-sentiment-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
5 days ago
-
Update README.md
Verified signature544d93d
7 days ago
-
Update README.md
Verified signature0c95b56 -
Update README.md
Verified signaturebcffa22
9 days ago
-
Upload BertForSequenceClassification
Verified signaturef474b99