oceansweep
commited on
Commit
•
5eda981
1
Parent(s):
ee97d5a
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-Q8_0-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-Q8_0-GGUF --model c4ai-command-r-v01.Q8_0.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-Q8_0-GGUF --model c4ai-command-r-v01.Q8_0.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.Q8_0.gguf -n 128
|
48 |
+
```
|