Instructions to use alphaedge-ai/mt5-base-dan-32768 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alphaedge-ai/mt5-base-dan-32768 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="alphaedge-ai/mt5-base-dan-32768")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("alphaedge-ai/mt5-base-dan-32768") model = AutoModelForSeq2SeqLM.from_pretrained("alphaedge-ai/mt5-base-dan-32768", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from alphaedge-ai/mt5-base-dan-32768: direct link, hf CLI and curl.
- Browser
- Download file 96 Bytes
-
https://huggingface.co/alphaedge-ai/mt5-base-dan-32768/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://alphaedge-ai/mt5-base-dan-32768/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/alphaedge-ai/mt5-base-dan-32768/resolve/main/tokenizer_config.json
96 Bytes
| { | |
| "eos_token": "</s>", | |
| "unk_token": "<unk>", | |
| "pad_token": "<pad>", | |
| "extra_ids": 0 | |
| } |