--- library_name: transformers license: gemma base_model: google/gemma-2b tags: - trl - sft - generated_from_trainer datasets: - generator model-index: - name: zephyr-7b-gemma-sft results: [] --- # zephyr-7b-gemma-sft This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the generator dataset. It achieves the following results on the evaluation set: - Loss: 1.3529 ## 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: 2e-05 - train_batch_size: 1 - eval_batch_size: 1 - seed: 42 - distributed_type: multi-GPU - num_devices: 4 - total_train_batch_size: 4 - total_eval_batch_size: 4 - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: cosine - lr_scheduler_warmup_ratio: 0.1 - num_epochs: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 1.265 | 1.0 | 326 | 1.2147 | | 0.8983 | 2.0 | 652 | 1.2119 | | 0.7007 | 3.0 | 978 | 1.3529 | ### Framework versions - Transformers 4.46.0 - Pytorch 2.1.2 - Datasets 3.0.2 - Tokenizers 0.20.1