Minh141120 commited on
Commit
b91f326
·
verified ·
1 Parent(s): 4249c29

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - cortex.cpp
6
+ - featured
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ **Microsoft Research** developed and released the **Phi-4-reasoning** series, a cutting-edge family of reasoning-focused language models optimized for chain-of-thought (CoT), step-by-step problem solving, and high-efficiency inference. These models excel in advanced mathematical reasoning, scientific Q&A, and instruction-following scenarios.
12
+
13
+ The Phi-4 models introduce extended context lengths, ChatML reasoning templates, and strong performance on benchmark datasets, while maintaining compact sizes that are ideal for memory- and latency-constrained environments.
14
+
15
+ ## Variants
16
+
17
+ ### Phi-4-reasoning
18
+
19
+ | No | Variant | Branch | Cortex CLI command |
20
+ |----|-------------------------------------------------------------------------------------|------------|-------------------------------------|
21
+ | 1 | [phi-4-mini-reasoning](https://huggingface.co/microsoft/phi-4-mini-reasoning) | 4b | `cortex run phi4:4b` |
22
+ | 2 | [phi-4-reasoning](https://huggingface.co/microsoft/phi-4-reasoning-plus) | 14b | `cortex run phi4:14b` |
23
+ | 3 | [phi-4-reasoning-plus](https://huggingface.co/microsoft/phi-4-reasoning-plus) | 14b-plus | `cortex run phi4:14b-plus` |
24
+
25
+ Each branch supports multiple quantized GGUF versions:
26
+ - **phi-4-mini-reasoning:** q2_k, q3_k_l, q3_k_m, q3_k_s, q4_k_m, q4_k_s, q5_k_m, q5_k_s, q6_k, q8_0
27
+ - **phi-4-reasoning:** q2_k, q3_k_l, q3_k_m, q3_k_s, q4_k_m, q4_k_s, q5_k_m, q5_k_s, q6_k, q8_0
28
+ - **phi-4-reasoning-plus:** q2_k, q3_k_l, q3_k_m, q3_k_s, q4_k_m, q4_k_s, q5_k_m, q5_k_s, q6_k, q8_0
29
+
30
+ ## Use it with Jan (UI)
31
+
32
+ 1. Install **Jan** using [Quickstart](https://jan.ai/docs/quickstart)
33
+ 2. Use in Jan model Hub:
34
+ ```bash
35
+ cortexso/phi4
36
+ ```
37
+
38
+ ## Use it with Cortex (CLI)
39
+
40
+ 1. Install **Cortex** using [Quickstart](https://cortex.jan.ai/docs/quickstart)
41
+ 2. Run the model with command:
42
+ ```bash
43
+ cortex run phi4
44
+ ```
45
+
46
+ ## Credits
47
+
48
+ - **Author:** Microsoft Research
49
+ - **Converter:** [Menlo Research](https://menlo.ai/)
50
+ - **Original License:** [MIT License](https://opensource.org/license/mit/)
51
+ - **Blogs:** [Phi-4 Reasoning Blog](https://www.microsoft.com/en-us/research/blog/)