--- license: other library_name: peft tags: - trl - sft - generated_from_trainer base_model: google/gemma-2b-it datasets: - generator model-index: - name: ehrsql-2024-sft-text2sql-gemma-2b-it results: [] --- # ehrsql-2024-sft-text2sql-gemma-2b-it This model is a fine-tuned version of [google/gemma-2b-it](https://huggingface.co/google/gemma-2b-it) on the generator dataset. It achieves the following results on the evaluation set: - Loss: 0.0834 ## 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: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 0.1012 | 1.0 | 608 | 0.1077 | | 0.0871 | 2.0 | 1216 | 0.0882 | | 0.0764 | 3.0 | 1824 | 0.0834 | ### Framework versions - PEFT 0.9.0 - Transformers 4.38.2 - Pytorch 2.2.1+cu121 - Datasets 2.18.0 - Tokenizers 0.15.2