EntityDeletr commited on
Commit
b44ef21
·
verified ·
1 Parent(s): b448c45

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md CHANGED
@@ -1,3 +1,25 @@
1
  ---
2
  license: apache-2.0
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ base_model:
4
+ - openbmb/MiniCPM5-1B
5
  ---
6
+
7
+ This is a quantized version of MiniCPM5-1B using [mradermacher's imatrix](https://huggingface.co/mradermacher/MiniCPM5-1B-SFT-i1-GGUF/blob/main/MiniCPM5-1B-SFT.imatrix.gguf).
8
+
9
+ Commands used (llama.cpp commit [9777256](https://github.com/ggml-org/llama.cpp/commit/9777256c3130fa3201327bfab44bae187f7caea2)):
10
+
11
+ ```
12
+ pip3.13 install -r requirements.txt
13
+ python3.13 convert_hf_to_gguf.py --outfile ./MiniCPM_GGUF.gguf --outtype f32 .;
14
+ llama-quantize --imatrix MiniCPM5-1B-SFT.imatrix.gguf MiniCPM_GGUF.gguf MiniCPM5-1B-Q5_K_M.gguf Q5_K_M;
15
+ ```
16
+
17
+ These files were obtained from llama.cpp:
18
+ - requirements.txt
19
+ - convert_hf_to_gguf.py
20
+
21
+ The initial safetensor was from the [MiniCPM5 repository](https://huggingface.co/openbmb/MiniCPM5-1B-GGUF) along with other necessary files like the config.json.
22
+
23
+ To do this conversion yourself, download everything in the repository except the files labeled MiniCPM5-1B-Q5_K_M.gguf and MiniCPM5-1B-F32.gguf.
24
+
25
+ Then run the commands above after building llama.cpp, changing the paths as necessary.