diegolido/ phi4-r1:latest

63 1 year ago

Reasoning model based on Phi-4, wich is a 14B parameter, state-of-the-art open model from Microsoft and Unsloth-prepared version of Phi-4 for GRPO & RL process.

ollama run diegolido/phi4-r1

Details

1 year ago

f5def92419ee · 8.9GB ·

llama
·
14.7B
·
Q4_K_M
{ "stop": [ "<|im_start|>", "<|im_end|>" ] }
{{- range .Messages }}<|im_start|>{{ .Role }} {{ .Content }}<|im_end|> {{ end }}<|im_start|>assistan

Readme

Model trained with Unsloth Reasoning - GRPO & RL.

To achieve the expected result, don’t forget to use the following system prompt:

Always respond in the following format:
<reasoning>
...
</reasoning>
<answer>
...
</answer>

License

Microsoft. Copyright © Microsoft Corporation.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.