Instructions to use SergeyDanilov/b1systems-7B-Llama-SQL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SergeyDanilov/b1systems-7B-Llama-SQL with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "SergeyDanilov/b1systems-7B-Llama-SQL") - Notebooks
- Google Colab
- Kaggle
| library_name: peft | |
| ## Details | |
| The model is fine-tuned version of NousResearch/Llama-2-7b-hf for SQL Q/A <br> | |
| The model was trained using PEFT and this dataset --> b-mc2/sql-create-context <br> | |
| ### Framework versions | |
| - PEFT 0.5.0 | |