Downloads · 30 days
9
23% of all-time downloads
pratikdoshi/finetune-llama-7b-text-to-sql
finetune-llama-7b-text-to-sql is a machine learning model from pratikdoshi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as llama2.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
9
23% of all-time downloads
All-time downloads
39
Public
Repo size
5.4 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.8 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of codellama/CodeLlama-7b-hf on b-mc2/sql-create-context.
The model is trained on 10,000 random samples from b-mc2/sql-create-context. It is trained in a manner described by Phil Schmid here.
| Hyperparameter | Value |
|---|---|
| learning_rate | 0.0002 |
| train_batch_size | 50 |
| eval_batch_size | 8 |
| seed | 42 |
| gradient_accumulation_steps | 2 |
| total_train_batch_size | 100 |
| optimizer | Adam with betas=(0.9,0.999) and epsilon=1e-08 |
| lr_scheduler_type | constant |
| lr_scheduler_warmup_ratio | 0.03 |
| num_epochs | 3 |
