Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
extra_gated_fields:
|
3 |
+
First Name: text
|
4 |
+
Last Name: text
|
5 |
+
Date of birth: date_picker
|
6 |
+
Country: country
|
7 |
+
Affiliation: text
|
8 |
+
Job title:
|
9 |
+
type: select
|
10 |
+
options:
|
11 |
+
- Student
|
12 |
+
- Research Graduate
|
13 |
+
- AI researcher
|
14 |
+
- AI developer/engineer
|
15 |
+
- Reporter
|
16 |
+
- Other
|
17 |
+
geo: ip_location
|
18 |
+
? By clicking Submit below I accept the terms of the license and acknowledge that
|
19 |
+
the information I provide will be collected stored processed and shared in accordance
|
20 |
+
with the Meta Privacy Policy
|
21 |
+
: checkbox
|
22 |
+
extra_gated_description: The information you provide will be collected, stored, processed
|
23 |
+
and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
|
24 |
+
extra_gated_button_content: Submit
|
25 |
+
language:
|
26 |
+
- en
|
27 |
+
tags:
|
28 |
+
- meta-ai
|
29 |
+
- meta-pytorch
|
30 |
+
- llama-cpp
|
31 |
+
- gguf-my-repo
|
32 |
+
license: fair-noncommercial-research-license
|
33 |
+
license-link: https://huggingface.co/facebook/fair-noncommercial-research-license
|
34 |
+
base_model: facebook/cwm
|
35 |
+
---
|
36 |
+
|
37 |
+
# abhijithmallya/cwm-Q4_0-GGUF
|
38 |
+
This model was converted to GGUF format from [`facebook/cwm`](https://huggingface.co/facebook/cwm) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
39 |
+
Refer to the [original model card](https://huggingface.co/facebook/cwm) for more details on the model.
|
40 |
+
|
41 |
+
## Use with llama.cpp
|
42 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
43 |
+
|
44 |
+
```bash
|
45 |
+
brew install llama.cpp
|
46 |
+
|
47 |
+
```
|
48 |
+
Invoke the llama.cpp server or the CLI.
|
49 |
+
|
50 |
+
### CLI:
|
51 |
+
```bash
|
52 |
+
llama-cli --hf-repo abhijithmallya/cwm-Q4_0-GGUF --hf-file cwm-q4_0.gguf -p "The meaning to life and the universe is"
|
53 |
+
```
|
54 |
+
|
55 |
+
### Server:
|
56 |
+
```bash
|
57 |
+
llama-server --hf-repo abhijithmallya/cwm-Q4_0-GGUF --hf-file cwm-q4_0.gguf -c 2048
|
58 |
+
```
|
59 |
+
|
60 |
+
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.
|
61 |
+
|
62 |
+
Step 1: Clone llama.cpp from GitHub.
|
63 |
+
```
|
64 |
+
git clone https://github.com/ggerganov/llama.cpp
|
65 |
+
```
|
66 |
+
|
67 |
+
Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
|
68 |
+
```
|
69 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
70 |
+
```
|
71 |
+
|
72 |
+
Step 3: Run inference through the main binary.
|
73 |
+
```
|
74 |
+
./llama-cli --hf-repo abhijithmallya/cwm-Q4_0-GGUF --hf-file cwm-q4_0.gguf -p "The meaning to life and the universe is"
|
75 |
+
```
|
76 |
+
or
|
77 |
+
```
|
78 |
+
./llama-server --hf-repo abhijithmallya/cwm-Q4_0-GGUF --hf-file cwm-q4_0.gguf -c 2048
|
79 |
+
```
|