{"_id":"66e81cbcd683a3f4e5291bbf","id":"Qwen/Qwen2.5-7B-Instruct","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","qwen2","text-generation","chat","conversational","en","arxiv:2309.00071","arxiv:2407.10671","base_model:Qwen/Qwen2.5-7B","base_model:finetune:Qwen/Qwen2.5-7B","license:apache-2.0","eval-results","text-generation-inference","endpoints_compatible","deploy:sagemaker","deploy:azure","region:us"],"downloads":7631037,"likes":2431,"modelId":"Qwen/Qwen2.5-7B-Instruct","author":"Qwen","sha":"a09a35458c702b33eeacc393d103063234e8bc28","lastModified":"2025-01-12T02:10:10.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 Qwen, created by Alibaba Cloud. 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 Qwen, created by Alibaba Cloud. You 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-7B-Instruct/blob/main/LICENSE","language":["en"],"pipeline_tag":"text-generation","base_model":"Qwen/Qwen2.5-7B","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-00004.safetensors"},{"rfilename":"model-00002-of-00004.safetensors"},{"rfilename":"model-00003-of-00004.safetensors"},{"rfilename":"model-00004-of-00004.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"},{"rfilename":"vocab.json"}],"spaces":["tardellirs/model-pulse","AST-1320/Qwen-2511-Plus-Flux.2-klein-9B","embedl/hfviewer","pliny-the-prompter/obliteratus","fastgpu/vram-and-gpu-cost-calculator","alexnasa/Wan2.2-Animate-ZEROGPU","aquanode/gpu-vram-calculator","multimodalart/self-forcing","bhaskartripathi/LLM_Quantization","yaswanth169/apishift-env","emanforhelp/model-pulse","seawolf2357/LLM_Quantization","allenai/reward-bench","cvachet/pdf-chatbot","fffiloni/Meigen-MultiTalk","eduagarcia/open_pt_llm_leaderboard","Heartsync/VEO3-RealTime","fffiloni/Wan2.1-VACE-1.3B","flowers-team/StickToYourRoleLeaderboard","Nymbo/FLUX-Prompt-Generator","logikon/open_cot_leaderboard","KBaba7/Quant","VIDraft/global-llm-leaderboard","fffiloni/Wan2.1","Sarath0x8f/Document-QA-bot","whitecircle/circle-guard-bench","techfreakworm/ACE-Music-Studio","lulavc/Z-Image-Turbo","IndexTeam/AnisoraV3","fffiloni/SCAIL-2","ginigen/Wan-2.2-Enhanced","fffiloni/Reward-Forcing","HPAI-BSC/TuRTLe-Leaderboard","Agnuxo/OpenCLAW-Agent","FallnAI/Quantize-HF-Models","lablab-ai-amd-developer-hackathon/atlasops","KwabsHug/GameConfigIdea","openfree/LLM_Quantization","build-small-hackathon/feeled-lite","lablab-ai-amd-developer-hackathon/atlas-ops","nvidia/judges-verdict","TencentARC/RollingForcing","neuralninja110/SAGE","DarDrax/atlasops","ruslanmv/convert_to_gguf","herokominato/Wan2.2-Animate-ZEROGPU","prithivMLmods/NAVA-Text-to-Video","KempnerInstituteAI/LVP","MERaLiON/SeaEval_Leaderboard","cot-leaderboard/open-cot-dashboard","lightmate/llm-chatbot","rubenroy/Zurich-7B","Adityahars/Sanskrit-env","MecCogAgenticChallenge/meccog-dashboard","YinmingHuang/StableAvatar","filbench/filbench-leaderboard","Westlake-AGI-Lab/FlowDirector","Agents-MCP-Hackathon/Aura_AI_Scan","mariam-ahmed15/Deepfake-audio-detection","haodongli/RollingSink","pollen-robotics/reachy-sticker-generator","build-small-hackathon/multi-agent-lab","build-small-hackathon/French-Coach","Volkopat/arXivGPT","nyax/PhyloLM","wana14/Wan-2.2-5B","0xfei/crypto-price-predict","Mihir1107/TheSnitch","Manojsha9530/document_generator","build-small-hackathon/family-care-network","build-small-hackathon/reachy-mini-interpreter","kode-with-klossy/3.4-groupB3-capstone","totolook/Quant","K00B404/LLM_Quantization","MCP-1st-Birthday/Round_2","BaoNhan/MinerU_2.5_plus_Intelligent_Reasoning_and_Knowledge_Explorer","MCP-1st-Birthday/Spice_Bae","mwmathis/ClinicalTrialMatcher_HF","bscs-27-005/Callbot","chyams/llm-explorer","Hypxr7/legal-aid-rag","rohanjain1648/alice-rl-environment","build-small-hackathon/sema-dyslexic-assistant","build-small-hackathon/interview-coach","build-small-hackathon/LifeChoice-Simulator","multimodalart/LiveEdit","kode-with-klossy/2.7-groupB3-capstone","kode-with-klossy/2.4-groupB3-capstone","kode-with-klossy/3.4-groupD2-capstone","AST-1320/Sandbox-Testbase-Qwen","Aniun/semantic_github","nic00laj/Qwen-Qwen2.5-7B-Instruct","cstr/PDF-Summarizer","tsi-org/pixio-video-stream","TTimur/OpenLLMKyrgyzLeaderboard_v0.1","marcelo1126/InfiniteTalk","vaibhavpandeyvpz/wan2.2-text-image-to-video","strangertoolshf/huggingface-tree","abuelzoz33/vram-calculator","ZalzalaKhan/disaster-rag"],"createdAt":"2024-09-16T11:55:40.000Z","safetensors":{"parameters":{"BF16":7615616512},"total":7615616512},"usedStorage":15255453428}