Instructions to use tharun66/Mistral-7B-Text2SQL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tharun66/Mistral-7B-Text2SQL with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3") model = PeftModel.from_pretrained(base_model, "tharun66/Mistral-7B-Text2SQL") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files44 unmodified lines4546474849505152535455565758596061626364656644 unmodified linesAnnotations: Each example includes natural language input along with the expected SQL output, facilitating supervised learning.## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 0.0002- train_batch_size: 3- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 8- total_train_batch_size: 24- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: constant- lr_scheduler_warmup_ratio: 0.03- lr_scheduler_warmup_steps: 15- num_epochs: 3### Training results44 unmodified lines45464748495044 unmodified linesAnnotations: Each example includes natural language input along with the expected SQL output, facilitating supervised learning.### Training results
README.md-16