PuneethReddy commited on
Commit
c7df56c
1 Parent(s): 2cb7b3c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +169 -0
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stablelm-zephyr-3b
3
+ datasets:
4
+ - HuggingFaceH4/ultrachat_200k
5
+ - HuggingFaceH4/ultrafeedback_binarized
6
+ - meta-math/MetaMathQA
7
+ - WizardLM/WizardLM_evol_instruct_V2_196k
8
+ - Intel/orca_dpo_pairs
9
+ language:
10
+ - en
11
+ license: other
12
+ tags:
13
+ - causal-lm
14
+ - llama-cpp
15
+ - gguf-my-repo
16
+ extra_gated_fields:
17
+ Name: text
18
+ Email: text
19
+ Country: text
20
+ Organization or Affiliation: text
21
+ I ALLOW Stability AI to email me about new model releases: checkbox
22
+ model-index:
23
+ - name: stablelm-zephyr-3b
24
+ results:
25
+ - task:
26
+ type: text-generation
27
+ name: Text Generation
28
+ dataset:
29
+ name: AI2 Reasoning Challenge (25-Shot)
30
+ type: ai2_arc
31
+ config: ARC-Challenge
32
+ split: test
33
+ args:
34
+ num_few_shot: 25
35
+ metrics:
36
+ - type: acc_norm
37
+ value: 46.08
38
+ name: normalized accuracy
39
+ source:
40
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=stabilityai/stablelm-zephyr-3b
41
+ name: Open LLM Leaderboard
42
+ - task:
43
+ type: text-generation
44
+ name: Text Generation
45
+ dataset:
46
+ name: HellaSwag (10-Shot)
47
+ type: hellaswag
48
+ split: validation
49
+ args:
50
+ num_few_shot: 10
51
+ metrics:
52
+ - type: acc_norm
53
+ value: 74.16
54
+ name: normalized accuracy
55
+ source:
56
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=stabilityai/stablelm-zephyr-3b
57
+ name: Open LLM Leaderboard
58
+ - task:
59
+ type: text-generation
60
+ name: Text Generation
61
+ dataset:
62
+ name: MMLU (5-Shot)
63
+ type: cais/mmlu
64
+ config: all
65
+ split: test
66
+ args:
67
+ num_few_shot: 5
68
+ metrics:
69
+ - type: acc
70
+ value: 46.17
71
+ name: accuracy
72
+ source:
73
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=stabilityai/stablelm-zephyr-3b
74
+ name: Open LLM Leaderboard
75
+ - task:
76
+ type: text-generation
77
+ name: Text Generation
78
+ dataset:
79
+ name: TruthfulQA (0-shot)
80
+ type: truthful_qa
81
+ config: multiple_choice
82
+ split: validation
83
+ args:
84
+ num_few_shot: 0
85
+ metrics:
86
+ - type: mc2
87
+ value: 46.49
88
+ source:
89
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=stabilityai/stablelm-zephyr-3b
90
+ name: Open LLM Leaderboard
91
+ - task:
92
+ type: text-generation
93
+ name: Text Generation
94
+ dataset:
95
+ name: Winogrande (5-shot)
96
+ type: winogrande
97
+ config: winogrande_xl
98
+ split: validation
99
+ args:
100
+ num_few_shot: 5
101
+ metrics:
102
+ - type: acc
103
+ value: 65.51
104
+ name: accuracy
105
+ source:
106
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=stabilityai/stablelm-zephyr-3b
107
+ name: Open LLM Leaderboard
108
+ - task:
109
+ type: text-generation
110
+ name: Text Generation
111
+ dataset:
112
+ name: GSM8k (5-shot)
113
+ type: gsm8k
114
+ config: main
115
+ split: test
116
+ args:
117
+ num_few_shot: 5
118
+ metrics:
119
+ - type: acc
120
+ value: 42.15
121
+ name: accuracy
122
+ source:
123
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=stabilityai/stablelm-zephyr-3b
124
+ name: Open LLM Leaderboard
125
+ ---
126
+
127
+ # PuneethReddy/stablelm-zephyr-3b-Q5_K_M-GGUF
128
+ This model was converted to GGUF format from [`stabilityai/stablelm-zephyr-3b`](https://huggingface.co/stabilityai/stablelm-zephyr-3b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
129
+ Refer to the [original model card](https://huggingface.co/stabilityai/stablelm-zephyr-3b) for more details on the model.
130
+
131
+ ## Use with llama.cpp
132
+ Install llama.cpp through brew (works on Mac and Linux)
133
+
134
+ ```bash
135
+ brew install llama.cpp
136
+
137
+ ```
138
+ Invoke the llama.cpp server or the CLI.
139
+
140
+ ### CLI:
141
+ ```bash
142
+ llama-cli --hf-repo PuneethReddy/stablelm-zephyr-3b-Q5_K_M-GGUF --hf-file stablelm-zephyr-3b-q5_k_m.gguf -p "The meaning to life and the universe is"
143
+ ```
144
+
145
+ ### Server:
146
+ ```bash
147
+ llama-server --hf-repo PuneethReddy/stablelm-zephyr-3b-Q5_K_M-GGUF --hf-file stablelm-zephyr-3b-q5_k_m.gguf -c 2048
148
+ ```
149
+
150
+ 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.
151
+
152
+ Step 1: Clone llama.cpp from GitHub.
153
+ ```
154
+ git clone https://github.com/ggerganov/llama.cpp
155
+ ```
156
+
157
+ 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).
158
+ ```
159
+ cd llama.cpp && LLAMA_CURL=1 make
160
+ ```
161
+
162
+ Step 3: Run inference through the main binary.
163
+ ```
164
+ ./llama-cli --hf-repo PuneethReddy/stablelm-zephyr-3b-Q5_K_M-GGUF --hf-file stablelm-zephyr-3b-q5_k_m.gguf -p "The meaning to life and the universe is"
165
+ ```
166
+ or
167
+ ```
168
+ ./llama-server --hf-repo PuneethReddy/stablelm-zephyr-3b-Q5_K_M-GGUF --hf-file stablelm-zephyr-3b-q5_k_m.gguf -c 2048
169
+ ```