Instructions to use PurpleAILAB/sql-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PurpleAILAB/sql-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("cognitivecomputations/dolphin-2.9.4-llama3.1-8b") model = PeftModel.from_pretrained(base_model, "PurpleAILAB/sql-model") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from PurpleAILAB/sql-model: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/PurpleAILAB/sql-model/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://PurpleAILAB/sql-model/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/PurpleAILAB/sql-model/resolve/main/special_tokens_map.json
454 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|finetune_right_pad_id|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |