wyt1234
commited on
Commit
•
8a425e3
1
Parent(s):
c45ebf2
Update:Add lora files
Browse files- .idea/.gitignore +8 -0
- .idea/inspectionProfiles/Project_Default.xml +99 -0
- .idea/marrywise-7b-lora.iml +12 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +5 -0
- merges.txt +0 -0
- special_tokens_map.json +20 -0
- tokenizer_config.json +44 -0
- trainer_state.json +90 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.idea/.gitignore
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
4 |
+
# Editor-based HTTP Client requests
|
5 |
+
/httpRequests/
|
6 |
+
# Datasource local storage ignored files
|
7 |
+
/dataSources/
|
8 |
+
/dataSources.local.xml
|
.idea/inspectionProfiles/Project_Default.xml
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<profile version="1.0">
|
3 |
+
<option name="myName" value="Project Default" />
|
4 |
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
5 |
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
6 |
+
<option name="ignoredPackages">
|
7 |
+
<value>
|
8 |
+
<list size="77">
|
9 |
+
<item index="0" class="java.lang.String" itemvalue="httpx" />
|
10 |
+
<item index="1" class="java.lang.String" itemvalue="python-dateutil" />
|
11 |
+
<item index="2" class="java.lang.String" itemvalue="h11" />
|
12 |
+
<item index="3" class="java.lang.String" itemvalue="py" />
|
13 |
+
<item index="4" class="java.lang.String" itemvalue="kombu" />
|
14 |
+
<item index="5" class="java.lang.String" itemvalue="pycparser" />
|
15 |
+
<item index="6" class="java.lang.String" itemvalue="rfc3986" />
|
16 |
+
<item index="7" class="java.lang.String" itemvalue="httptools" />
|
17 |
+
<item index="8" class="java.lang.String" itemvalue="elasticsearch" />
|
18 |
+
<item index="9" class="java.lang.String" itemvalue="PyNaCl" />
|
19 |
+
<item index="10" class="java.lang.String" itemvalue="aliyun-python-sdk-core-v3" />
|
20 |
+
<item index="11" class="java.lang.String" itemvalue="starlette" />
|
21 |
+
<item index="12" class="java.lang.String" itemvalue="certifi" />
|
22 |
+
<item index="13" class="java.lang.String" itemvalue="uvicorn" />
|
23 |
+
<item index="14" class="java.lang.String" itemvalue="pyparsing" />
|
24 |
+
<item index="15" class="java.lang.String" itemvalue="uvloop" />
|
25 |
+
<item index="16" class="java.lang.String" itemvalue="vine" />
|
26 |
+
<item index="17" class="java.lang.String" itemvalue="passlib" />
|
27 |
+
<item index="18" class="java.lang.String" itemvalue="idna-ssl" />
|
28 |
+
<item index="19" class="java.lang.String" itemvalue="pydantic" />
|
29 |
+
<item index="20" class="java.lang.String" itemvalue="iniconfig" />
|
30 |
+
<item index="21" class="java.lang.String" itemvalue="cryptography" />
|
31 |
+
<item index="22" class="java.lang.String" itemvalue="typing-extensions" />
|
32 |
+
<item index="23" class="java.lang.String" itemvalue="attrs" />
|
33 |
+
<item index="24" class="java.lang.String" itemvalue="paramiko" />
|
34 |
+
<item index="25" class="java.lang.String" itemvalue="install" />
|
35 |
+
<item index="26" class="java.lang.String" itemvalue="contextvars" />
|
36 |
+
<item index="27" class="java.lang.String" itemvalue="humanize" />
|
37 |
+
<item index="28" class="java.lang.String" itemvalue="supervisor" />
|
38 |
+
<item index="29" class="java.lang.String" itemvalue="httpcore" />
|
39 |
+
<item index="30" class="java.lang.String" itemvalue="idna" />
|
40 |
+
<item index="31" class="java.lang.String" itemvalue="motor" />
|
41 |
+
<item index="32" class="java.lang.String" itemvalue="PyJWT" />
|
42 |
+
<item index="33" class="java.lang.String" itemvalue="async-timeout" />
|
43 |
+
<item index="34" class="java.lang.String" itemvalue="more-itertools" />
|
44 |
+
<item index="35" class="java.lang.String" itemvalue="pluggy" />
|
45 |
+
<item index="36" class="java.lang.String" itemvalue="cffi" />
|
46 |
+
<item index="37" class="java.lang.String" itemvalue="numpy" />
|
47 |
+
<item index="38" class="java.lang.String" itemvalue="requests" />
|
48 |
+
<item index="39" class="java.lang.String" itemvalue="click-didyoumean" />
|
49 |
+
<item index="40" class="java.lang.String" itemvalue="fastapi-login" />
|
50 |
+
<item index="41" class="java.lang.String" itemvalue="importlib-metadata" />
|
51 |
+
<item index="42" class="java.lang.String" itemvalue="sniffio" />
|
52 |
+
<item index="43" class="java.lang.String" itemvalue="celery" />
|
53 |
+
<item index="44" class="java.lang.String" itemvalue="zipp" />
|
54 |
+
<item index="45" class="java.lang.String" itemvalue="prompt-toolkit" />
|
55 |
+
<item index="46" class="java.lang.String" itemvalue="urllib3" />
|
56 |
+
<item index="47" class="java.lang.String" itemvalue="billiard" />
|
57 |
+
<item index="48" class="java.lang.String" itemvalue="websockets" />
|
58 |
+
<item index="49" class="java.lang.String" itemvalue="immutables" />
|
59 |
+
<item index="50" class="java.lang.String" itemvalue="dataclasses" />
|
60 |
+
<item index="51" class="java.lang.String" itemvalue="pymongo" />
|
61 |
+
<item index="52" class="java.lang.String" itemvalue="six" />
|
62 |
+
<item index="53" class="java.lang.String" itemvalue="tornado" />
|
63 |
+
<item index="54" class="java.lang.String" itemvalue="pysftp" />
|
64 |
+
<item index="55" class="java.lang.String" itemvalue="pytest" />
|
65 |
+
<item index="56" class="java.lang.String" itemvalue="amqp" />
|
66 |
+
<item index="57" class="java.lang.String" itemvalue="aiofiles" />
|
67 |
+
<item index="58" class="java.lang.String" itemvalue="packaging" />
|
68 |
+
<item index="59" class="java.lang.String" itemvalue="et-xmlfile" />
|
69 |
+
<item index="60" class="java.lang.String" itemvalue="pytest-asyncio" />
|
70 |
+
<item index="61" class="java.lang.String" itemvalue="toml" />
|
71 |
+
<item index="62" class="java.lang.String" itemvalue="prometheus-client" />
|
72 |
+
<item index="63" class="java.lang.String" itemvalue="flower" />
|
73 |
+
<item index="64" class="java.lang.String" itemvalue="chardet" />
|
74 |
+
<item index="65" class="java.lang.String" itemvalue="pandas" />
|
75 |
+
<item index="66" class="java.lang.String" itemvalue="tqdm" />
|
76 |
+
<item index="67" class="java.lang.String" itemvalue="fastapi" />
|
77 |
+
<item index="68" class="java.lang.String" itemvalue="aiohttp" />
|
78 |
+
<item index="69" class="java.lang.String" itemvalue="multidict" />
|
79 |
+
<item index="70" class="java.lang.String" itemvalue="yarl" />
|
80 |
+
<item index="71" class="java.lang.String" itemvalue="click-repl" />
|
81 |
+
<item index="72" class="java.lang.String" itemvalue="pycryptodome" />
|
82 |
+
<item index="73" class="java.lang.String" itemvalue="pytz" />
|
83 |
+
<item index="74" class="java.lang.String" itemvalue="openpyxl" />
|
84 |
+
<item index="75" class="java.lang.String" itemvalue="protobuf" />
|
85 |
+
<item index="76" class="java.lang.String" itemvalue="transformers" />
|
86 |
+
</list>
|
87 |
+
</value>
|
88 |
+
</option>
|
89 |
+
</inspection_tool>
|
90 |
+
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
91 |
+
<option name="ignoredErrors">
|
92 |
+
<list>
|
93 |
+
<option value="N806" />
|
94 |
+
</list>
|
95 |
+
</option>
|
96 |
+
</inspection_tool>
|
97 |
+
<inspection_tool class="StandardJS" enabled="true" level="ERROR" enabled_by_default="true" />
|
98 |
+
</profile>
|
99 |
+
</component>
|
.idea/marrywise-7b-lora.iml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="WEB_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$">
|
5 |
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
6 |
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
7 |
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
8 |
+
</content>
|
9 |
+
<orderEntry type="inheritedJdk" />
|
10 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
11 |
+
</component>
|
12 |
+
</module>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/marrywise-7b-lora.iml" filepath="$PROJECT_DIR$/.idea/marrywise-7b-lora.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "/data/model_service/Qwen2-7B-Instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"v_proj",
|
25 |
+
"up_proj",
|
26 |
+
"gate_proj",
|
27 |
+
"down_proj",
|
28 |
+
"o_proj",
|
29 |
+
"k_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebb743c3bed8f2703f937d3b70268841f9c2c9454941bd6f27449913139256f3
|
3 |
+
size 323014560
|
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|im_end|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|im_end|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"model_max_length": 2000,
|
39 |
+
"pad_token": "<|endoftext|>",
|
40 |
+
"padding_side": "right",
|
41 |
+
"split_special_tokens": false,
|
42 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
43 |
+
"unk_token": null
|
44 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.8095238095238093,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.38,
|
13 |
+
"learning_rate": 0.0,
|
14 |
+
"loss": 3.0607,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.76,
|
19 |
+
"learning_rate": 0.0002,
|
20 |
+
"loss": 2.9844,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.14,
|
25 |
+
"learning_rate": 0.0002,
|
26 |
+
"loss": 3.0551,
|
27 |
+
"step": 3
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 1.52,
|
31 |
+
"learning_rate": 0.0002,
|
32 |
+
"loss": 2.8438,
|
33 |
+
"step": 4
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 1.9,
|
37 |
+
"learning_rate": 0.0002,
|
38 |
+
"loss": 2.7193,
|
39 |
+
"step": 5
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 2.29,
|
43 |
+
"learning_rate": 0.0002,
|
44 |
+
"loss": 2.6074,
|
45 |
+
"step": 6
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.67,
|
49 |
+
"learning_rate": 0.0002,
|
50 |
+
"loss": 2.5219,
|
51 |
+
"step": 7
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 3.05,
|
55 |
+
"learning_rate": 0.0002,
|
56 |
+
"loss": 2.4533,
|
57 |
+
"step": 8
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 3.43,
|
61 |
+
"learning_rate": 0.0002,
|
62 |
+
"loss": 2.3453,
|
63 |
+
"step": 9
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 3.81,
|
67 |
+
"learning_rate": 0.0002,
|
68 |
+
"loss": 2.2306,
|
69 |
+
"step": 10
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 3.81,
|
73 |
+
"step": 10,
|
74 |
+
"total_flos": 8222269440000.0,
|
75 |
+
"train_loss": 2.682184100151062,
|
76 |
+
"train_runtime": 273.7695,
|
77 |
+
"train_samples_per_second": 1.516,
|
78 |
+
"train_steps_per_second": 0.037
|
79 |
+
}
|
80 |
+
],
|
81 |
+
"logging_steps": 1.0,
|
82 |
+
"max_steps": 10,
|
83 |
+
"num_input_tokens_seen": 0,
|
84 |
+
"num_train_epochs": 5,
|
85 |
+
"save_steps": 10,
|
86 |
+
"total_flos": 8222269440000.0,
|
87 |
+
"train_batch_size": 1,
|
88 |
+
"trial_name": null,
|
89 |
+
"trial_params": null
|
90 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c11cc8b4cd149c674b64cb5d44e2c545a32cecbae49a8707e683d26158dea81d
|
3 |
+
size 6968
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|