Instructions to use CadenzaBaron/M2M100-418M-for-GameTranslation-Finetuned-Zh-En with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CadenzaBaron/M2M100-418M-for-GameTranslation-Finetuned-Zh-En 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="CadenzaBaron/M2M100-418M-for-GameTranslation-Finetuned-Zh-En")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("CadenzaBaron/M2M100-418M-for-GameTranslation-Finetuned-Zh-En") model = AutoModelForMultimodalLM.from_pretrained("CadenzaBaron/M2M100-418M-for-GameTranslation-Finetuned-Zh-En") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md fbd118f
Update README.md ded9b9b
Update README.md ed5f209
Update README.md a4f0c54
Update tokenizer_config.json 2690bc7
Update tokenizer_config.json a04fe06
Update config.json 925553c
Update config.json d69065b
Update generation_config.json 6bcb888
Update README.md 71a5e5c
Update generation_config.json b032140
Update README.md 355c6cf
Update README.md 48effef
Update README.md 73ee34c
Update README.md 94a7bdf
Update generation_config.json 6c83c59
Update README.md 2ffe138
Update README.md 66b6987
Update README.md 1673378
Nightmare commited on
Create README.md 228263d
Nightmare commited on
Upload 8 files eaec037
Nightmare commited on