Instructions to use IKMLab/MPTR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IKMLab/MPTR with Transformers:
# Load model directly from transformers import AutoTokenizer, BertForPromptFinetuning tokenizer = AutoTokenizer.from_pretrained("IKMLab/MPTR") model = BertForPromptFinetuning.from_pretrained("IKMLab/MPTR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from IKMLab/MPTR: direct link, hf CLI and curl.
- Browser
- Download file 679 kB
-
https://huggingface.co/IKMLab/MPTR/resolve/main/tokenizer.json
- Command line
-
hf download hf://IKMLab/MPTR/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/IKMLab/MPTR/resolve/main/tokenizer.json
679 kB
File too large to display, you can check the raw version instead.