NikolayKozloff
commited on
Commit
•
105063f
1
Parent(s):
6c24040
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: HiTZ/latxa-7b-v1.2
|
3 |
+
datasets:
|
4 |
+
- HiTZ/latxa-corpus-v1.1
|
5 |
+
language:
|
6 |
+
- eu
|
7 |
+
- en
|
8 |
+
license: llama2
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
- f1
|
12 |
+
- perplexity
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
tags:
|
15 |
+
- llama-cpp
|
16 |
+
- gguf-my-repo
|
17 |
+
model-index:
|
18 |
+
- name: Latxa-7b-v1.2
|
19 |
+
results:
|
20 |
+
- task:
|
21 |
+
type: multiple-choice
|
22 |
+
dataset:
|
23 |
+
name: xstory_cloze
|
24 |
+
type: XStory
|
25 |
+
metrics:
|
26 |
+
- type: Accuracy (0-shot)
|
27 |
+
value: 65.72
|
28 |
+
name: Accuracy (0-shot)
|
29 |
+
source:
|
30 |
+
url: https://arxiv.org/abs/2403.20266
|
31 |
+
name: Paper
|
32 |
+
- task:
|
33 |
+
type: multiple-choice
|
34 |
+
dataset:
|
35 |
+
name: belebele
|
36 |
+
type: Belebele
|
37 |
+
metrics:
|
38 |
+
- type: Accuracy (5-shot)
|
39 |
+
value: 36.89
|
40 |
+
name: Accuracy (5-shot)
|
41 |
+
source:
|
42 |
+
url: https://arxiv.org/abs/2403.20266
|
43 |
+
name: Paper
|
44 |
+
- task:
|
45 |
+
type: mix
|
46 |
+
dataset:
|
47 |
+
name: basque_glue
|
48 |
+
type: BasqueGLUE
|
49 |
+
metrics:
|
50 |
+
- type: Average scores (5-shot)
|
51 |
+
value: 51.78
|
52 |
+
name: Average scores (5-shot)
|
53 |
+
source:
|
54 |
+
url: https://arxiv.org/abs/2403.20266
|
55 |
+
name: Paper
|
56 |
+
- task:
|
57 |
+
type: multiple_choice
|
58 |
+
dataset:
|
59 |
+
name: eus_proficiency
|
60 |
+
type: EusProficiency
|
61 |
+
metrics:
|
62 |
+
- type: Accuracy (5-shot)
|
63 |
+
value: 32.44
|
64 |
+
name: Accuracy (5-shot)
|
65 |
+
source:
|
66 |
+
url: https://arxiv.org/abs/2403.20266
|
67 |
+
name: Paper
|
68 |
+
- task:
|
69 |
+
type: multiple_choice
|
70 |
+
dataset:
|
71 |
+
name: eus_reading
|
72 |
+
type: EusReading
|
73 |
+
metrics:
|
74 |
+
- type: Accuracy (5-shot)
|
75 |
+
value: 30.4
|
76 |
+
name: Accuracy (5-shot)
|
77 |
+
source:
|
78 |
+
url: https://arxiv.org/abs/2403.20266
|
79 |
+
name: Paper
|
80 |
+
- task:
|
81 |
+
type: multiple_choice
|
82 |
+
dataset:
|
83 |
+
name: eus_trivia
|
84 |
+
type: EusTrivia
|
85 |
+
metrics:
|
86 |
+
- type: Accuracy (5-shot)
|
87 |
+
value: 44.37
|
88 |
+
name: Accuracy (5-shot)
|
89 |
+
source:
|
90 |
+
url: https://arxiv.org/abs/2403.20266
|
91 |
+
name: Paper
|
92 |
+
- task:
|
93 |
+
type: multiple_choice
|
94 |
+
dataset:
|
95 |
+
name: eus_exams
|
96 |
+
type: EusExams
|
97 |
+
metrics:
|
98 |
+
- type: Accuracy (5-shot)
|
99 |
+
value: 34.2
|
100 |
+
name: Accuracy (5-shot)
|
101 |
+
source:
|
102 |
+
url: https://arxiv.org/abs/2403.20266
|
103 |
+
name: Paper
|
104 |
+
---
|
105 |
+
|
106 |
+
# NikolayKozloff/latxa-7b-v1.2-Q8_0-GGUF
|
107 |
+
This model was converted to GGUF format from [`HiTZ/latxa-7b-v1.2`](https://huggingface.co/HiTZ/latxa-7b-v1.2) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
108 |
+
Refer to the [original model card](https://huggingface.co/HiTZ/latxa-7b-v1.2) for more details on the model.
|
109 |
+
|
110 |
+
## Use with llama.cpp
|
111 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
112 |
+
|
113 |
+
```bash
|
114 |
+
brew install llama.cpp
|
115 |
+
|
116 |
+
```
|
117 |
+
Invoke the llama.cpp server or the CLI.
|
118 |
+
|
119 |
+
### CLI:
|
120 |
+
```bash
|
121 |
+
llama-cli --hf-repo NikolayKozloff/latxa-7b-v1.2-Q8_0-GGUF --hf-file latxa-7b-v1.2-q8_0.gguf -p "The meaning to life and the universe is"
|
122 |
+
```
|
123 |
+
|
124 |
+
### Server:
|
125 |
+
```bash
|
126 |
+
llama-server --hf-repo NikolayKozloff/latxa-7b-v1.2-Q8_0-GGUF --hf-file latxa-7b-v1.2-q8_0.gguf -c 2048
|
127 |
+
```
|
128 |
+
|
129 |
+
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.
|
130 |
+
|
131 |
+
Step 1: Clone llama.cpp from GitHub.
|
132 |
+
```
|
133 |
+
git clone https://github.com/ggerganov/llama.cpp
|
134 |
+
```
|
135 |
+
|
136 |
+
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).
|
137 |
+
```
|
138 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
139 |
+
```
|
140 |
+
|
141 |
+
Step 3: Run inference through the main binary.
|
142 |
+
```
|
143 |
+
./llama-cli --hf-repo NikolayKozloff/latxa-7b-v1.2-Q8_0-GGUF --hf-file latxa-7b-v1.2-q8_0.gguf -p "The meaning to life and the universe is"
|
144 |
+
```
|
145 |
+
or
|
146 |
+
```
|
147 |
+
./llama-server --hf-repo NikolayKozloff/latxa-7b-v1.2-Q8_0-GGUF --hf-file latxa-7b-v1.2-q8_0.gguf -c 2048
|
148 |
+
```
|