NikolayKozloff
commited on
Commit
•
778bf38
1
Parent(s):
aed0fb7
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: utter-project/EuroLLM-1.7B
|
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 |
+
library_name: transformers
|
40 |
+
license: apache-2.0
|
41 |
+
tags:
|
42 |
+
- llama-cpp
|
43 |
+
- gguf-my-repo
|
44 |
+
---
|
45 |
+
|
46 |
+
# NikolayKozloff/EuroLLM-1.7B-Q8_0-GGUF
|
47 |
+
This model was converted to GGUF format from [`utter-project/EuroLLM-1.7B`](https://huggingface.co/utter-project/EuroLLM-1.7B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
48 |
+
Refer to the [original model card](https://huggingface.co/utter-project/EuroLLM-1.7B) for more details on the model.
|
49 |
+
|
50 |
+
## Use with llama.cpp
|
51 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
52 |
+
|
53 |
+
```bash
|
54 |
+
brew install llama.cpp
|
55 |
+
|
56 |
+
```
|
57 |
+
Invoke the llama.cpp server or the CLI.
|
58 |
+
|
59 |
+
### CLI:
|
60 |
+
```bash
|
61 |
+
llama-cli --hf-repo NikolayKozloff/EuroLLM-1.7B-Q8_0-GGUF --hf-file eurollm-1.7b-q8_0.gguf -p "The meaning to life and the universe is"
|
62 |
+
```
|
63 |
+
|
64 |
+
### Server:
|
65 |
+
```bash
|
66 |
+
llama-server --hf-repo NikolayKozloff/EuroLLM-1.7B-Q8_0-GGUF --hf-file eurollm-1.7b-q8_0.gguf -c 2048
|
67 |
+
```
|
68 |
+
|
69 |
+
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.
|
70 |
+
|
71 |
+
Step 1: Clone llama.cpp from GitHub.
|
72 |
+
```
|
73 |
+
git clone https://github.com/ggerganov/llama.cpp
|
74 |
+
```
|
75 |
+
|
76 |
+
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).
|
77 |
+
```
|
78 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
79 |
+
```
|
80 |
+
|
81 |
+
Step 3: Run inference through the main binary.
|
82 |
+
```
|
83 |
+
./llama-cli --hf-repo NikolayKozloff/EuroLLM-1.7B-Q8_0-GGUF --hf-file eurollm-1.7b-q8_0.gguf -p "The meaning to life and the universe is"
|
84 |
+
```
|
85 |
+
or
|
86 |
+
```
|
87 |
+
./llama-server --hf-repo NikolayKozloff/EuroLLM-1.7B-Q8_0-GGUF --hf-file eurollm-1.7b-q8_0.gguf -c 2048
|
88 |
+
```
|