Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- it
|
4 |
+
- en
|
5 |
+
license: apache-2.0
|
6 |
+
tags:
|
7 |
+
- pretrained
|
8 |
+
- llama-cpp
|
9 |
+
- gguf-my-repo
|
10 |
+
datasets:
|
11 |
+
- uonlp/CulturaX
|
12 |
+
pipeline_tag: text-generation
|
13 |
+
widget:
|
14 |
+
- text: 'La capitale dell''Italia è '
|
15 |
+
example_title: Example 1
|
16 |
+
- text: 'Nel mezzo del cammin di nostra vita '
|
17 |
+
example_title: Example 2
|
18 |
+
- text: 'Una cena senza vino è come '
|
19 |
+
example_title: Example 3
|
20 |
+
---
|
21 |
+
|
22 |
+
# mudler/Minerva-3B-base-v1.0-Q5_0-GGUF
|
23 |
+
This model was converted to GGUF format from [`sapienzanlp/Minerva-3B-base-v1.0`](https://huggingface.co/sapienzanlp/Minerva-3B-base-v1.0) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
24 |
+
Refer to the [original model card](https://huggingface.co/sapienzanlp/Minerva-3B-base-v1.0) for more details on the model.
|
25 |
+
## Use with llama.cpp
|
26 |
+
|
27 |
+
Install llama.cpp through brew.
|
28 |
+
|
29 |
+
```bash
|
30 |
+
brew install ggerganov/ggerganov/llama.cpp
|
31 |
+
```
|
32 |
+
Invoke the llama.cpp server or the CLI.
|
33 |
+
|
34 |
+
CLI:
|
35 |
+
|
36 |
+
```bash
|
37 |
+
llama-cli --hf-repo mudler/Minerva-3B-base-v1.0-Q5_0-GGUF --model minerva-3b-base-v1.0.Q5_0.gguf -p "The meaning to life and the universe is"
|
38 |
+
```
|
39 |
+
|
40 |
+
Server:
|
41 |
+
|
42 |
+
```bash
|
43 |
+
llama-server --hf-repo mudler/Minerva-3B-base-v1.0-Q5_0-GGUF --model minerva-3b-base-v1.0.Q5_0.gguf -c 2048
|
44 |
+
```
|
45 |
+
|
46 |
+
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.
|
47 |
+
|
48 |
+
```
|
49 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m minerva-3b-base-v1.0.Q5_0.gguf -n 128
|
50 |
+
```
|