Instructions to use WindyTranslate/translate-af-fi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyTranslate/translate-af-fi 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-af-fi")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WindyTranslate/translate-af-fi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add tokenizer files to the lora-ct2-int8 folder so it is usable standalone
Browse filesThe folder shipped config.json + model.bin + shared_vocabulary.json only. CTranslate2 loads those, but translating needs the Marian tokenizer, which lived one folder away in lora/ - so a developer downloading just this variant got a model they could not run. Files copied from lora/ in this same repo and verified by an end-to-end translation before upload. Weights untouched. Dr. J (Opus 5), clinic log doctor-logs/2026-08-05_stt-fleet-qa.md
lora-ct2-int8/tokenizer_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "</s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<unk>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"60656": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"clean_up_tokenization_spaces": false,
|
| 29 |
+
"eos_token": "</s>",
|
| 30 |
+
"model_max_length": 512,
|
| 31 |
+
"pad_token": "<pad>",
|
| 32 |
+
"separate_vocabs": false,
|
| 33 |
+
"source_lang": "af",
|
| 34 |
+
"sp_model_kwargs": {},
|
| 35 |
+
"target_lang": "fi",
|
| 36 |
+
"tokenizer_class": "MarianTokenizer",
|
| 37 |
+
"unk_token": "<unk>"
|
| 38 |
+
}
|