GGUF
English
causal-lm
llama-cpp
gguf-my-repo
mrmage commited on
Commit
9b50611
1 Parent(s): 39b92fd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +70 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stablelm-2-1_6b-chat
3
+ datasets:
4
+ - HuggingFaceH4/ultrachat_200k
5
+ - allenai/ultrafeedback_binarized_cleaned
6
+ - meta-math/MetaMathQA
7
+ - WizardLM/WizardLM_evol_instruct_V2_196k
8
+ - openchat/openchat_sharegpt4_dataset
9
+ - LDJnr/Capybara
10
+ - Intel/orca_dpo_pairs
11
+ - hkust-nlp/deita-10k-v0
12
+ - teknium/OpenHermes-2.5
13
+ language:
14
+ - en
15
+ license: other
16
+ tags:
17
+ - causal-lm
18
+ - llama-cpp
19
+ - gguf-my-repo
20
+ extra_gated_fields:
21
+ Name: text
22
+ Email: text
23
+ Country: text
24
+ Organization or Affiliation: text
25
+ I ALLOW Stability AI to email me about new model releases: checkbox
26
+ ---
27
+
28
+ # mrmage/stablelm-2-1_6b-chat-Q3_K_L-GGUF
29
+ This model was converted to GGUF format from [`stabilityai/stablelm-2-1_6b-chat`](https://huggingface.co/stabilityai/stablelm-2-1_6b-chat) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
30
+ Refer to the [original model card](https://huggingface.co/stabilityai/stablelm-2-1_6b-chat) for more details on the model.
31
+
32
+ ## Use with llama.cpp
33
+ Install llama.cpp through brew (works on Mac and Linux)
34
+
35
+ ```bash
36
+ brew install llama.cpp
37
+
38
+ ```
39
+ Invoke the llama.cpp server or the CLI.
40
+
41
+ ### CLI:
42
+ ```bash
43
+ llama-cli --hf-repo mrmage/stablelm-2-1_6b-chat-Q3_K_L-GGUF --hf-file stablelm-2-1_6b-chat-q3_k_l.gguf -p "The meaning to life and the universe is"
44
+ ```
45
+
46
+ ### Server:
47
+ ```bash
48
+ llama-server --hf-repo mrmage/stablelm-2-1_6b-chat-Q3_K_L-GGUF --hf-file stablelm-2-1_6b-chat-q3_k_l.gguf -c 2048
49
+ ```
50
+
51
+ 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.
52
+
53
+ Step 1: Clone llama.cpp from GitHub.
54
+ ```
55
+ git clone https://github.com/ggerganov/llama.cpp
56
+ ```
57
+
58
+ 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).
59
+ ```
60
+ cd llama.cpp && LLAMA_CURL=1 make
61
+ ```
62
+
63
+ Step 3: Run inference through the main binary.
64
+ ```
65
+ ./llama-cli --hf-repo mrmage/stablelm-2-1_6b-chat-Q3_K_L-GGUF --hf-file stablelm-2-1_6b-chat-q3_k_l.gguf -p "The meaning to life and the universe is"
66
+ ```
67
+ or
68
+ ```
69
+ ./llama-server --hf-repo mrmage/stablelm-2-1_6b-chat-Q3_K_L-GGUF --hf-file stablelm-2-1_6b-chat-q3_k_l.gguf -c 2048
70
+ ```