ldostadi commited on
Commit
63fa1a7
·
verified ·
1 Parent(s): 45791bd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +93 -0
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: huihui-ai/Phi-4-mini-reasoning-abliterated
3
+ language:
4
+ - en
5
+ library_name: transformers
6
+ license: mit
7
+ license_link: https://huggingface.co/huihui-ai/Phi-4-mini-reasoning-abliterated/resolve/main/LICENSE
8
+ pipeline_tag: text-generation
9
+ tags:
10
+ - nlp
11
+ - math
12
+ - code
13
+ - chat
14
+ - abliterated
15
+ - uncensored
16
+ - llama-cpp
17
+ - gguf-my-repo
18
+ widget:
19
+ - messages:
20
+ - role: user
21
+ content: How to solve 3*x^2+4*x+5=1?
22
+ extra_gated_prompt: '**Usage Warnings**
23
+
24
+
25
+ “**Risk of Sensitive or Controversial Outputs**“: This model’s safety filtering
26
+ has been significantly reduced, potentially generating sensitive, controversial,
27
+ or inappropriate content. Users should exercise caution and rigorously review generated
28
+ outputs.
29
+
30
+ “**Not Suitable for All Audiences**:“ Due to limited content filtering, the model’s
31
+ outputs may be inappropriate for public settings, underage users, or applications
32
+ requiring high security.
33
+
34
+ “**Legal and Ethical Responsibilities**“: Users must ensure their usage complies
35
+ with local laws and ethical standards. Generated content may carry legal or ethical
36
+ risks, and users are solely responsible for any consequences.
37
+
38
+ “**Research and Experimental Use**“: It is recommended to use this model for research,
39
+ testing, or controlled environments, avoiding direct use in production or public-facing
40
+ commercial applications.
41
+
42
+ “**Monitoring and Review Recommendations**“: Users are strongly advised to monitor
43
+ model outputs in real-time and conduct manual reviews when necessary to prevent
44
+ the dissemination of inappropriate content.
45
+
46
+ “**No Default Safety Guarantees**“: Unlike standard models, this model has not undergone
47
+ rigorous safety optimization. huihui.ai bears no responsibility for any consequences
48
+ arising from its use.'
49
+ ---
50
+
51
+ # ldostadi/Phi-4-mini-reasoning-abliterated-Q4_K_M-GGUF
52
+ This model was converted to GGUF format from [`huihui-ai/Phi-4-mini-reasoning-abliterated`](https://huggingface.co/huihui-ai/Phi-4-mini-reasoning-abliterated) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
53
+ Refer to the [original model card](https://huggingface.co/huihui-ai/Phi-4-mini-reasoning-abliterated) for more details on the model.
54
+
55
+ ## Use with llama.cpp
56
+ Install llama.cpp through brew (works on Mac and Linux)
57
+
58
+ ```bash
59
+ brew install llama.cpp
60
+
61
+ ```
62
+ Invoke the llama.cpp server or the CLI.
63
+
64
+ ### CLI:
65
+ ```bash
66
+ llama-cli --hf-repo ldostadi/Phi-4-mini-reasoning-abliterated-Q4_K_M-GGUF --hf-file phi-4-mini-reasoning-abliterated-q4_k_m.gguf -p "The meaning to life and the universe is"
67
+ ```
68
+
69
+ ### Server:
70
+ ```bash
71
+ llama-server --hf-repo ldostadi/Phi-4-mini-reasoning-abliterated-Q4_K_M-GGUF --hf-file phi-4-mini-reasoning-abliterated-q4_k_m.gguf -c 2048
72
+ ```
73
+
74
+ 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.
75
+
76
+ Step 1: Clone llama.cpp from GitHub.
77
+ ```
78
+ git clone https://github.com/ggerganov/llama.cpp
79
+ ```
80
+
81
+ 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).
82
+ ```
83
+ cd llama.cpp && LLAMA_CURL=1 make
84
+ ```
85
+
86
+ Step 3: Run inference through the main binary.
87
+ ```
88
+ ./llama-cli --hf-repo ldostadi/Phi-4-mini-reasoning-abliterated-Q4_K_M-GGUF --hf-file phi-4-mini-reasoning-abliterated-q4_k_m.gguf -p "The meaning to life and the universe is"
89
+ ```
90
+ or
91
+ ```
92
+ ./llama-server --hf-repo ldostadi/Phi-4-mini-reasoning-abliterated-Q4_K_M-GGUF --hf-file phi-4-mini-reasoning-abliterated-q4_k_m.gguf -c 2048
93
+ ```