Instructions to use WindyTranslate/translate-sv-sl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyTranslate/translate-sv-sl with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="WindyTranslate/translate-sv-sl")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("WindyTranslate/translate-sv-sl") model = AutoModelForSeq2SeqLM.from_pretrained("WindyTranslate/translate-sv-sl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Promote herm0 build from WindstormLabs/translate-sv-sl, with attribution and change statement
a462f6a verified - Xet hash:
- 0ff565281e59ec5bc8f30e03895d3c3b6f53422f984e59d0e718980d4d1f7080
- Size of remote file:
- 816 kB
- SHA256:
- bbc6d79e3d819eea56522ea864f8af394571932c79cf8bb13bc1b4fe4da420e3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.