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
File size: 492 Bytes
6f4767f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"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"
}
|