applied very weak PPO
Browse files- README.md +4 -4
- config.json +2 -2
- generation_config.json +2 -1
- pytorch_model-00001-of-00002.bin +0 -3
- pytorch_model-00002-of-00002.bin โ pytorch_model.bin +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -25,8 +25,8 @@ __ๆฌใขใใซใฏ้็บไธญใฎใใใใใผใฟใปใใใฎๆดๆฐใซใใ้ๆฌก
|
|
25 |
|
26 |
ใฆใผใถใผใฎๅ
ฅๅใ"`็ธๆใฏ่จใใพใใใใ๏ผๅ
ๅฎน๏ผใ\n`"ใงๆฌใฃใฆใใ ใใใ
|
27 |
ใขใใซใฏ"`ใใชใใฏ่จใใพใใใใ`"ไปฅ้ใฎๆ่ใ็ๆใใพใใ
|
28 |
-
ใใไปฅ้ใ็ถใๅ ดๅใใใใฎใงๅฟ
่ฆใซๅฟใใฆ"`ใ`"ใฎๆๅญใพใงใงๆใกๅใฃใฆใใ ใใใ
|
29 |
-
|
30 |
```python
|
31 |
import torch
|
32 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
@@ -53,6 +53,6 @@ print(output)
|
|
53 |
```
|
54 |
|
55 |
## Plan
|
56 |
-
- RLHF
|
57 |
- ใใญใณใใใฎ่จ่ฟฐๆนๆณใใๆขๅญใฎใใฃใใใขใใซใฎใใฉใผใใใใซๅใใใใๆค่จไธญใ
|
58 |
-
- ๆ็คบใใใพใๅใไปใใชใใป็ฉใ็ฅใใชใๆนใๅฅฝใฟใฎใใใ
|
|
|
25 |
|
26 |
ใฆใผใถใผใฎๅ
ฅๅใ"`็ธๆใฏ่จใใพใใใใ๏ผๅ
ๅฎน๏ผใ\n`"ใงๆฌใฃใฆใใ ใใใ
|
27 |
ใขใใซใฏ"`ใใชใใฏ่จใใพใใใใ`"ไปฅ้ใฎๆ่ใ็ๆใใพใใ
|
28 |
+
ใใไปฅ้ใ็ถใๅ ดๅใใใใฎใงๅฟ
่ฆใซๅฟใใฆ"`ใ`"ใฎๆๅญใพใงใงๆใกๅใฃใฆใใ ใใใ
|
29 |
+
้ทๆใๆใคใจๅฃ่ชฟใๅฅใใใใฎใงใๆณจๆใใ ใใใ
|
30 |
```python
|
31 |
import torch
|
32 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
53 |
```
|
54 |
|
55 |
## Plan
|
56 |
+
- RLHFใจใใซๆๆฆใใฆใฟใใโ23/05/30ใใๅฐใใใใผใฟใปใใใง่ฉฆ่ก
|
57 |
- ใใญใณใใใฎ่จ่ฟฐๆนๆณใใๆขๅญใฎใใฃใใใขใใซใฎใใฉใผใใใใซๅใใใใๆค่จไธญใ
|
58 |
+
- ๆ็คบใใใพใๅใไปใใชใใป็ฉใ็ฅใใชใๆนใๅฅฝใฟใฎใใใinstructionใขใใซใธๅใๆฟใใไบๅฎใฏใใใพใใใ
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"GPTNeoXForCausalLM"
|
5 |
],
|
@@ -18,7 +18,7 @@
|
|
18 |
"rotary_emb_base": 10000,
|
19 |
"rotary_pct": 1.0,
|
20 |
"tie_word_embeddings": false,
|
21 |
-
"torch_dtype": "
|
22 |
"transformers_version": "4.29.2",
|
23 |
"use_cache": false,
|
24 |
"use_parallel_residual": false,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./model",
|
3 |
"architectures": [
|
4 |
"GPTNeoXForCausalLM"
|
5 |
],
|
|
|
18 |
"rotary_emb_base": 10000,
|
19 |
"rotary_pct": 1.0,
|
20 |
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "bfloat16",
|
22 |
"transformers_version": "4.29.2",
|
23 |
"use_cache": false,
|
24 |
"use_parallel_residual": false,
|
generation_config.json
CHANGED
@@ -2,5 +2,6 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 2,
|
4 |
"eos_token_id": 3,
|
5 |
-
"transformers_version": "4.29.2"
|
|
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 2,
|
4 |
"eos_token_id": 3,
|
5 |
+
"transformers_version": "4.29.2",
|
6 |
+
"use_cache": false
|
7 |
}
|
pytorch_model-00001-of-00002.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5e772cd62824a354b83ef5b9adaaf15c5318eb295a1a492f26fa71e3131dc629
|
3 |
-
size 10084370522
|
|
|
|
|
|
|
|
pytorch_model-00002-of-00002.bin โ pytorch_model.bin
RENAMED
@@ -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:c671e9bffda9561d587ebea6c7db1e525f448c878f7161dc6afe4e5fa38a8f0e
|
3 |
+
size 7365693557
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3899
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31f3c7a9f38deef824e2176f0bf4bf4c7366b8d80dc4ab54a0226cbdc004f351
|
3 |
size 3899
|