{"_id":"6811256b174c79b9d5176ed4","id":"microsoft/Phi-4-mini-reasoning","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","phi3","text-generation","nlp","math","code","conversational","en","arxiv:2504.21233","license:mit","text-generation-inference","endpoints_compatible","region:us"],"downloads":57610,"likes":240,"modelId":"microsoft/Phi-4-mini-reasoning","author":"microsoft","sha":"0e3b1e2d02ee478a3743abe3f629e9c0cb722e0a","lastModified":"2025-12-10T20:24:22.000Z","gated":false,"disabled":false,"widgetData":[{"messages":[{"role":"user","content":"How to solve 3*x^2+4*x+5=1?"}]}],"model-index":null,"config":{"architectures":["Phi3ForCausalLM"],"model_type":"phi3","tokenizer_config":{"bos_token":"<|endoftext|>","chat_template":"{{ '<|system|>Your name is Phi, an AI math expert developed by Microsoft.' }}{% for message in messages %}{% if message['role'] == 'system' %} {{ message['content'] }}{% if 'tools' in message and message['tools'] is not none %}{{ '<|tool|>' + message['tools'] + '<|/tool|>' }}{% endif %}{% endif %}{% endfor %}{{ '<|end|>' }}{% for message in messages %}{% if message['role'] != 'system' %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}","eos_token":"<|endoftext|>","pad_token":"<|endoftext|>","unk_token":"<|endoftext|>"}},"cardData":{"language":["en"],"library_name":"transformers","license":"mit","license_link":"https://huggingface.co/microsoft/Phi-4-mini-instruct-reasoning/resolve/main/LICENSE","pipeline_tag":"text-generation","tags":["nlp","math","code"],"widget":[{"messages":[{"role":"user","content":"How to solve 3*x^2+4*x+5=1?"}]}]},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"CODE_OF_CONDUCT.md"},{"rfilename":"LICENSE"},{"rfilename":"NOTICE.md"},{"rfilename":"Phi-4-Mini-Reasoning.pdf"},{"rfilename":"README.md"},{"rfilename":"SECURITY.md"},{"rfilename":"SUPPORT.md"},{"rfilename":"added_tokens.json"},{"rfilename":"config.json"},{"rfilename":"data_summary_card.md"},{"rfilename":"generation_config.json"},{"rfilename":"merges.txt"},{"rfilename":"model-00001-of-00002.safetensors"},{"rfilename":"model-00002-of-00002.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"},{"rfilename":"vocab.json"}],"spaces":["EuroEval/euroeval_leaderboard","KavinduHansaka/AI-Powered_Disease_Diagnostic_Assistant","peterciank/torch2","Macdensten91/google-flan-t5-small","justREE/StoryTeller_Assignment","raffaeleterribile/Final_Assignment","yarenty/Chat_tester","Alovestocode/router-router-zero","ncc01/ZeroGPU-LLM-Inference","polats/ZeroGPU-LLM-Inference","localellm/WebGPU-phi-4-mini-reasoning-gguf"],"createdAt":"2025-04-29T19:15:55.000Z","safetensors":{"parameters":{"BF16":3836021760},"total":3836021760},"usedStorage":7688245304}