Instructions to use DKYoon/mt5-base-lm-adapt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DKYoon/mt5-base-lm-adapt with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DKYoon/mt5-base-lm-adapt") model = AutoModelForSeq2SeqLM.from_pretrained("DKYoon/mt5-base-lm-adapt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from DKYoon/mt5-base-lm-adapt: direct link, hf CLI and curl.
- Browser
- Download file 99 Bytes
-
https://huggingface.co/DKYoon/mt5-base-lm-adapt/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://DKYoon/mt5-base-lm-adapt/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/DKYoon/mt5-base-lm-adapt/resolve/main/special_tokens_map.json
99 Bytes
| {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "additional_special_tokens": []} | |