Instructions to use WindyTranslate/translate-af-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyTranslate/translate-af-fr 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-fr")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WindyTranslate/translate-af-fr", 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
- .gitattributes +1 -0
- lora-ct2-int8/target.spm +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
lora/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 37 |
lora/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
lora-ct2-int8/source.spm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 36 |
lora/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 37 |
lora/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
lora-ct2-int8/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
lora-ct2-int8/target.spm filter=lfs diff=lfs merge=lfs -text
|
lora-ct2-int8/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1da55caeeeecae4a83bdd9e8afab05cbf1946d1e1aff0e8ddf3c01773e6ba7d5
|
| 3 |
+
size 839064
|