ldostadi commited on
Commit
5933f79
·
verified ·
1 Parent(s): 69d43b9

Upload README.md with huggingface_hub

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