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