Instructions to use jieshenai/uie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jieshenai/uie with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jieshenai/uie") model = AutoModelForSeq2SeqLM.from_pretrained("jieshenai/uie", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from jieshenai/uie: direct link, hf CLI and curl.
- Browser
- Download file 139 Bytes
-
https://huggingface.co/jieshenai/uie/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://jieshenai/uie/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/jieshenai/uie/resolve/main/special_tokens_map.json
139 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<spot>", | |
| "<asoc>" | |
| ], | |
| "eos_token": "</s>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |