Instructions to use Alireza1044/albert-base-v2-sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alireza1044/albert-base-v2-sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Alireza1044/albert-base-v2-sst2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Alireza1044/albert-base-v2-sst2") model = AutoModelForSequenceClassification.from_pretrained("Alireza1044/albert-base-v2-sst2") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Update Hugging Face dataset ID
#4 opened about 2 years ago
by
librarian-bot
Librarian Bot: Add base_model information to model
#3 opened over 2 years ago
by
librarian-bot
Adding `safetensors` variant of this model
#2 opened about 3 years ago
by
SFconvertbot
Align label mapping with sst2 config of glue dataset
#1 opened over 3 years ago
by
lewtun