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