microsoft / Phi-4-reasoning

Text Generation15B34.9K234Updated Nov 24, 2025

Downloads

34.9K

Likes

234

Last updated

Nov 24, 2025

License

mit

[!IMPORTANT] To fully take advantage of the model's capabilities, inference must use temperature=0.8, topk=50, topp=0.95, and dosample=True. For more complex queries, set maxnewtokens=32768 to allow for longer chain-of-thought (CoT).

Tasks & library

  • text generation
  • transformers

Tags

  • transformers
  • phi3
  • text-generation
  • phi
  • nlp
  • math

Technical specifications

Parameters15B
Librarytransformers
Languagesen
Base modelmicrosoft/phi-4
Licensemit