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