Instructions to use junchenfu/code-llama-3-1-8b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use junchenfu/code-llama-3-1-8b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "junchenfu/code-llama-3-1-8b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token_id": 128000, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 128001, | |
| 128008, | |
| 128009 | |
| ], | |
| "temperature": 0.6, | |
| "top_p": 0.9, | |
| "transformers_version": "4.44.2" | |
| } | |