Instructions to use WindyWord/translate-lv-ru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyWord/translate-lv-ru 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="WindyWord/translate-lv-ru")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WindyWord/translate-lv-ru", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download herm0-ct2-int8/config.json from WindyWord/translate-lv-ru: direct link, hf CLI and curl.
- Browser
- Download file 223 Bytes
-
https://huggingface.co/WindyWord/translate-lv-ru/resolve/main/herm0-ct2-int8/config.json
- Command line
-
hf download hf://WindyWord/translate-lv-ru/herm0-ct2-int8/config.json
-
curl -L -o config.json https://huggingface.co/WindyWord/translate-lv-ru/resolve/main/herm0-ct2-int8/config.json
223 Bytes
| { | |
| "add_source_bos": false, | |
| "add_source_eos": false, | |
| "bos_token": "<s>", | |
| "decoder_start_token": "</s>", | |
| "eos_token": "</s>", | |
| "layer_norm_epsilon": null, | |
| "multi_query_attention": false, | |
| "unk_token": "<unk>" | |
| } | |