metadata
license: llama2
library_name: peft
tags:
- trl
- sft
- generated_from_trainer
base_model: meta-llama/Llama-2-7b-hf
datasets:
- generator
model-index:
- name: ehrsql-2024-sft-text2sql-Llama-2-7b-hf
results: []
ehrsql-2024-sft-text2sql-Llama-2-7b-hf
This model is a fine-tuned version of meta-llama/Llama-2-7b-hf on the generator dataset. It achieves the following results on the evaluation set:
- Loss: 0.0805
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.001
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss |
---|---|---|---|
0.0765 | 1.0 | 816 | 0.0907 |
0.0659 | 2.0 | 1632 | 0.0805 |
0.0552 | 3.0 | 2448 | 0.0779 |
0.0476 | 4.0 | 3264 | 0.0793 |
0.0457 | 5.0 | 4080 | 0.0805 |
Framework versions
- PEFT 0.9.0
- Transformers 4.38.2
- Pytorch 2.2.1
- Datasets 2.19.0
- Tokenizers 0.15.2