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