defog-orpo-model-v5-1epoch
Browse files- README.md +19 -19
- adapter_config.json +4 -4
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -14,23 +14,23 @@ 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 |
-
[<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/sert121/huggingface/runs/
|
| 18 |
# results
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [defog/llama-3-sqlcoder-8b](https://huggingface.co/defog/llama-3-sqlcoder-8b) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.
|
| 23 |
-
- Rewards/chosen: -0.
|
| 24 |
-
- Rewards/rejected: -0.
|
| 25 |
-
- Rewards/accuracies: 0.
|
| 26 |
-
- Rewards/margins: 0.
|
| 27 |
-
- Logps/rejected: -0.
|
| 28 |
-
- Logps/chosen: -0.
|
| 29 |
-
- Logits/rejected: 0.
|
| 30 |
-
- Logits/chosen: 0.
|
| 31 |
-
- Nll Loss: 0.
|
| 32 |
-
- Log Odds Ratio: -0.
|
| 33 |
-
- Log Odds Chosen:
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
@@ -58,17 +58,17 @@ The following hyperparameters were used during training:
|
|
| 58 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 59 |
- lr_scheduler_type: linear
|
| 60 |
- lr_scheduler_warmup_steps: 10
|
| 61 |
-
- num_epochs:
|
| 62 |
|
| 63 |
### Training results
|
| 64 |
|
| 65 |
| 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 |
|
| 66 |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
|
| 67 |
-
| 0.
|
| 68 |
-
| 0.
|
| 69 |
-
| 0.
|
| 70 |
-
| 0.
|
| 71 |
-
| 0.
|
| 72 |
|
| 73 |
|
| 74 |
### Framework versions
|
|
|
|
| 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/sert121/huggingface/runs/ubrsk8hu)
|
| 18 |
# results
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [defog/llama-3-sqlcoder-8b](https://huggingface.co/defog/llama-3-sqlcoder-8b) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.2568
|
| 23 |
+
- Rewards/chosen: -0.0126
|
| 24 |
+
- Rewards/rejected: -0.0217
|
| 25 |
+
- Rewards/accuracies: 0.8944
|
| 26 |
+
- Rewards/margins: 0.0091
|
| 27 |
+
- Logps/rejected: -0.2167
|
| 28 |
+
- Logps/chosen: -0.1258
|
| 29 |
+
- Logits/rejected: 0.1307
|
| 30 |
+
- Logits/chosen: 0.1283
|
| 31 |
+
- Nll Loss: 0.2132
|
| 32 |
+
- Log Odds Ratio: -0.4354
|
| 33 |
+
- Log Odds Chosen: 0.6768
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
|
|
| 58 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 59 |
- lr_scheduler_type: linear
|
| 60 |
- lr_scheduler_warmup_steps: 10
|
| 61 |
+
- num_epochs: 1
|
| 62 |
|
| 63 |
### Training results
|
| 64 |
|
| 65 |
| 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 |
|
| 66 |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
|
| 67 |
+
| 0.9481 | 0.2 | 72 | 0.9541 | -0.0776 | -0.0797 | 0.7143 | 0.0021 | -0.7975 | -0.7765 | -0.3031 | -0.3167 | 0.8875 | -0.6703 | 0.0480 |
|
| 68 |
+
| 0.7313 | 0.4 | 144 | 0.7089 | -0.0551 | -0.0596 | 0.8292 | 0.0045 | -0.5962 | -0.5513 | -0.1005 | -0.1135 | 0.6459 | -0.6312 | 0.1330 |
|
| 69 |
+
| 0.547 | 0.6 | 216 | 0.4407 | -0.0292 | -0.0367 | 0.8882 | 0.0075 | -0.3670 | -0.2924 | -0.0064 | -0.0109 | 0.3866 | -0.5408 | 0.3609 |
|
| 70 |
+
| 0.2547 | 0.8 | 288 | 0.3018 | -0.0164 | -0.0250 | 0.8882 | 0.0085 | -0.2498 | -0.1644 | 0.0633 | 0.0592 | 0.2551 | -0.4664 | 0.5805 |
|
| 71 |
+
| 0.3407 | 1.0 | 360 | 0.2568 | -0.0126 | -0.0217 | 0.8944 | 0.0091 | -0.2167 | -0.1258 | 0.1307 | 0.1283 | 0.2132 | -0.4354 | 0.6768 |
|
| 72 |
|
| 73 |
|
| 74 |
### Framework versions
|
adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"
|
| 24 |
"q_proj",
|
|
|
|
| 25 |
"v_proj",
|
| 26 |
-
"k_proj",
|
| 27 |
-
"up_proj",
|
| 28 |
"gate_proj",
|
| 29 |
-
"o_proj"
|
|
|
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
+
"k_proj",
|
| 24 |
"q_proj",
|
| 25 |
+
"down_proj",
|
| 26 |
"v_proj",
|
|
|
|
|
|
|
| 27 |
"gate_proj",
|
| 28 |
+
"o_proj",
|
| 29 |
+
"up_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4370592096
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bf2d06acf02dac3fec00d31e0d2324d28dc5dec563a8feaf13a1699db84d9cb
|
| 3 |
size 4370592096
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5432
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf5df8b0118c094a6e475d4cc0489b80b06a79e6167bd5cb3cac1d509d7f970e
|
| 3 |
size 5432
|