Instructions to use delayedkarma/mistral-7b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use delayedkarma/mistral-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "delayedkarma/mistral-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,6 +26,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 26 |
- This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the b-mc2/sql-create-context dataset.
|
| 27 |
- These are the adapter weights, and the code to use these for generation is given below.
|
| 28 |
- A full model will be uploaded at a later date.
|
|
|
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 26 |
- This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the b-mc2/sql-create-context dataset.
|
| 27 |
- These are the adapter weights, and the code to use these for generation is given below.
|
| 28 |
- A full model will be uploaded at a later date.
|
| 29 |
+
- Primary reference: https://www.philschmid.de/fine-tune-llms-in-2024-with-trl
|
| 30 |
|
| 31 |
## Model description
|
| 32 |
|