Instructions to use hubnemo/mtp-train-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hubnemo/mtp-train-test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hubnemo/mtp-train-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hubnemo/mtp-train-test: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/hubnemo/mtp-train-test/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://hubnemo/mtp-train-test/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hubnemo/mtp-train-test/resolve/main/tokenizer_config.json
492 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin_of_text|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|end_of_text|>", | |
| "extra_special_tokens": [ | |
| "<mask_1>", | |
| "<mask_2>", | |
| "<mask_3>", | |
| "<mask_4>", | |
| "<mask_5>", | |
| "<mask_6>" | |
| ], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_token": "<|end_of_text|>", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |