File size: 2,795 Bytes
0d7fe0f 8d7e100 5ac1e2b 0d7fe0f 5ac1e2b 0d7fe0f 5ac1e2b 0d7fe0f 5ac1e2b 0d7fe0f 5ac1e2b 0d7fe0f 8d7e100 0d7fe0f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
---
license: apache-2.0
library_name: peft
tags:
- generated_from_trainer
base_model: mnoukhov/pythia410m-sft-tldr
model-index:
- name: pythia410m-dpo2-tldr
results: []
---
<!-- 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. -->
# pythia410m-dpo2-tldr
This model is a fine-tuned version of [mnoukhov/pythia410m-sft-tldr](https://huggingface.co/mnoukhov/pythia410m-sft-tldr) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.6553
- Rewards/chosen: -0.0115
- Rewards/rejected: -0.0984
- Rewards/accuracies: 0.6726
- Rewards/margins: 0.0869
- Logps/rejected: -65.8898
- Logps/chosen: -65.8898
- Logps/ref Rejected: -59.5615
- Logps/ref Chosen: -65.6594
## 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: 1e-05
- train_batch_size: 4
- eval_batch_size: 8
- seed: 42
- distributed_type: multi-GPU
- num_devices: 4
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- total_eval_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 1.0
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logps/ref Rejected | Logps/ref Chosen |
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:------------------:|:----------------:|
| No log | 0.2016 | 63 | 0.6719 | 0.0165 | -0.0292 | 0.6739 | 0.0457 | -65.3302 | -65.3302 | -59.5615 | -65.6594 |
| 0.6865 | 0.4032 | 126 | 0.6614 | 0.0030 | -0.0680 | 0.6752 | 0.0710 | -65.5994 | -65.5994 | -59.5615 | -65.6594 |
| 0.6865 | 0.6048 | 189 | 0.6571 | -0.0046 | -0.0866 | 0.6744 | 0.0820 | -65.7515 | -65.7515 | -59.5615 | -65.6594 |
| 0.6771 | 0.8064 | 252 | 0.6553 | -0.0115 | -0.0984 | 0.6726 | 0.0869 | -65.8898 | -65.8898 | -59.5615 | -65.6594 |
### Framework versions
- PEFT 0.10.0
- Transformers 4.40.2
- Pytorch 2.2.1+cu121
- Datasets 2.19.1
- Tokenizers 0.19.1 |