Instructions to use Language-Media-Lab/mt5-small-jpn-ain-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Language-Media-Lab/mt5-small-jpn-ain-mt 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="Language-Media-Lab/mt5-small-jpn-ain-mt")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Language-Media-Lab/mt5-small-jpn-ain-mt") model = AutoModelForSeq2SeqLM.from_pretrained("Language-Media-Lab/mt5-small-jpn-ain-mt") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 1aad7f0727cfeccd8e3af4b5fac33405ef0c9db6498da047c3fbd802075f704b
- Size of remote file:
- 3.18 kB
- SHA256:
- ed901cea0ce2668a5c5ae18ae3da0bad6e37bc1c5fcdaf0f7fae213966ca8dc6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.