Instructions to use clhuang/albert-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clhuang/albert-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="clhuang/albert-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("clhuang/albert-sentiment") model = AutoModelForSequenceClassification.from_pretrained("clhuang/albert-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
844af8e -
Update README.md
635ef5c -
Update README.md
aa2adc1
-
Update README.md
372d06e
-
Update README.md
740c68a -
Update README.md
d7aa8c9 -
Update README.md
96e53f1 -
Update README.md
fd93f82 -
Update README.md
eb05a42 -
Create README.md
d906c0f -
commit from albert
dbc19fa -
initial commit
472c0b3