Instructions to use LHF/eu-sts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LHF/eu-sts with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LHF/eu-sts")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LHF/eu-sts") model = AutoModelForSequenceClassification.from_pretrained("LHF/eu-sts", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from LHF/eu-sts: direct link, hf CLI and curl.
- Browser
- Download file 1.22 MB
-
https://huggingface.co/LHF/eu-sts/resolve/b2fcc0d8e33a67371dc2fd9c9539762069e66262/tokenizer.json
- Command line
-
hf download hf://LHF/eu-sts@b2fcc0d8e33a67371dc2fd9c9539762069e66262/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/LHF/eu-sts/resolve/b2fcc0d8e33a67371dc2fd9c9539762069e66262/tokenizer.json
1.22 MB
File too large to display, you can check the raw version instead.