Instructions to use ArunMoonpai/CodeLlama-SQL-13b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ArunMoonpai/CodeLlama-SQL-13b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-13b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "ArunMoonpai/CodeLlama-SQL-13b") - Notebooks
- Google Colab
- Kaggle
Abinesh Sivakumar commited on
Commit ·
6156e27
1
Parent(s): 5440438
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +6 -0
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"transformers_version": "4.33.1"
|
| 6 |
+
}
|