RCorvalan commited on
Commit
faba3ca
·
verified ·
1 Parent(s): cf80d99

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/Phi-4-mini-instruct
3
+ language:
4
+ - multilingual
5
+ - ar
6
+ - zh
7
+ - cs
8
+ - da
9
+ - nl
10
+ - en
11
+ - fi
12
+ - fr
13
+ - de
14
+ - he
15
+ - hu
16
+ - it
17
+ - ja
18
+ - ko
19
+ - 'no'
20
+ - pl
21
+ - pt
22
+ - ru
23
+ - es
24
+ - sv
25
+ - th
26
+ - tr
27
+ - uk
28
+ library_name: transformers
29
+ license: mit
30
+ license_link: https://huggingface.co/microsoft/Phi-4-mini-instruct/resolve/main/LICENSE
31
+ pipeline_tag: text-generation
32
+ tags:
33
+ - nlp
34
+ - code
35
+ - llama-cpp
36
+ - gguf-my-repo
37
+ widget:
38
+ - messages:
39
+ - role: user
40
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
41
+ ---
42
+
43
+ # RCorvalan/Phi-4-mini-instruct-Q8_0-GGUF
44
+ This model was converted to GGUF format from [`microsoft/Phi-4-mini-instruct`](https://huggingface.co/microsoft/Phi-4-mini-instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
45
+ Refer to the [original model card](https://huggingface.co/microsoft/Phi-4-mini-instruct) for more details on the model.
46
+
47
+ ## Use with llama.cpp
48
+ Install llama.cpp through brew (works on Mac and Linux)
49
+
50
+ ```bash
51
+ brew install llama.cpp
52
+
53
+ ```
54
+ Invoke the llama.cpp server or the CLI.
55
+
56
+ ### CLI:
57
+ ```bash
58
+ llama-cli --hf-repo RCorvalan/Phi-4-mini-instruct-Q8_0-GGUF --hf-file phi-4-mini-instruct-q8_0.gguf -p "The meaning to life and the universe is"
59
+ ```
60
+
61
+ ### Server:
62
+ ```bash
63
+ llama-server --hf-repo RCorvalan/Phi-4-mini-instruct-Q8_0-GGUF --hf-file phi-4-mini-instruct-q8_0.gguf -c 2048
64
+ ```
65
+
66
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
67
+
68
+ Step 1: Clone llama.cpp from GitHub.
69
+ ```
70
+ git clone https://github.com/ggerganov/llama.cpp
71
+ ```
72
+
73
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
74
+ ```
75
+ cd llama.cpp && LLAMA_CURL=1 make
76
+ ```
77
+
78
+ Step 3: Run inference through the main binary.
79
+ ```
80
+ ./llama-cli --hf-repo RCorvalan/Phi-4-mini-instruct-Q8_0-GGUF --hf-file phi-4-mini-instruct-q8_0.gguf -p "The meaning to life and the universe is"
81
+ ```
82
+ or
83
+ ```
84
+ ./llama-server --hf-repo RCorvalan/Phi-4-mini-instruct-Q8_0-GGUF --hf-file phi-4-mini-instruct-q8_0.gguf -c 2048
85
+ ```