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", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("XDawned/minecraft-en-zh") model = AutoModelForSeq2SeqLM.from_pretrained("XDawned/minecraft-en-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,17 +3,19 @@ tags:
|
|
| 3 |
- translation
|
| 4 |
license: apache-2.0
|
| 5 |
---
|
| 6 |
-
英译汉模型-针对MC术语进行优化
|
| 7 |
-
微调[opus-mt-en-zh](https://huggingface.co/Helsinki-NLP/opus-mt-en-zh)而来
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
tags:
|
| 12 |
- translation
|
| 13 |
---
|
| 14 |
|
| 15 |
|
| 16 |
-
## Validation Metrics On
|
| 17 |
|
| 18 |
- Loss: 1.6
|
| 19 |
- SacreBLEU: 30.8
|
|
|
|
| 3 |
- translation
|
| 4 |
license: apache-2.0
|
| 5 |
---
|
|
|
|
|
|
|
| 6 |
|
| 7 |
+
finetune model [opus-mt-en-zh](https://huggingface.co/Helsinki-NLP/opus-mt-en-zh)
|
| 8 |
+
|
| 9 |
+
traing datas are from[i18n-dict](https://github.com/CFPATools/i18n-dict)and some modpacks‘ quests collected from the internet
|
| 10 |
+
|
| 11 |
+
|
| 12 |
---
|
| 13 |
tags:
|
| 14 |
- translation
|
| 15 |
---
|
| 16 |
|
| 17 |
|
| 18 |
+
## Validation Metrics On Some 1.19.2+ ModPacks
|
| 19 |
|
| 20 |
- Loss: 1.6
|
| 21 |
- SacreBLEU: 30.8
|