Safetensors
qwen2
Wanfq commited on
Commit
97c4ddd
·
verified ·
1 Parent(s): 59b11df

Upload folder using huggingface_hub

Browse files
model-00001-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f0f04a52a5edb678c96ae788e4b019887add5bb39261d00681718745e720be2
3
  size 4949338472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58bba8e4865279e74e8ed69dbaa2ac98004097f1509aa09ea89e3352ec0f7043
3
  size 4949338472
model-00002-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d9495b91c81ab6072f80919fc8b298e26893e22a8ebd36b59f42de735b0b598
3
  size 4991425976
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fa697c0d471464ab59f6444b4acd1214ae50045564f02dd0876c3ffed8e5df3
3
  size 4991425976
model-00003-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a2fc268593248245080dd61bf379b0a5c53c9a3d5559438fbcea06fce47ee9d
3
  size 4876059408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32d9432596f0444cefe57e6f2d8a0135fd2248757daaadd7512d5b96a22bf1a4
3
  size 4876059408
model-00004-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aa6eb5e2a029a142a8a048d4dc9704fbe3590021248d19fd0a715b6078247098
3
  size 4876059400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7eb44116a41c85e031620b9709c552257b87213a88c74ebeda0000653cd8bda9
3
  size 4876059400
model-00005-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bda3ef6473063b30e51069f49ad295617886d462c36ded1fe52b4ac9c4c01272
3
  size 4876059408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a477f442d1285f589eadcd11351b7938853b6b098c7e11d542553d20eb3683a7
3
  size 4876059408
model-00006-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2af195629ddd6042c9fe37afde47bf0f161e9e58df0aec94c70d7ad63df7f9e4
3
  size 4876059400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1466ee9cafacbdef8792dad10d950c40aa9aaa1c65deda51234503c7e15950c2
3
  size 4876059400
model-00007-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd9ff82d0f6fdb8b6d42ea5bc1d021a767159dea7fc2c4ac987bfe954590af46
3
  size 4876059408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eda65d63cc13aa8e5d31a31df273d07174c5a12fdaf01266cf7c0e5fa768bac
3
  size 4876059408
model-00008-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c060c2a9f873a575baa8a69bc21c822c5c6a881ea17611fb4da5b18d3bd3dd1c
3
  size 4876059400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:459fbdfe340eb18ac768c0ebde3bf5a58dd7a800b2028d7abb3ea75680ba3ce0
3
  size 4876059400
model-00009-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:00f6cf1b462bb34f13a75d2b0127260ca0818618c29ed83b200608dfa93edf55
3
  size 4876059408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80e498c6ae8eed8ebff2a110fef14132916dc3be0072df5b6b4d81fe0af96891
3
  size 4876059408
model-00010-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aae64c59b3f46bd68a5be9d801a093ce17810e7458cdb779be819a7db8e6a442
3
  size 4876059400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:276cbe4502996e13c745dfc21b9a921ae807836af48f670d74f191f57084d34e
3
  size 4876059400
model-00011-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a83a27b2984c5df60be4fa490a7d90a2da39dabbb3a6df969fdf456c69697be6
3
  size 4876059408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6379e9e4f955c4fe0327449cbb78818c9312094abb668a7b5459d9a156cddee2
3
  size 4876059408
model-00012-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4dc1d59e2780c564eb41653a17c886d7759ca663451f5150ecf1f3aa61ca3440
3
  size 4876059400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:880641bcef3b51e11466e92a018b5cedf238a210ce74356042152c7b956ff217
3
  size 4876059400
model-00013-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d13cb08413633e24d3f61a35279c864afbefe49d46096b9489f110acb6bb3c4c
3
  size 4876059400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bcc2e029f5e4db061d6d17046f64c8c57a4d7f1cff280f275f2f2aa8ce83bd8
3
  size 4876059400
model-00014-of-00014.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3508171657248fe1b5b6719a0a611e0c0013f82b14232646a2616d104a9eea26
3
  size 1950423728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80d643b2c3d9315e47c5347efbbf3cdc84a7ef4ae51b420d1e77cad0f3b6727d
3
  size 1950423728
tokenizer_config.json CHANGED
@@ -32,4 +32,4 @@
32
  "unk_token": null,
33
  "tokenizer_class": "LlamaTokenizerFast",
34
  "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|>'}}{% endif %}"
35
- }
 
32
  "unk_token": null,
33
  "tokenizer_class": "LlamaTokenizerFast",
34
  "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|>'}}{% endif %}"
35
+ }