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