Astralyra commited on
Commit
b551729
·
verified ·
1 Parent(s): 02d0486

Upload README.md with huggingface_hub

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