Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- pt
|
4 |
+
license: apache-2.0
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- portuguese
|
8 |
+
- brasil
|
9 |
+
- gemma
|
10 |
+
- portugues
|
11 |
+
- instrucao
|
12 |
+
- llama-cpp
|
13 |
+
- gguf-my-repo
|
14 |
+
base_model: google/gemma-2b-it
|
15 |
+
datasets:
|
16 |
+
- rhaymison/superset
|
17 |
+
pipeline_tag: text-generation
|
18 |
+
model-index:
|
19 |
+
- name: gemma-portuguese-tom-cat-2b-it
|
20 |
+
results:
|
21 |
+
- task:
|
22 |
+
type: text-generation
|
23 |
+
name: Text Generation
|
24 |
+
dataset:
|
25 |
+
name: ENEM Challenge (No Images)
|
26 |
+
type: eduagarcia/enem_challenge
|
27 |
+
split: train
|
28 |
+
args:
|
29 |
+
num_few_shot: 3
|
30 |
+
metrics:
|
31 |
+
- type: acc
|
32 |
+
value: 27.71
|
33 |
+
name: accuracy
|
34 |
+
source:
|
35 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
36 |
+
name: Open Portuguese LLM Leaderboard
|
37 |
+
- task:
|
38 |
+
type: text-generation
|
39 |
+
name: Text Generation
|
40 |
+
dataset:
|
41 |
+
name: BLUEX (No Images)
|
42 |
+
type: eduagarcia-temp/BLUEX_without_images
|
43 |
+
split: train
|
44 |
+
args:
|
45 |
+
num_few_shot: 3
|
46 |
+
metrics:
|
47 |
+
- type: acc
|
48 |
+
value: 29.07
|
49 |
+
name: accuracy
|
50 |
+
source:
|
51 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
52 |
+
name: Open Portuguese LLM Leaderboard
|
53 |
+
- task:
|
54 |
+
type: text-generation
|
55 |
+
name: Text Generation
|
56 |
+
dataset:
|
57 |
+
name: OAB Exams
|
58 |
+
type: eduagarcia/oab_exams
|
59 |
+
split: train
|
60 |
+
args:
|
61 |
+
num_few_shot: 3
|
62 |
+
metrics:
|
63 |
+
- type: acc
|
64 |
+
value: 27.97
|
65 |
+
name: accuracy
|
66 |
+
source:
|
67 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
68 |
+
name: Open Portuguese LLM Leaderboard
|
69 |
+
- task:
|
70 |
+
type: text-generation
|
71 |
+
name: Text Generation
|
72 |
+
dataset:
|
73 |
+
name: Assin2 RTE
|
74 |
+
type: assin2
|
75 |
+
split: test
|
76 |
+
args:
|
77 |
+
num_few_shot: 15
|
78 |
+
metrics:
|
79 |
+
- type: f1_macro
|
80 |
+
value: 46.84
|
81 |
+
name: f1-macro
|
82 |
+
source:
|
83 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
84 |
+
name: Open Portuguese LLM Leaderboard
|
85 |
+
- task:
|
86 |
+
type: text-generation
|
87 |
+
name: Text Generation
|
88 |
+
dataset:
|
89 |
+
name: Assin2 STS
|
90 |
+
type: eduagarcia/portuguese_benchmark
|
91 |
+
split: test
|
92 |
+
args:
|
93 |
+
num_few_shot: 15
|
94 |
+
metrics:
|
95 |
+
- type: pearson
|
96 |
+
value: 14.06
|
97 |
+
name: pearson
|
98 |
+
source:
|
99 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
100 |
+
name: Open Portuguese LLM Leaderboard
|
101 |
+
- task:
|
102 |
+
type: text-generation
|
103 |
+
name: Text Generation
|
104 |
+
dataset:
|
105 |
+
name: FaQuAD NLI
|
106 |
+
type: ruanchaves/faquad-nli
|
107 |
+
split: test
|
108 |
+
args:
|
109 |
+
num_few_shot: 15
|
110 |
+
metrics:
|
111 |
+
- type: f1_macro
|
112 |
+
value: 29.39
|
113 |
+
name: f1-macro
|
114 |
+
source:
|
115 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
116 |
+
name: Open Portuguese LLM Leaderboard
|
117 |
+
- task:
|
118 |
+
type: text-generation
|
119 |
+
name: Text Generation
|
120 |
+
dataset:
|
121 |
+
name: HateBR Binary
|
122 |
+
type: ruanchaves/hatebr
|
123 |
+
split: test
|
124 |
+
args:
|
125 |
+
num_few_shot: 25
|
126 |
+
metrics:
|
127 |
+
- type: f1_macro
|
128 |
+
value: 46.59
|
129 |
+
name: f1-macro
|
130 |
+
source:
|
131 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
132 |
+
name: Open Portuguese LLM Leaderboard
|
133 |
+
- task:
|
134 |
+
type: text-generation
|
135 |
+
name: Text Generation
|
136 |
+
dataset:
|
137 |
+
name: PT Hate Speech Binary
|
138 |
+
type: hate_speech_portuguese
|
139 |
+
split: test
|
140 |
+
args:
|
141 |
+
num_few_shot: 25
|
142 |
+
metrics:
|
143 |
+
- type: f1_macro
|
144 |
+
value: 45.36
|
145 |
+
name: f1-macro
|
146 |
+
source:
|
147 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
148 |
+
name: Open Portuguese LLM Leaderboard
|
149 |
+
- task:
|
150 |
+
type: text-generation
|
151 |
+
name: Text Generation
|
152 |
+
dataset:
|
153 |
+
name: tweetSentBR
|
154 |
+
type: eduagarcia/tweetsentbr_fewshot
|
155 |
+
split: test
|
156 |
+
args:
|
157 |
+
num_few_shot: 25
|
158 |
+
metrics:
|
159 |
+
- type: f1_macro
|
160 |
+
value: 18.86
|
161 |
+
name: f1-macro
|
162 |
+
source:
|
163 |
+
url: https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard?query=rhaymison/gemma-portuguese-tom-cat-2b-it
|
164 |
+
name: Open Portuguese LLM Leaderboard
|
165 |
+
---
|
166 |
+
|
167 |
+
# noxinc/gemma-portuguese-tom-cat-2b-it-Q4_K_M-GGUF
|
168 |
+
This model was converted to GGUF format from [`rhaymison/gemma-portuguese-tom-cat-2b-it`](https://huggingface.co/rhaymison/gemma-portuguese-tom-cat-2b-it) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
169 |
+
Refer to the [original model card](https://huggingface.co/rhaymison/gemma-portuguese-tom-cat-2b-it) for more details on the model.
|
170 |
+
## Use with llama.cpp
|
171 |
+
|
172 |
+
Install llama.cpp through brew.
|
173 |
+
|
174 |
+
```bash
|
175 |
+
brew install ggerganov/ggerganov/llama.cpp
|
176 |
+
```
|
177 |
+
Invoke the llama.cpp server or the CLI.
|
178 |
+
|
179 |
+
CLI:
|
180 |
+
|
181 |
+
```bash
|
182 |
+
llama-cli --hf-repo noxinc/gemma-portuguese-tom-cat-2b-it-Q4_K_M-GGUF --model gemma-portuguese-tom-cat-2b-it.Q4_K_M.gguf -p "The meaning to life and the universe is"
|
183 |
+
```
|
184 |
+
|
185 |
+
Server:
|
186 |
+
|
187 |
+
```bash
|
188 |
+
llama-server --hf-repo noxinc/gemma-portuguese-tom-cat-2b-it-Q4_K_M-GGUF --model gemma-portuguese-tom-cat-2b-it.Q4_K_M.gguf -c 2048
|
189 |
+
```
|
190 |
+
|
191 |
+
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.
|
192 |
+
|
193 |
+
```
|
194 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m gemma-portuguese-tom-cat-2b-it.Q4_K_M.gguf -n 128
|
195 |
+
```
|