--- license: apache-2.0 base_model: HuggingFaceM4/idefics2-8b tags: - generated_from_trainer model-index: - name: gm-qlora-float16-idefics2-8b-xrayvqa-finetuned results: [] --- # gm-qlora-float16-idefics2-8b-xrayvqa-finetuned This model is a fine-tuned version of [HuggingFaceM4/idefics2-8b](https://huggingface.co/HuggingFaceM4/idefics2-8b) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 1.0386 ## 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.0001 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 10 - total_train_batch_size: 80 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 10 - num_epochs: 4 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:------:|:----:|:---------------:| | 3.8862 | 0.4444 | 10 | 1.1280 | | 0.8261 | 0.8889 | 20 | 0.8034 | | 0.6098 | 1.3333 | 30 | 0.8407 | | 0.5778 | 1.7778 | 40 | 0.7942 | | 0.5059 | 2.2222 | 50 | 0.8734 | | 0.4059 | 2.6667 | 60 | 0.8864 | | 0.3868 | 3.1111 | 70 | 0.8949 | | 0.3025 | 3.5556 | 80 | 1.0386 | ### Framework versions - Transformers 4.41.0.dev0 - Pytorch 1.13.1+cu117 - Datasets 2.19.0 - Tokenizers 0.19.1