Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: other
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- causal-lm
|
8 |
+
- code
|
9 |
+
- llama-cpp
|
10 |
+
- gguf-my-repo
|
11 |
+
metrics:
|
12 |
+
- code_eval
|
13 |
+
model-index:
|
14 |
+
- name: stabilityai/stable-code-instruct-3b
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
type: text-generation
|
18 |
+
dataset:
|
19 |
+
name: MultiPL-HumanEval (Python)
|
20 |
+
type: nuprl/MultiPL-E
|
21 |
+
metrics:
|
22 |
+
- type: pass@1
|
23 |
+
value: 32.4
|
24 |
+
name: pass@1
|
25 |
+
verified: false
|
26 |
+
- type: pass@1
|
27 |
+
value: 30.9
|
28 |
+
name: pass@1
|
29 |
+
verified: false
|
30 |
+
- type: pass@1
|
31 |
+
value: 32.1
|
32 |
+
name: pass@1
|
33 |
+
verified: false
|
34 |
+
- type: pass@1
|
35 |
+
value: 32.1
|
36 |
+
name: pass@1
|
37 |
+
verified: false
|
38 |
+
- type: pass@1
|
39 |
+
value: 24.2
|
40 |
+
name: pass@1
|
41 |
+
verified: false
|
42 |
+
- type: pass@1
|
43 |
+
value: 23.0
|
44 |
+
name: pass@1
|
45 |
+
verified: false
|
46 |
+
---
|
47 |
+
|
48 |
+
# DavidAU/stable-code-instruct-3b-Q6_K-GGUF
|
49 |
+
This model was converted to GGUF format from [`stabilityai/stable-code-instruct-3b`](https://huggingface.co/stabilityai/stable-code-instruct-3b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
50 |
+
Refer to the [original model card](https://huggingface.co/stabilityai/stable-code-instruct-3b) for more details on the model.
|
51 |
+
## Use with llama.cpp
|
52 |
+
|
53 |
+
Install llama.cpp through brew.
|
54 |
+
|
55 |
+
```bash
|
56 |
+
brew install ggerganov/ggerganov/llama.cpp
|
57 |
+
```
|
58 |
+
Invoke the llama.cpp server or the CLI.
|
59 |
+
|
60 |
+
CLI:
|
61 |
+
|
62 |
+
```bash
|
63 |
+
llama-cli --hf-repo DavidAU/stable-code-instruct-3b-Q6_K-GGUF --model stable-code-instruct-3b.Q6_K.gguf -p "The meaning to life and the universe is"
|
64 |
+
```
|
65 |
+
|
66 |
+
Server:
|
67 |
+
|
68 |
+
```bash
|
69 |
+
llama-server --hf-repo DavidAU/stable-code-instruct-3b-Q6_K-GGUF --model stable-code-instruct-3b.Q6_K.gguf -c 2048
|
70 |
+
```
|
71 |
+
|
72 |
+
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.
|
73 |
+
|
74 |
+
```
|
75 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m stable-code-instruct-3b.Q6_K.gguf -n 128
|
76 |
+
```
|