KnutJaegersberg
commited on
Commit
•
2d19c81
1
Parent(s):
8c4e7f7
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- de
|
4 |
+
- bg
|
5 |
+
- cs
|
6 |
+
- da
|
7 |
+
- el
|
8 |
+
- en
|
9 |
+
- es
|
10 |
+
- et
|
11 |
+
- fi
|
12 |
+
- fr
|
13 |
+
- ga
|
14 |
+
- hr
|
15 |
+
- hu
|
16 |
+
- it
|
17 |
+
- lt
|
18 |
+
- lv
|
19 |
+
- mt
|
20 |
+
- nl
|
21 |
+
- pl
|
22 |
+
- pt
|
23 |
+
- ro
|
24 |
+
- sl
|
25 |
+
- sv
|
26 |
+
- sk
|
27 |
+
metrics:
|
28 |
+
- accuracy
|
29 |
+
- bleu
|
30 |
+
pipeline_tag: text-generation
|
31 |
+
library_name: transformers
|
32 |
+
base_model: openGPT-X/Teuken-7B-instruct-research-v0.4
|
33 |
+
license: other
|
34 |
+
tags:
|
35 |
+
- llama-cpp
|
36 |
+
- gguf-my-repo
|
37 |
+
---
|
38 |
+
|
39 |
+
# KnutJaegersberg/Teuken-7B-instruct-research-v0.4-Q4_K_M-GGUF
|
40 |
+
This model was converted to GGUF format from [`openGPT-X/Teuken-7B-instruct-research-v0.4`](https://huggingface.co/openGPT-X/Teuken-7B-instruct-research-v0.4) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
41 |
+
Refer to the [original model card](https://huggingface.co/openGPT-X/Teuken-7B-instruct-research-v0.4) for more details on the model.
|
42 |
+
|
43 |
+
## Use with llama.cpp
|
44 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
45 |
+
|
46 |
+
```bash
|
47 |
+
brew install llama.cpp
|
48 |
+
|
49 |
+
```
|
50 |
+
Invoke the llama.cpp server or the CLI.
|
51 |
+
|
52 |
+
### CLI:
|
53 |
+
```bash
|
54 |
+
llama-cli --hf-repo KnutJaegersberg/Teuken-7B-instruct-research-v0.4-Q4_K_M-GGUF --hf-file teuken-7b-instruct-research-v0.4-q4_k_m-imat.gguf -p "The meaning to life and the universe is"
|
55 |
+
```
|
56 |
+
|
57 |
+
### Server:
|
58 |
+
```bash
|
59 |
+
llama-server --hf-repo KnutJaegersberg/Teuken-7B-instruct-research-v0.4-Q4_K_M-GGUF --hf-file teuken-7b-instruct-research-v0.4-q4_k_m-imat.gguf -c 2048
|
60 |
+
```
|
61 |
+
|
62 |
+
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.
|
63 |
+
|
64 |
+
Step 1: Clone llama.cpp from GitHub.
|
65 |
+
```
|
66 |
+
git clone https://github.com/ggerganov/llama.cpp
|
67 |
+
```
|
68 |
+
|
69 |
+
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).
|
70 |
+
```
|
71 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
72 |
+
```
|
73 |
+
|
74 |
+
Step 3: Run inference through the main binary.
|
75 |
+
```
|
76 |
+
./llama-cli --hf-repo KnutJaegersberg/Teuken-7B-instruct-research-v0.4-Q4_K_M-GGUF --hf-file teuken-7b-instruct-research-v0.4-q4_k_m-imat.gguf -p "The meaning to life and the universe is"
|
77 |
+
```
|
78 |
+
or
|
79 |
+
```
|
80 |
+
./llama-server --hf-repo KnutJaegersberg/Teuken-7B-instruct-research-v0.4-Q4_K_M-GGUF --hf-file teuken-7b-instruct-research-v0.4-q4_k_m-imat.gguf -c 2048
|
81 |
+
```
|