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
Commit ·
b40c306
1
Parent(s): ab9f98d
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
---
|
| 4 |
-
##
|
|
|
|
|
|
|
| 5 |
|
| 6 |
### Framework versions
|
| 7 |
-
|
| 8 |
-
|
| 9 |
- PEFT 0.5.0
|
|
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
---
|
| 4 |
+
## Details
|
| 5 |
+
The model is fine-tuned version of NousResearch/Llama-2-7b-hf for SQL Q/A
|
| 6 |
+
The model was trained using PEFT and this dataset --> b-mc2/sql-create-context
|
| 7 |
|
| 8 |
### Framework versions
|
|
|
|
|
|
|
| 9 |
- PEFT 0.5.0
|