Instructions to use AuricErgeson/phi2-text2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AuricErgeson/phi2-text2sql with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AuricErgeson/phi2-text2sql", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from AuricErgeson/phi2-text2sql: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/AuricErgeson/phi2-text2sql/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://AuricErgeson/phi2-text2sql/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/AuricErgeson/phi2-text2sql/resolve/main/special_tokens_map.json
473 Bytes
| { | |
| "bos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<|endoftext|>", | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |