Instructions to use cyy0/JaptoEnBetterMTL-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cyy0/JaptoEnBetterMTL-2 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="cyy0/JaptoEnBetterMTL-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cyy0/JaptoEnBetterMTL-2") model = AutoModelForSeq2SeqLM.from_pretrained("cyy0/JaptoEnBetterMTL-2") - Notebooks
- Google Colab
- Kaggle
About BetterMTL
- Trained using Helsinki-NLP/opus-mt-ja-en
- Fine-tuned with OpenMantra Dataset (Lightly modified)
- Japanese to English one-way translation
Info
- Problem Type - Translation
- Model ID: 3620696849
- Max Context Length: 512
- CO2 Emissions (in grams): 0.0157
Validation Metrics
- Loss: 2.309
- SacreBLEU: 9.750
- Gen len: 10.522
- Downloads last month
- 29