suraiy commited on
Commit
f3320e0
1 Parent(s): 66fdd5c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - pruna-ai
4
+ - llama-cpp
5
+ - gguf-my-repo
6
+ base_model: microsoft/Phi-3-mini-128k-instruct
7
+ metrics:
8
+ - memory_disk
9
+ - memory_inference
10
+ - inference_latency
11
+ - inference_throughput
12
+ - inference_CO2_emissions
13
+ - inference_energy_consumption
14
+ thumbnail: https://assets-global.website-files.com/646b351987a8d8ce158d1940/64ec9e96b4334c0e1ac41504_Logo%20with%20white%20text.svg
15
+ ---
16
+
17
+ # suraiy/microsoft-Phi-3-mini-128k-instruct-HQQ-4bit-smashed-Q4_K_M-GGUF
18
+ This model was converted to GGUF format from [`PrunaAI/microsoft-Phi-3-mini-128k-instruct-HQQ-4bit-smashed`](https://huggingface.co/PrunaAI/microsoft-Phi-3-mini-128k-instruct-HQQ-4bit-smashed) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
19
+ Refer to the [original model card](https://huggingface.co/PrunaAI/microsoft-Phi-3-mini-128k-instruct-HQQ-4bit-smashed) for more details on the model.
20
+ ## Use with llama.cpp
21
+ Install llama.cpp through brew.
22
+ ```bash
23
+ brew install ggerganov/ggerganov/llama.cpp
24
+ ```
25
+ Invoke the llama.cpp server or the CLI.
26
+ CLI:
27
+ ```bash
28
+ llama-cli --hf-repo suraiy/microsoft-Phi-3-mini-128k-instruct-HQQ-4bit-smashed-Q4_K_M-GGUF --model microsoft-phi-3-mini-128k-instruct-hqq-4bit-smashed-q4_k_m.gguf -p "The meaning to life and the universe is"
29
+ ```
30
+ Server:
31
+ ```bash
32
+ llama-server --hf-repo suraiy/microsoft-Phi-3-mini-128k-instruct-HQQ-4bit-smashed-Q4_K_M-GGUF --model microsoft-phi-3-mini-128k-instruct-hqq-4bit-smashed-q4_k_m.gguf -c 2048
33
+ ```
34
+ 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.
35
+ ```
36
+ git clone https://github.com/ggerganov/llama.cpp && \
37
+ cd llama.cpp && \
38
+ make && \
39
+ ./main -m microsoft-phi-3-mini-128k-instruct-hqq-4bit-smashed-q4_k_m.gguf -n 128
40
+ ```