GautamKishore commited on
Commit
a8d7199
·
verified ·
1 Parent(s): 47bb2af

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. chat_template.jinja +1 -1
  2. config.json +31 -70
  3. model.safetensors +2 -2
  4. tokenizer_config.json +1 -1
chat_template.jinja CHANGED
@@ -10,7 +10,7 @@
10
  {{- "\n" }}
11
  {{- tool | tojson }}
12
  {%- endfor %}
13
- {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
  {%- else %}
15
  {%- if messages[0]['role'] == 'system' %}
16
  {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
 
10
  {{- "\n" }}
11
  {{- tool | tojson }}
12
  {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{{\"name\": <function-name>, \"arguments\": <args-json-object>}}\n</tool_call><|im_end|>\n" }}
14
  {%- else %}
15
  {%- if messages[0]['role'] == 'system' %}
16
  {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
config.json CHANGED
@@ -1,72 +1,33 @@
1
  {
2
- "architectures": [
3
- "Qwen2ForCausalLM"
4
- ],
5
- "attention_dropout": 0.0,
6
- "bos_token_id": 151643,
7
- "dtype": "float16",
8
- "eos_token_id": 151643,
9
- "hidden_act": "silu",
10
- "hidden_size": 1536,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 8960,
13
- "layer_types": [
14
- "full_attention",
15
- "full_attention",
16
- "full_attention",
17
- "full_attention",
18
- "full_attention",
19
- "full_attention",
20
- "full_attention",
21
- "full_attention",
22
- "full_attention",
23
- "full_attention",
24
- "full_attention",
25
- "full_attention",
26
- "full_attention",
27
- "full_attention",
28
- "full_attention",
29
- "full_attention",
30
- "full_attention",
31
- "full_attention",
32
- "full_attention",
33
- "full_attention",
34
- "full_attention",
35
- "full_attention",
36
- "full_attention",
37
- "full_attention",
38
- "full_attention",
39
- "full_attention",
40
- "full_attention",
41
- "full_attention"
42
- ],
43
- "max_position_embeddings": 131072,
44
- "max_window_layers": 28,
45
- "model_type": "qwen2",
46
- "num_attention_heads": 12,
47
- "num_hidden_layers": 28,
48
- "num_key_value_heads": 2,
49
- "pad_token_id": null,
50
- "quantization": {
51
- "group_size": 64,
52
- "bits": 4,
53
- "mode": "affine"
54
- },
55
- "quantization_config": {
56
- "group_size": 64,
57
- "bits": 4,
58
- "mode": "affine"
59
- },
60
- "rms_norm_eps": 1e-06,
61
- "rope_parameters": {
62
- "rope_theta": 1000000.0,
63
- "rope_type": "default"
64
- },
65
- "sliding_window": null,
66
- "tie_word_embeddings": true,
67
- "transformers_version": "5.12.1",
68
- "use_cache": true,
69
- "use_mrope": false,
70
- "use_sliding_window": false,
71
- "vocab_size": 151936
72
  }
 
1
  {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "eos_token_id": 151643,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 1536,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 8960,
12
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 28,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 28,
17
+ "num_key_value_heads": 2,
18
+ "rms_norm_eps": 1e-06,
19
+ "rope_theta": 1000000.0,
20
+ "sliding_window": 32768,
21
+ "tie_word_embeddings": true,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.40.1",
24
+ "use_cache": true,
25
+ "use_mrope": false,
26
+ "use_sliding_window": false,
27
+ "vocab_size": 151936,
28
+ "quantization": {
29
+ "group_size": 64,
30
+ "bits": 4,
31
+ "mode": "affine"
32
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:33a771823bb4d0fd013e0b6c64b53147c9014f4c9aa7a86a4a458acc205225a8
3
- size 868628547
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd74789bdbc4e28de3e028fdce36d2e97e40bc0e5d42278beef20cb6dd8445d5
3
+ size 868629082
tokenizer_config.json CHANGED
@@ -3,7 +3,7 @@
3
  "backend": "tokenizers",
4
  "bos_token": null,
5
  "clean_up_tokenization_spaces": false,
6
- "eos_token": "<|endoftext|>",
7
  "errors": "replace",
8
  "extra_special_tokens": [
9
  "<|im_start|>",
 
3
  "backend": "tokenizers",
4
  "bos_token": null,
5
  "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
  "errors": "replace",
8
  "extra_special_tokens": [
9
  "<|im_start|>",