Instructions to use Roy029/mPyT5-epoch5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Roy029/mPyT5-epoch5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Roy029/mPyT5-epoch5") model = AutoModelForSeq2SeqLM.from_pretrained("Roy029/mPyT5-epoch5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Roy029/mPyT5-epoch5: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/Roy029/mPyT5-epoch5/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Roy029/mPyT5-epoch5/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Roy029/mPyT5-epoch5/resolve/main/tokenizer_config.json
286 Bytes
| {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "extra_ids": 0, "additional_special_tokens": null, "name_or_path": "kkuramitsu/mt5-pytoken", "sp_model_kwargs": {}, "special_tokens_map_file": "special_tokens_map.json", "is_fast": true, "tokenizer_class": "T5Tokenizer"} |