
<!-- 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-sft-lora-dpo-lora

This model is a fine-tuned version of [arcee-ai/zephyr-nuclear-8b-sft-lora](https://huggingface.co/arcee-ai/zephyr-nuclear-8b-sft-lora) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.6152
- Rewards/chosen: 0.2283
- Rewards/rejected: 0.0032
- Rewards/accuracies: 0.6825
- Rewards/margins: 0.2251
- Logps/rejected: -261.6035
- Logps/chosen: -328.7776
- Logits/rejected: -2.3378
- Logits/chosen: -2.3964

## 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.6529        | 1.0   | 121  | 0.6499          | 0.1324         | 0.0309           | 0.6706             | 0.1015          | -261.3266      | -329.7364    | -2.3434         | -2.4014       |
| 0.6265        | 2.0   | 242  | 0.6218          | 0.2128         | 0.0154           | 0.6825             | 0.1974          | -261.4811      | -328.9321    | -2.3387         | -2.3968       |
| 0.6159        | 3.0   | 363  | 0.6152          | 0.2283         | 0.0032           | 0.6825             | 0.2251          | -261.6035      | -328.7776    | -2.3378         | -2.3964       |


### 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-lora", "model-index": [{"name": "zephyr-nuclear-8b-sft-lora-dpo-lora", "results": []}]}
safetensors generated_from_trainer base_model:arcee-ai/zephyr-nuclear-8b-sft-lora region:us