
<!-- 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. -->

# zephyr-nuclear-8b-dpo-lora

This model is a fine-tuned version of [arcee-ai/zephyr-nuclear-8b-sft-full](https://huggingface.co/arcee-ai/zephyr-nuclear-8b-sft-full) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.6362
- Rewards/chosen: 0.0324
- Rewards/rejected: -0.1352
- Rewards/accuracies: 0.7222
- Rewards/margins: 0.1676
- Logps/rejected: -250.1090
- Logps/chosen: -301.8153
- Logits/rejected: -3.0015
- Logits/chosen: -3.0531

## 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-07
- train_batch_size: 1
- eval_batch_size: 4
- seed: 42
- distributed_type: multi-GPU
- num_devices: 8
- gradient_accumulation_steps: 64
- total_train_batch_size: 512
- total_eval_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 3

### Training results

| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
| 0.6689        | 1.0   | 121  | 0.6662          | 0.0158         | -0.0524          | 0.7143             | 0.0682          | -249.2818      | -301.9818    | -3.0043         | -3.0561       |
| 0.6446        | 2.0   | 242  | 0.6431          | 0.0282         | -0.1147          | 0.7222             | 0.1429          | -249.9039      | -301.8576    | -3.0020         | -3.0537       |
| 0.637         | 3.0   | 363  | 0.6362          | 0.0324         | -0.1352          | 0.7222             | 0.1676          | -250.1090      | -301.8153    | -3.0015         | -3.0531       |


### Framework versions

- Transformers 4.35.0
- Pytorch 2.1.0
- Datasets 2.14.6
- Tokenizers 0.14.1

{"tags": ["generated_from_trainer"], "base_model": "arcee-ai/zephyr-nuclear-8b-sft-full", "model-index": [{"name": "zephyr-nuclear-8b-dpo-lora", "results": []}]}
safetensors generated_from_trainer base_model:arcee-ai/zephyr-nuclear-8b-sft-full region:us