oceansweep
commited on
Commit
•
079a9c7
1
Parent(s):
1665005
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- fr
|
5 |
+
- de
|
6 |
+
- es
|
7 |
+
- it
|
8 |
+
- pt
|
9 |
+
- ja
|
10 |
+
- ko
|
11 |
+
- zh
|
12 |
+
- ar
|
13 |
+
license: cc-by-nc-4.0
|
14 |
+
library_name: transformers
|
15 |
+
tags:
|
16 |
+
- llama-cpp
|
17 |
+
- gguf-my-repo
|
18 |
+
---
|
19 |
+
|
20 |
+
# oceansweep/c4ai-command-r-v01-Q6_K-GGUF
|
21 |
+
This model was converted to GGUF format from [`CohereForAI/c4ai-command-r-v01`](https://huggingface.co/CohereForAI/c4ai-command-r-v01) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
22 |
+
Refer to the [original model card](https://huggingface.co/CohereForAI/c4ai-command-r-v01) for more details on the model.
|
23 |
+
## Use with llama.cpp
|
24 |
+
|
25 |
+
Install llama.cpp through brew.
|
26 |
+
|
27 |
+
```bash
|
28 |
+
brew install ggerganov/ggerganov/llama.cpp
|
29 |
+
```
|
30 |
+
Invoke the llama.cpp server or the CLI.
|
31 |
+
|
32 |
+
CLI:
|
33 |
+
|
34 |
+
```bash
|
35 |
+
llama-cli --hf-repo oceansweep/c4ai-command-r-v01-Q6_K-GGUF --model c4ai-command-r-v01.Q6_K.gguf -p "The meaning to life and the universe is"
|
36 |
+
```
|
37 |
+
|
38 |
+
Server:
|
39 |
+
|
40 |
+
```bash
|
41 |
+
llama-server --hf-repo oceansweep/c4ai-command-r-v01-Q6_K-GGUF --model c4ai-command-r-v01.Q6_K.gguf -c 2048
|
42 |
+
```
|
43 |
+
|
44 |
+
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.
|
45 |
+
|
46 |
+
```
|
47 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m c4ai-command-r-v01.Q6_K.gguf -n 128
|
48 |
+
```
|