Instructions to use Xuanda/test-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xuanda/test-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Xuanda/test-model") model = AutoModel.from_pretrained("Xuanda/test-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 402 Bytes
4c24853 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"additional_special_tokens": [
"<image>",
"</c>",
"<PERSON>"
],
"bos_token": "<s>",
"eos_token": {
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<pad>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"unk_token": "<unk>"
}
|