Instructions to use textattack/xlnet-large-cased-STS-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/xlnet-large-cased-STS-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/xlnet-large-cased-STS-B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/xlnet-large-cased-STS-B") model = AutoModelForSequenceClassification.from_pretrained("textattack/xlnet-large-cased-STS-B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update training_args.bin
6d0282f -
Update special_tokens_map.json
8d3ebcf -
Update spiece.model
2f7f3f1 -
Update eval_results_sts-b.txt
ffc4da8 -
Update config.json
5d2971f -
Update pytorch_model.bin
3261637 -
Update tokenizer_config.json
4e17f27
-
Update special_tokens_map.json
b507401 -
Update spiece.model
1d50d57 -
Update eval_results_sts-b.txt
657282b -
Update config.json
c21c81e -
Update tokenizer_config.json
2558705 -
initial commit
cafa51d