Instructions to use rat45/sql-lora-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rat45/sql-lora-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "rat45/sql-lora-model") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from rat45/sql-lora-model: direct link, hf CLI and curl.
- Browser
- Download file 124 Bytes
-
https://huggingface.co/rat45/sql-lora-model/resolve/main/generation_config.json
- Command line
-
hf download hf://rat45/sql-lora-model/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/rat45/sql-lora-model/resolve/main/generation_config.json
124 Bytes
| { | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "max_length": 2048, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.51.2" | |
| } | |