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")# 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
Commit ·
8581867
1
Parent(s): 625c998
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ language:
|
|
| 5 |
|
| 6 |
# Basque Semantic Textual Similarity Model
|
| 7 |
|
| 8 |
-
```
|
| 9 |
import transformers
|
| 10 |
|
| 11 |
if __name__ == '__main__':
|
|
|
|
| 5 |
|
| 6 |
# Basque Semantic Textual Similarity Model
|
| 7 |
|
| 8 |
+
```python
|
| 9 |
import transformers
|
| 10 |
|
| 11 |
if __name__ == '__main__':
|