Downloads · 30 days
16
19% of all-time downloads
virusf/nllb-renpy
nllb-renpy is a translation model from virusf. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
This model is a fine-tuned version of facebook/nllb-200-distilled-600M specifically trained for English-to-French translation in gaming contexts, particularly RenPy visual novels.
Downloads · 30 days
16
19% of all-time downloads
All-time downloads
83
Public
Parameters
615M
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of facebook/nllb-200-distilled-600M specifically trained for English-to-French translation in gaming contexts, particularly RenPy visual novels.
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
# Load model
model = AutoModelForSeq2SeqLM.from_pretrained("virusf/nllb-renpy")
tokenizer = AutoTokenizer.from_pretrained("virusf/nllb-renpy")
# Translate
text = "Hello! Welcome to our game."
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, forced_bos_token_id=tokenizer.convert_tokens_to_ids("fra_Latn"))
result = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(result) # "Bonjour! Bienvenue dans notre jeu."
📊 Training Details
Base Model: facebook/nllb-200-distilled-600M
Training Data: 15,000+ specialized gaming translations
Languages: English → French
Epochs: 2.0
Final Loss: 0.4441
🎯 Use Cases
Perfect for translating:
✅ RenPy/Ren'Py visual novels
✅ Gaming interfaces and menus
✅ Character dialogues and stories
✅ Interactive fiction content
✅ Dating simulation games