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
|
@@ -22,8 +22,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 22 |
|
| 23 |
# mistral-7b-text-to-sql
|
| 24 |
|
| 25 |
-
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.
|
| 26 |
-
These are the adapter weights, and the code to use these for generation is given below.
|
|
|
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
|
|
| 22 |
|
| 23 |
# mistral-7b-text-to-sql
|
| 24 |
|
| 25 |
+
- 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.
|
| 26 |
+
- These are the adapter weights, and the code to use these for generation is given below.
|
| 27 |
+
- A full model will be uploaded at a later date.
|
| 28 |
|
| 29 |
## Model description
|
| 30 |
|