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