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