{"_id":"679242cc5ca3578ff4cf1ec4","id":"Qwen/Qwen2.5-14B-Instruct-1M","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","qwen2","text-generation","chat","conversational","en","arxiv:2501.15383","base_model:Qwen/Qwen2.5-14B","base_model:finetune:Qwen/Qwen2.5-14B","license:apache-2.0","text-generation-inference","endpoints_compatible","deploy:azure","region:us"],"downloads":153570,"likes":349,"modelId":"Qwen/Qwen2.5-14B-Instruct-1M","author":"Qwen","sha":"620fad32de7bdd2293b3d99b39eba2fe63e97438","lastModified":"2025-01-29T12:38:27.000Z","gated":false,"disabled":false,"widgetData":[{"text":"Hi, what can you help me with?"},{"text":"What is 84 * 3 / 2?"},{"text":"Tell me an interesting fact about the universe!"},{"text":"Explain quantum computing in simple terms."}],"model-index":null,"config":{"architectures":["Qwen2ForCausalLM"],"model_type":"qwen2","tokenizer_config":{"bos_token":null,"chat_template":"{%- if tools %}\n    {{- '<|im_start|>system\\n' }}\n    {%- if messages[0]['role'] == 'system' %}\n        {{- messages[0]['content'] }}\n    {%- else %}\n        {{- 'You are a helpful assistant.' }}\n    {%- endif %}\n    {{- \"\\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>\" }}\n    {%- for tool in tools %}\n        {{- \"\\n\" }}\n        {{- tool | tojson }}\n    {%- endfor %}\n    {{- \"\\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\" }}\n{%- else %}\n    {%- if messages[0]['role'] == 'system' %}\n        {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n    {%- else %}\n        {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>\\n' }}\n    {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n    {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n        {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n    {%- elif message.role == \"assistant\" %}\n        {{- '<|im_start|>' + message.role }}\n        {%- if message.content %}\n            {{- '\\n' + message.content }}\n        {%- endif %}\n        {%- for tool_call in message.tool_calls %}\n            {%- if tool_call.function is defined %}\n                {%- set tool_call = tool_call.function %}\n            {%- endif %}\n            {{- '\\n<tool_call>\\n{\"name\": \"' }}\n            {{- tool_call.name }}\n            {{- '\", \"arguments\": ' }}\n            {{- tool_call.arguments | tojson }}\n            {{- '}\\n</tool_call>' }}\n        {%- endfor %}\n        {{- '<|im_end|>\\n' }}\n    {%- elif message.role == \"tool\" %}\n        {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n            {{- '<|im_start|>user' }}\n        {%- endif %}\n        {{- '\\n<tool_response>\\n' }}\n        {{- message.content }}\n        {{- '\\n</tool_response>' }}\n        {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n            {{- '<|im_end|>\\n' }}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n    {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n","eos_token":"<|im_end|>","pad_token":"<|endoftext|>","unk_token":null}},"cardData":{"license":"apache-2.0","license_link":"https://huggingface.co/Qwen/Qwen2.5-14B-Instruct-1M/blob/main/LICENSE","language":["en"],"pipeline_tag":"text-generation","base_model":"Qwen/Qwen2.5-14B","tags":["chat"],"library_name":"transformers"},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"LICENSE"},{"rfilename":"README.md"},{"rfilename":"config.json"},{"rfilename":"generation_config.json"},{"rfilename":"merges.txt"},{"rfilename":"model-00001-of-00008.safetensors"},{"rfilename":"model-00002-of-00008.safetensors"},{"rfilename":"model-00003-of-00008.safetensors"},{"rfilename":"model-00004-of-00008.safetensors"},{"rfilename":"model-00005-of-00008.safetensors"},{"rfilename":"model-00006-of-00008.safetensors"},{"rfilename":"model-00007-of-00008.safetensors"},{"rfilename":"model-00008-of-00008.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"sparse_attention_config.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"},{"rfilename":"vocab.json"}],"spaces":["HPAI-BSC/TuRTLe-Leaderboard","bethgelab/lm-similarity","CultriX/Tiny-LeaderBoard","zlenderbender/First_agent_template","Gaizkajim/Qwen-Qwen2.5-14B-Instruct-1M","alanerkenov317/Qwen-Qwen2.5-14B-Instruct-1M","lefina/Qwen-Qwen2.5-14B-Instruct-1M","et-hridoy/First_agent_template","billreh/First_agent_template","tatianija/Final_Assignment_Template","Zaur6100/First_agent_template","tarnava/qwen-14b-1m-test"],"createdAt":"2025-01-23T13:23:24.000Z","safetensors":{"parameters":{"BF16":14770033664},"total":14770033664},"inference":"warm","usedStorage":29540134000}