Triangle104 commited on
Commit
e850e5e
·
verified ·
1 Parent(s): 776c93b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: DavidAU/Gemma-3-4b-it-Uncensored-DBL-X
3
+ language:
4
+ - en
5
+ library_name: transformers
6
+ license: apache-2.0
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - Gemma 3
10
+ - instruct
11
+ - 128k context
12
+ - not-for-all-audiences
13
+ - all use cases
14
+ - r rated
15
+ - x rated
16
+ - function calling
17
+ - roleplaying
18
+ - chat
19
+ - Uncensored
20
+ - creative
21
+ - general usage
22
+ - problem solving
23
+ - brainstorming
24
+ - solve riddles
25
+ - fiction writing
26
+ - plot generation
27
+ - sub-plot generation
28
+ - story generation
29
+ - scene continue
30
+ - storytelling
31
+ - fiction story
32
+ - story
33
+ - writing
34
+ - fiction
35
+ - swearing
36
+ - horror
37
+ - llama-cpp
38
+ - gguf-my-repo
39
+ ---
40
+
41
+ # Triangle104/Gemma-3-4b-it-Uncensored-DBL-X-Q4_K_S-GGUF
42
+ This model was converted to GGUF format from [`DavidAU/Gemma-3-4b-it-Uncensored-DBL-X`](https://huggingface.co/DavidAU/Gemma-3-4b-it-Uncensored-DBL-X) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
43
+ Refer to the [original model card](https://huggingface.co/DavidAU/Gemma-3-4b-it-Uncensored-DBL-X) for more details on the model.
44
+
45
+ ## Use with llama.cpp
46
+ Install llama.cpp through brew (works on Mac and Linux)
47
+
48
+ ```bash
49
+ brew install llama.cpp
50
+
51
+ ```
52
+ Invoke the llama.cpp server or the CLI.
53
+
54
+ ### CLI:
55
+ ```bash
56
+ llama-cli --hf-repo Triangle104/Gemma-3-4b-it-Uncensored-DBL-X-Q4_K_S-GGUF --hf-file gemma-3-4b-it-uncensored-dbl-x-q4_k_s.gguf -p "The meaning to life and the universe is"
57
+ ```
58
+
59
+ ### Server:
60
+ ```bash
61
+ llama-server --hf-repo Triangle104/Gemma-3-4b-it-Uncensored-DBL-X-Q4_K_S-GGUF --hf-file gemma-3-4b-it-uncensored-dbl-x-q4_k_s.gguf -c 2048
62
+ ```
63
+
64
+ 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.
65
+
66
+ Step 1: Clone llama.cpp from GitHub.
67
+ ```
68
+ git clone https://github.com/ggerganov/llama.cpp
69
+ ```
70
+
71
+ 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).
72
+ ```
73
+ cd llama.cpp && LLAMA_CURL=1 make
74
+ ```
75
+
76
+ Step 3: Run inference through the main binary.
77
+ ```
78
+ ./llama-cli --hf-repo Triangle104/Gemma-3-4b-it-Uncensored-DBL-X-Q4_K_S-GGUF --hf-file gemma-3-4b-it-uncensored-dbl-x-q4_k_s.gguf -p "The meaning to life and the universe is"
79
+ ```
80
+ or
81
+ ```
82
+ ./llama-server --hf-repo Triangle104/Gemma-3-4b-it-Uncensored-DBL-X-Q4_K_S-GGUF --hf-file gemma-3-4b-it-uncensored-dbl-x-q4_k_s.gguf -c 2048
83
+ ```