asparius commited on
Commit
eec27db
·
verified ·
1 Parent(s): 0b9d94c

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,9 +1,9 @@
1
  ---
2
- base_model: Qwen/Qwen2.5-7B
3
  library_name: peft
4
  pipeline_tag: text-generation
5
  tags:
6
- - base_model:adapter:Qwen/Qwen2.5-7B
7
  - lora
8
  - sft
9
  - transformers
@@ -206,4 +206,4 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
206
  [More Information Needed]
207
  ### Framework versions
208
 
209
- - PEFT 0.20.0
 
1
  ---
2
+ base_model: Qwen/Qwen2.5-Coder-7B
3
  library_name: peft
4
  pipeline_tag: text-generation
5
  tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-Coder-7B
7
  - lora
8
  - sft
9
  - transformers
 
206
  [More Information Needed]
207
  ### Framework versions
208
 
209
+ - PEFT 0.21.0
adapter_config.json CHANGED
@@ -3,7 +3,7 @@
3
  "alpha_pattern": {},
4
  "arrow_config": null,
5
  "auto_mapping": null,
6
- "base_model_name_or_path": "Qwen/Qwen2.5-7B",
7
  "bias": "none",
8
  "corda_config": null,
9
  "ensure_weight_tying": false,
@@ -12,6 +12,7 @@
12
  "fan_in_fan_out": false,
13
  "inference_mode": true,
14
  "init_lora_weights": true,
 
15
  "layer_replication": null,
16
  "layers_pattern": null,
17
  "layers_to_transform": null,
@@ -25,19 +26,19 @@
25
  "modules_to_save": null,
26
  "monteclora_config": null,
27
  "peft_type": "LORA",
28
- "peft_version": "0.20.0",
29
  "qalora_group_size": 16,
30
  "r": 32,
31
  "rank_pattern": {},
32
  "revision": null,
33
  "target_modules": [
34
  "o_proj",
 
 
35
  "up_proj",
 
36
  "v_proj",
37
- "gate_proj",
38
- "down_proj",
39
- "q_proj",
40
- "k_proj"
41
  ],
42
  "target_parameters": null,
43
  "task_type": "CAUSAL_LM",
 
3
  "alpha_pattern": {},
4
  "arrow_config": null,
5
  "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen2.5-Coder-7B",
7
  "bias": "none",
8
  "corda_config": null,
9
  "ensure_weight_tying": false,
 
12
  "fan_in_fan_out": false,
13
  "inference_mode": true,
14
  "init_lora_weights": true,
15
+ "kasa_config": null,
16
  "layer_replication": null,
17
  "layers_pattern": null,
18
  "layers_to_transform": null,
 
26
  "modules_to_save": null,
27
  "monteclora_config": null,
28
  "peft_type": "LORA",
29
+ "peft_version": "0.21.0",
30
  "qalora_group_size": 16,
31
  "r": 32,
32
  "rank_pattern": {},
33
  "revision": null,
34
  "target_modules": [
35
  "o_proj",
36
+ "q_proj",
37
+ "gate_proj",
38
  "up_proj",
39
+ "k_proj",
40
  "v_proj",
41
+ "down_proj"
 
 
 
42
  ],
43
  "target_parameters": null,
44
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82f8bf60b0b11eb73a37639f37b18c2195e99ff640089f40e4797cb75a0a85e9
3
  size 161533584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68a52e7755de93e8c4b7918c9b208b2e8bac6ea2e2834dc00185ea8ead793932
3
  size 161533584
chat_template.jinja CHANGED
@@ -3,7 +3,7 @@
3
  {%- if messages[0]['role'] == 'system' %}
4
  {{- messages[0]['content'] }}
5
  {%- else %}
6
- {{- 'You are a helpful assistant.' }}
7
  {%- endif %}
8
  {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
  {%- for tool in tools %}
@@ -15,7 +15,7 @@
15
  {%- if messages[0]['role'] == 'system' %}
16
  {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
  {%- else %}
18
- {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}
19
  {%- endif %}
20
  {%- endif %}
21
  {%- for message in messages %}
 
3
  {%- if messages[0]['role'] == 'system' %}
4
  {{- messages[0]['content'] }}
5
  {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
  {%- endif %}
8
  {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
  {%- for tool in tools %}
 
15
  {%- if messages[0]['role'] == 'system' %}
16
  {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
  {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
  {%- endif %}
20
  {%- endif %}
21
  {%- for message in messages %}
tokenizer_config.json CHANGED
@@ -21,7 +21,7 @@
21
  "<|video_pad|>"
22
  ],
23
  "is_local": false,
24
- "model_max_length": 131072,
25
  "pad_token": "<|endoftext|>",
26
  "split_special_tokens": false,
27
  "tokenizer_class": "Qwen2Tokenizer",
 
21
  "<|video_pad|>"
22
  ],
23
  "is_local": false,
24
+ "model_max_length": 32768,
25
  "pad_token": "<|endoftext|>",
26
  "split_special_tokens": false,
27
  "tokenizer_class": "Qwen2Tokenizer",