Model save
Browse files- README.md +6 -6
- last_checkpoint/config.json +1 -1
- last_checkpoint/model-00001-of-00004.safetensors +1 -1
- last_checkpoint/model-00002-of-00004.safetensors +1 -1
- last_checkpoint/model-00003-of-00004.safetensors +1 -1
- last_checkpoint/model-00004-of-00004.safetensors +1 -1
- last_checkpoint/training_args.bin +1 -1
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
-
base_model: RyanYr/
|
3 |
library_name: transformers
|
4 |
-
model_name:
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
- trl
|
@@ -9,9 +9,9 @@ tags:
|
|
9 |
licence: license
|
10 |
---
|
11 |
|
12 |
-
# Model Card for
|
13 |
|
14 |
-
This model is a fine-tuned version of [RyanYr/
|
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/
|
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/reflect_llm8B_om2-mstlrg-300k460k-t12_llm33-130k-t12_SFTt1-lr1e-6_DPOt1
|
3 |
library_name: transformers
|
4 |
+
model_name: reflect_llm8B_om2-mstlrg300k460kLlm33130k_SftDpo-MgSpsdpT1_b1.0
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
- trl
|
|
|
9 |
licence: license
|
10 |
---
|
11 |
|
12 |
+
# Model Card for reflect_llm8B_om2-mstlrg300k460kLlm33130k_SftDpo-MgSpsdpT1_b1.0
|
13 |
|
14 |
+
This model is a fine-tuned version of [RyanYr/reflect_llm8B_om2-mstlrg-300k460k-t12_llm33-130k-t12_SFTt1-lr1e-6_DPOt1](https://huggingface.co/RyanYr/reflect_llm8B_om2-mstlrg-300k460k-t12_llm33-130k-t12_SFTt1-lr1e-6_DPOt1).
|
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/reflect_llm8B_om2-mstlrg300k460kLlm33130k_SftDpo-MgSpsdpT1_b1.0", 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/acmu4gl7)
|
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": "RyanYr/
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "RyanYr/reflect_llm8B_om2-mstlrg-300k460k-t12_llm33-130k-t12_SFTt1-lr1e-6_DPOt1",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
last_checkpoint/model-00001-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4976706864
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2d5231ba97f344e9b37238f7dfc51a46609e4552c6fa647f7fda55dd5324aa0
|
3 |
size 4976706864
|
last_checkpoint/model-00002-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4999802720
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49e83714a6e773a1f5f1e276dd838e8aa10d9ae487c08f3f15048a01f5fa7173
|
3 |
size 4999802720
|
last_checkpoint/model-00003-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4915916176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e648ccf825051783756971f0391df13dbed89669a8fd71b1e913855e339c97a
|
3 |
size 4915916176
|
last_checkpoint/model-00004-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1168147000
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d04f67b5d77a82ee4b8583efc22acb99484226cbb1347a991ce8e7d7b3bf65d
|
3 |
size 1168147000
|
last_checkpoint/training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 8056
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fddd334b7d69baed1bcad98a9c1727edb48dcf9f181d93c7fd11d1cfc627a7d0
|
3 |
size 8056
|