Model save
Browse files- README.md +6 -6
- last_checkpoint/config.json +1 -1
- last_checkpoint/model-00001-of-00009.safetensors +1 -1
- last_checkpoint/model-00002-of-00009.safetensors +1 -1
- last_checkpoint/model-00003-of-00009.safetensors +1 -1
- last_checkpoint/model-00004-of-00009.safetensors +1 -1
- last_checkpoint/model-00005-of-00009.safetensors +1 -1
- last_checkpoint/model-00006-of-00009.safetensors +1 -1
- last_checkpoint/model-00007-of-00009.safetensors +1 -1
- last_checkpoint/model-00008-of-00009.safetensors +1 -1
- last_checkpoint/model-00009-of-00009.safetensors +1 -1
- last_checkpoint/training_args.bin +2 -2
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
library_name: transformers
|
4 |
-
model_name: self-correct_mistral-small-
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
- trl
|
@@ -9,9 +9,9 @@ tags:
|
|
9 |
licence: license
|
10 |
---
|
11 |
|
12 |
-
# Model Card for self-correct_mistral-small-
|
13 |
|
14 |
-
This model is a fine-tuned version of [
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
## Quick start
|
@@ -20,14 +20,14 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
|
|
20 |
from transformers import pipeline
|
21 |
|
22 |
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
23 |
-
generator = pipeline("text-generation", model="RyanYr/self-correct_mistral-small-
|
24 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
print(output["generated_text"])
|
26 |
```
|
27 |
|
28 |
## Training procedure
|
29 |
|
30 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/yyr/huggingface/runs/
|
31 |
|
32 |
This model was trained with DPO, a method introduced in [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://huggingface.co/papers/2305.18290).
|
33 |
|
|
|
1 |
---
|
2 |
+
base_model: RyanYr/self-correct_mistral-small-it_mMQA_dpo_iter4
|
3 |
library_name: transformers
|
4 |
+
model_name: self-correct_mistral-small-it_mMQA_dpo_iter5
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
- trl
|
|
|
9 |
licence: license
|
10 |
---
|
11 |
|
12 |
+
# Model Card for self-correct_mistral-small-it_mMQA_dpo_iter5
|
13 |
|
14 |
+
This model is a fine-tuned version of [RyanYr/self-correct_mistral-small-it_mMQA_dpo_iter4](https://huggingface.co/RyanYr/self-correct_mistral-small-it_mMQA_dpo_iter4).
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
## Quick start
|
|
|
20 |
from transformers import pipeline
|
21 |
|
22 |
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
23 |
+
generator = pipeline("text-generation", model="RyanYr/self-correct_mistral-small-it_mMQA_dpo_iter5", device="cuda")
|
24 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
print(output["generated_text"])
|
26 |
```
|
27 |
|
28 |
## Training procedure
|
29 |
|
30 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/yyr/huggingface/runs/astknhdc)
|
31 |
|
32 |
This model was trained with DPO, a method introduced in [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://huggingface.co/papers/2305.18290).
|
33 |
|
last_checkpoint/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"MistralForCausalLM"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "RyanYr/self-correct_mistral-small-it_mMQA_dpo_iter4",
|
3 |
"architectures": [
|
4 |
"MistralForCausalLM"
|
5 |
],
|
last_checkpoint/model-00001-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4882311064
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c31c3a2768071f581cbccf37efd97d59877b893d382af83dd4afbcfb3082e75
|
3 |
size 4882311064
|
last_checkpoint/model-00002-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4983012160
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ddf52c556e06c7abcda48ec13ba7d3631b96d2761dd4caa738c8434f011e1d3
|
3 |
size 4983012160
|
last_checkpoint/model-00003-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4957821336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:067503063301fca44db66c50eaba52dbaddd2783253cc90b0ae545bcbc82e70f
|
3 |
size 4957821336
|
last_checkpoint/model-00004-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4882323744
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63c4f9420a7f2db173904609a44f76e23a7c35c8acb3cf04b7920d5efddee95a
|
3 |
size 4882323744
|
last_checkpoint/model-00005-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4983012192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df900aa99d6bf6d9caf2586eae913724a07fb1a7b85053b5623999ec5bed993d
|
3 |
size 4983012192
|
last_checkpoint/model-00006-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4957821336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c854eaf16dde965b51aec8159b371c3053118676119949c4011b2bc57909284c
|
3 |
size 4957821336
|
last_checkpoint/model-00007-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4882323744
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5158cfe71311e7cd5ad2cafb83a72a028c64968b44bab80c9e6d892777c2a74c
|
3 |
size 4882323744
|
last_checkpoint/model-00008-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4983012192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07a2b05940d3a5fceb43ceaae485cb1254fcc7d00fb4e362d03eb334dc6fba77
|
3 |
size 4983012192
|
last_checkpoint/model-00009-of-00009.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4983011344
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:973b313ed3c3401afaddb2c9dd87ac4634227ea3b6d3858bd026ceb5a13041b2
|
3 |
size 4983011344
|
last_checkpoint/training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81c3725711de0f6dd0d0e3c8789e334fa06110e34ea549423cccf59da4534392
|
3 |
+
size 7992
|