Triangle104 commited on
Commit
3f50561
·
verified ·
1 Parent(s): 0b0f0ee

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: huihui-ai/Phi-4-mini-instruct-abliterated
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/huihui-ai/Phi-4-mini-instruct-abliterated/resolve/main/LICENSE
31
+ pipeline_tag: text-generation
32
+ tags:
33
+ - nlp
34
+ - code
35
+ - abliterated
36
+ - uncensored
37
+ - llama-cpp
38
+ - gguf-my-repo
39
+ widget:
40
+ - messages:
41
+ - role: user
42
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
43
+ ---
44
+
45
+ # Triangle104/Phi-4-mini-instruct-abliterated-Q4_K_S-GGUF
46
+ This model was converted to GGUF format from [`huihui-ai/Phi-4-mini-instruct-abliterated`](https://huggingface.co/huihui-ai/Phi-4-mini-instruct-abliterated) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
47
+ Refer to the [original model card](https://huggingface.co/huihui-ai/Phi-4-mini-instruct-abliterated) for more details on the model.
48
+
49
+ ## Use with llama.cpp
50
+ Install llama.cpp through brew (works on Mac and Linux)
51
+
52
+ ```bash
53
+ brew install llama.cpp
54
+
55
+ ```
56
+ Invoke the llama.cpp server or the CLI.
57
+
58
+ ### CLI:
59
+ ```bash
60
+ llama-cli --hf-repo Triangle104/Phi-4-mini-instruct-abliterated-Q4_K_S-GGUF --hf-file phi-4-mini-instruct-abliterated-q4_k_s.gguf -p "The meaning to life and the universe is"
61
+ ```
62
+
63
+ ### Server:
64
+ ```bash
65
+ llama-server --hf-repo Triangle104/Phi-4-mini-instruct-abliterated-Q4_K_S-GGUF --hf-file phi-4-mini-instruct-abliterated-q4_k_s.gguf -c 2048
66
+ ```
67
+
68
+ 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.
69
+
70
+ Step 1: Clone llama.cpp from GitHub.
71
+ ```
72
+ git clone https://github.com/ggerganov/llama.cpp
73
+ ```
74
+
75
+ 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).
76
+ ```
77
+ cd llama.cpp && LLAMA_CURL=1 make
78
+ ```
79
+
80
+ Step 3: Run inference through the main binary.
81
+ ```
82
+ ./llama-cli --hf-repo Triangle104/Phi-4-mini-instruct-abliterated-Q4_K_S-GGUF --hf-file phi-4-mini-instruct-abliterated-q4_k_s.gguf -p "The meaning to life and the universe is"
83
+ ```
84
+ or
85
+ ```
86
+ ./llama-server --hf-repo Triangle104/Phi-4-mini-instruct-abliterated-Q4_K_S-GGUF --hf-file phi-4-mini-instruct-abliterated-q4_k_s.gguf -c 2048
87
+ ```