Upload folder using huggingface_hub
Browse files- README.md +18 -1
- adapter_config.json +19 -0
- adapter_model.bin +3 -0
- added_tokens.json +45 -0
- merges.txt +0 -0
- special_tokens_map.json +49 -0
- tokenizer_config.json +39 -0
- vocab.json +0 -0
README.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1 |
---
|
2 |
-
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
library_name: peft
|
3 |
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
|
7 |
+
The following `bitsandbytes` quantization config was used during training:
|
8 |
+
- load_in_8bit: False
|
9 |
+
- load_in_4bit: True
|
10 |
+
- llm_int8_threshold: 6.0
|
11 |
+
- llm_int8_skip_modules: None
|
12 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
13 |
+
- llm_int8_has_fp16_weight: False
|
14 |
+
- bnb_4bit_quant_type: nf4
|
15 |
+
- bnb_4bit_use_double_quant: True
|
16 |
+
- bnb_4bit_compute_dtype: bfloat16
|
17 |
+
### Framework versions
|
18 |
+
|
19 |
+
|
20 |
+
- PEFT 0.4.0.dev0
|
adapter_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "/home/jovyan/work/LLMs_models/MOSS/moss-moon-003-sft",
|
3 |
+
"bias": "none",
|
4 |
+
"fan_in_fan_out": false,
|
5 |
+
"inference_mode": true,
|
6 |
+
"init_lora_weights": true,
|
7 |
+
"layers_pattern": null,
|
8 |
+
"layers_to_transform": null,
|
9 |
+
"lora_alpha": 16,
|
10 |
+
"lora_dropout": 0.05,
|
11 |
+
"modules_to_save": null,
|
12 |
+
"peft_type": "LORA",
|
13 |
+
"r": 32,
|
14 |
+
"revision": null,
|
15 |
+
"target_modules": [
|
16 |
+
"qkv_proj"
|
17 |
+
],
|
18 |
+
"task_type": "CAUSAL_LM"
|
19 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b2afc84bfe0f2de40f1116e97cd425fdd49427609f5f44518de2fd373ddd21b
|
3 |
+
size 106978941
|
added_tokens.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"\t\t": 106066,
|
3 |
+
"\t\t\t": 106065,
|
4 |
+
"\t\t\t\t": 106064,
|
5 |
+
"\t\t\t\t\t": 106063,
|
6 |
+
"\t\t\t\t\t\t": 106062,
|
7 |
+
"\t\t\t\t\t\t\t": 106061,
|
8 |
+
"\t\t\t\t\t\t\t\t": 106060,
|
9 |
+
"\t\t\t\t\t\t\t\t\t": 106059,
|
10 |
+
" ": 106058,
|
11 |
+
" ": 106057,
|
12 |
+
" ": 106056,
|
13 |
+
" ": 106055,
|
14 |
+
" ": 106054,
|
15 |
+
" ": 106053,
|
16 |
+
" ": 106052,
|
17 |
+
" ": 106051,
|
18 |
+
" ": 106050,
|
19 |
+
" ": 106049,
|
20 |
+
" ": 106048,
|
21 |
+
" ": 106047,
|
22 |
+
" ": 106046,
|
23 |
+
" ": 106045,
|
24 |
+
" ": 106044,
|
25 |
+
" ": 106043,
|
26 |
+
" ": 106042,
|
27 |
+
" ": 106041,
|
28 |
+
" ": 106040,
|
29 |
+
" ": 106039,
|
30 |
+
" ": 106038,
|
31 |
+
" ": 106037,
|
32 |
+
" ": 106036,
|
33 |
+
" ": 106035,
|
34 |
+
" ": 106034,
|
35 |
+
" ": 106033,
|
36 |
+
" ": 106032,
|
37 |
+
" ": 106031,
|
38 |
+
" ": 106030,
|
39 |
+
" ": 106029,
|
40 |
+
"<eoc>": 106070,
|
41 |
+
"<eoh>": 106067,
|
42 |
+
"<eom>": 106068,
|
43 |
+
"<eor>": 106071,
|
44 |
+
"<eot>": 106069
|
45 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<eoh>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<eom>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": true,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"content": "<eot>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"content": "<eoc>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": true,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"content": "<eor>",
|
33 |
+
"lstrip": false,
|
34 |
+
"normalized": true,
|
35 |
+
"rstrip": false,
|
36 |
+
"single_word": false
|
37 |
+
}
|
38 |
+
],
|
39 |
+
"bos_token": "<|endoftext|>",
|
40 |
+
"eos_token": {
|
41 |
+
"content": "<eom>",
|
42 |
+
"lstrip": false,
|
43 |
+
"normalized": true,
|
44 |
+
"rstrip": false,
|
45 |
+
"single_word": false
|
46 |
+
},
|
47 |
+
"pad_token": "!",
|
48 |
+
"unk_token": "<|endoftext|>"
|
49 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"auto_map": {
|
5 |
+
"AutoTokenizer": [
|
6 |
+
"tokenization_moss.MossTokenizer",
|
7 |
+
null
|
8 |
+
]
|
9 |
+
},
|
10 |
+
"bos_token": {
|
11 |
+
"__type": "AddedToken",
|
12 |
+
"content": "<|endoftext|>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": true,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false
|
17 |
+
},
|
18 |
+
"clean_up_tokenization_spaces": true,
|
19 |
+
"eos_token": {
|
20 |
+
"__type": "AddedToken",
|
21 |
+
"content": "<eom>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"errors": "replace",
|
28 |
+
"model_max_length": 2048,
|
29 |
+
"pad_token": null,
|
30 |
+
"tokenizer_class": "MossTokenizer",
|
31 |
+
"unk_token": {
|
32 |
+
"__type": "AddedToken",
|
33 |
+
"content": "<|endoftext|>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": true,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
}
|
39 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|