Instructions to use textattack/albert-base-v2-STS-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/albert-base-v2-STS-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/albert-base-v2-STS-B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/albert-base-v2-STS-B") model = AutoModelForSequenceClassification.from_pretrained("textattack/albert-base-v2-STS-B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
45ccf6d -
Update log.txt
66ce052 -
Update special_tokens_map.json
673d6c4 -
Update spiece.model
5ff6ae2 -
Update tokenizer_config.json
84e74b1 -
Update train_args.json
8aa0d32 -
Update pytorch_model.bin
39ed8fd -
Update config.json
79ec2ce -
initial commit
f9e59b9