Translation
Transformers
PyTorch
Safetensors
marian
text2text-generation
transformer
en-zh
minecraft modpack
finetune
Instructions to use XDawned/minecraft-en-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XDawned/minecraft-en-zh 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="XDawned/minecraft-en-zh")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("XDawned/minecraft-en-zh") model = AutoModelForSeq2SeqLM.from_pretrained("XDawned/minecraft-en-zh") - Notebooks
- Google Colab
- Kaggle
finetune model opus-mt-en-zh
traing datas are from i18n-dict and some modpacks‘ quests collected from the internet
Validation Metrics On Some 1.19.2+ ModPacks
- Loss: 1.6
- SacreBLEU: 30.8
Validation Metrics On Dict
- Loss: 0.9
- SacreBLEU: 51.1
- Downloads last month
- 6