readme: ---
  license: apache-2.0
  tags:
  - generated_from_trainer
  datasets:
  - gsm8k
  model-index:
  - name: flan-t5-xl-finetuned-gsm8k
    results: []
  
  widget:
  - "Please, answer the following question reasoning step-by-step:  If Manu eats twice a day, how many meals does he take for a week?"
  
  ---
  
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
  should probably proofread and complete it, then remove this comment. -->
  
  # flan-t5-xl-finetuned-gsm8k
  
  This model is a fine-tuned version of [google/flan-t5-xl](https://huggingface.co/google/flan-t5-xl) on the gsm8k dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.2853
  
  ## 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: 5e-05
  - train_batch_size: 1
  - eval_batch_size: 2
  - seed: 42
  - gradient_accumulation_steps: 4
  - total_train_batch_size: 4
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - num_epochs: 4
  
  ### Training results
  
  | Training Loss | Epoch | Step | Validation Loss |
  |:-------------:|:-----:|:----:|:---------------:|
  | 0.2845        | 1.0   | 1868 | 0.2778          |
  | 0.2204        | 2.0   | 3736 | 0.2718          |
  | 0.1803        | 3.0   | 5604 | 0.2762          |
  | 0.1578        | 4.0   | 7472 | 0.2853          |
  
  
  ### Framework versions
  
  - Transformers 4.24.0
  - Pytorch 1.12.1+cu113
  - Datasets 2.6.1
  - Tokenizers 0.13.2
  