Model save
Browse files
README.md
CHANGED
|
@@ -14,9 +14,24 @@ model-index:
|
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
|
|
|
|
|
|
|
| 17 |
# orpo-phi3
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -36,16 +51,23 @@ More information needed
|
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
- learning_rate: 8e-06
|
| 39 |
-
- train_batch_size:
|
| 40 |
-
- eval_batch_size:
|
| 41 |
- seed: 42
|
| 42 |
- gradient_accumulation_steps: 4
|
| 43 |
-
- total_train_batch_size:
|
| 44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
- lr_scheduler_warmup_steps: 10
|
| 47 |
- num_epochs: 1
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
### Framework versions
|
| 50 |
|
| 51 |
- PEFT 0.11.1
|
|
|
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
|
| 17 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/algo-llm/huggingface/runs/12ettnkn)
|
| 18 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/algo-llm/huggingface/runs/12ettnkn)
|
| 19 |
# orpo-phi3
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 4.1677
|
| 24 |
+
- Rewards/chosen: -0.4133
|
| 25 |
+
- Rewards/rejected: -0.4133
|
| 26 |
+
- Rewards/accuracies: 0.0
|
| 27 |
+
- Rewards/margins: 0.0
|
| 28 |
+
- Logps/rejected: -4.1330
|
| 29 |
+
- Logps/chosen: -4.1330
|
| 30 |
+
- Logits/rejected: 24.1632
|
| 31 |
+
- Logits/chosen: 24.1632
|
| 32 |
+
- Nll Loss: 4.0984
|
| 33 |
+
- Log Odds Ratio: -0.6931
|
| 34 |
+
- Log Odds Chosen: 0.0
|
| 35 |
|
| 36 |
## Model description
|
| 37 |
|
|
|
|
| 51 |
|
| 52 |
The following hyperparameters were used during training:
|
| 53 |
- learning_rate: 8e-06
|
| 54 |
+
- train_batch_size: 4
|
| 55 |
+
- eval_batch_size: 4
|
| 56 |
- seed: 42
|
| 57 |
- gradient_accumulation_steps: 4
|
| 58 |
+
- total_train_batch_size: 16
|
| 59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
- lr_scheduler_warmup_steps: 10
|
| 62 |
- num_epochs: 1
|
| 63 |
|
| 64 |
+
### Training results
|
| 65 |
+
|
| 66 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Nll Loss | Log Odds Ratio | Log Odds Chosen |
|
| 67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
|
| 68 |
+
| 3.1975 | 1.0 | 1 | 4.1677 | -0.4133 | -0.4133 | 0.0 | 0.0 | -4.1330 | -4.1330 | 24.1632 | 24.1632 | 4.0984 | -0.6931 | 0.0 |
|
| 69 |
+
|
| 70 |
+
|
| 71 |
### Framework versions
|
| 72 |
|
| 73 |
- PEFT 0.11.1
|