Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: bigcode-openrail-m
|
3 |
+
library_name: transformers
|
4 |
+
tags:
|
5 |
+
- code
|
6 |
+
- starcoder2
|
7 |
+
- llama-cpp
|
8 |
+
- gguf-my-repo
|
9 |
+
pipeline_tag: text-generation
|
10 |
+
---
|
11 |
+
|
12 |
+
# DavidAU/starcoder2-3b-instruct-Q6_K-GGUF
|
13 |
+
This model was converted to GGUF format from [`TechxGenus/starcoder2-3b-instruct`](https://huggingface.co/TechxGenus/starcoder2-3b-instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
14 |
+
Refer to the [original model card](https://huggingface.co/TechxGenus/starcoder2-3b-instruct) for more details on the model.
|
15 |
+
## Use with llama.cpp
|
16 |
+
|
17 |
+
Install llama.cpp through brew.
|
18 |
+
|
19 |
+
```bash
|
20 |
+
brew install ggerganov/ggerganov/llama.cpp
|
21 |
+
```
|
22 |
+
Invoke the llama.cpp server or the CLI.
|
23 |
+
|
24 |
+
CLI:
|
25 |
+
|
26 |
+
```bash
|
27 |
+
llama-cli --hf-repo DavidAU/starcoder2-3b-instruct-Q6_K-GGUF --model starcoder2-3b-instruct.Q6_K.gguf -p "The meaning to life and the universe is"
|
28 |
+
```
|
29 |
+
|
30 |
+
Server:
|
31 |
+
|
32 |
+
```bash
|
33 |
+
llama-server --hf-repo DavidAU/starcoder2-3b-instruct-Q6_K-GGUF --model starcoder2-3b-instruct.Q6_K.gguf -c 2048
|
34 |
+
```
|
35 |
+
|
36 |
+
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.
|
37 |
+
|
38 |
+
```
|
39 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m starcoder2-3b-instruct.Q6_K.gguf -n 128
|
40 |
+
```
|