Translation
Transformers
PyTorch
Ainu (Japan)
Japanese
t5
text2text-generation
text-generation-inference
Instructions to use Language-Media-Lab/byt5-small-ain-jpn-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Language-Media-Lab/byt5-small-ain-jpn-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/byt5-small-ain-jpn-mt")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Language-Media-Lab/byt5-small-ain-jpn-mt") model = AutoModelForSeq2SeqLM.from_pretrained("Language-Media-Lab/byt5-small-ain-jpn-mt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
moved files
Browse files- checkpoint-262976/config.json → config.json +0 -0
- checkpoint-262976/optimizer.pt → optimizer.pt +0 -0
- checkpoint-262976/pytorch_model.bin → pytorch_model.bin +0 -0
- checkpoint-262976/rng_state.pth → rng_state.pth +0 -0
- checkpoint-262976/scheduler.pt → scheduler.pt +0 -0
- checkpoint-262976/special_tokens_map.json → special_tokens_map.json +0 -0
- checkpoint-262976/tokenizer_config.json → tokenizer_config.json +0 -0
- checkpoint-262976/trainer_state.json → trainer_state.json +0 -0
- checkpoint-262976/training_args.bin → training_args.bin +0 -0
checkpoint-262976/config.json → config.json
RENAMED
|
File without changes
|
checkpoint-262976/optimizer.pt → optimizer.pt
RENAMED
|
File without changes
|
checkpoint-262976/pytorch_model.bin → pytorch_model.bin
RENAMED
|
File without changes
|
checkpoint-262976/rng_state.pth → rng_state.pth
RENAMED
|
File without changes
|
checkpoint-262976/scheduler.pt → scheduler.pt
RENAMED
|
File without changes
|
checkpoint-262976/special_tokens_map.json → special_tokens_map.json
RENAMED
|
File without changes
|
checkpoint-262976/tokenizer_config.json → tokenizer_config.json
RENAMED
|
File without changes
|
checkpoint-262976/trainer_state.json → trainer_state.json
RENAMED
|
File without changes
|
checkpoint-262976/training_args.bin → training_args.bin
RENAMED
|
File without changes
|