zerolimites commited on
Commit
a08fb1a
·
verified ·
1 Parent(s): e65300e

Upload Qwen3-0.6B-Base-Normal (Safetensors + GGUF Q8_0 & F16 + Baseline JSONs)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ Qwen3-0.6B-Base-Normal-F16.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Qwen3-0.6B-Base-Normal-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2024 Alibaba Cloud
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
Qwen3-0.6B-Base-Normal-F16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a93c45413c267be191c7fdcdaf7ea6a93bee21ba7e20057455a7f2f5323653a
3
+ size 1509347616
Qwen3-0.6B-Base-Normal-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b1acad16b923ba88b8cd72e37e74185111aebe73b31c43b52cd2d40cf8a4047
3
+ size 804753696
README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - pt
5
+ license: apache-2.0
6
+ base_model: Qwen/Qwen3-0.6B
7
+ tags:
8
+ - qwen3
9
+ - gguf
10
+ - baseline
11
+ pipeline_tag: text-generation
12
+ ---
13
+
14
+ # 🤖 Qwen3-0.6B-Base-Normal (Safetensors + GGUF Q8_0 & F16 — Modelo Base de Referência)
15
+
16
+ Este repositório contém o modelo **`Qwen/Qwen3-0.6B` Normal (Sem Edição de Pesos)** exportado tanto em formato **Hugging Face (`model.safetensors`)** quanto em **GGUF (`Q8_0` 8-bit e `F16` 16-bit)**, junto com os resultados de referência (*baseline*) nos 3 benchmarks:
17
+
18
+ 1. **Benchmark PT-BR ⇄ EN Professor (28 tarefas):** `0/28` (**0.00%**) -> Veja [`zerolimites/Qwen3-0.6B-PTBR-EN-Professor`](https://huggingface.co/zerolimites/Qwen3-0.6B-PTBR-EN-Professor) (**100.00%**)
19
+ 2. **Benchmark Executável de Código (28 problemas):** `13/28` (**46.43%**) -> Veja [`zerolimites/Qwen3-0.6B-Code-Surgery-v2`](https://huggingface.co/zerolimites/Qwen3-0.6B-Code-Surgery-v2) (**96.43%**)
20
+ 3. **Benchmark de Matemática (30 problemas):** `13/30` (**43.33%**) -> Veja [`zerolimites/Qwen3-0.6B-Math-Surgery-v2`](https://huggingface.co/zerolimites/Qwen3-0.6B-Math-Surgery-v2) (**76.67%**)
baseline_results.json ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total": 30,
3
+ "correct": 13,
4
+ "accuracy": 43.33,
5
+ "elapsed_sec": 146.87,
6
+ "results": [
7
+ {
8
+ "id": "ARITH_01",
9
+ "category": "Arithmetic",
10
+ "question": "Calculate: 17 * 24 - 19.",
11
+ "expected": "389",
12
+ "predicted": "389",
13
+ "correct": true,
14
+ "num_tokens": 32,
15
+ "response": "17 * 24 = 408 \n408 - 19 = 389 \n\n\\boxed{389}"
16
+ },
17
+ {
18
+ "id": "ARITH_02",
19
+ "category": "Arithmetic",
20
+ "question": "Calculate: (145 + 235) / 5 + 18 * 3.",
21
+ "expected": "130",
22
+ "predicted": "130",
23
+ "correct": true,
24
+ "num_tokens": 48,
25
+ "response": "(145 + 235) / 5 + 18 * 3 = 380 / 5 + 54 = 76 + 54 = \\boxed{130}"
26
+ },
27
+ {
28
+ "id": "ARITH_03",
29
+ "category": "Arithmetic",
30
+ "question": "Calculate: 23 * 19 - 14 * 12.",
31
+ "expected": "269",
32
+ "predicted": "269",
33
+ "correct": true,
34
+ "num_tokens": 32,
35
+ "response": "23 * 19 - 14 * 12 = 437 - 168 = \\boxed{269}"
36
+ },
37
+ {
38
+ "id": "ARITH_04",
39
+ "category": "Arithmetic",
40
+ "question": "Calculate: 360 / 15 + 27 * 4 - 39.",
41
+ "expected": "93",
42
+ "predicted": "135",
43
+ "correct": false,
44
+ "num_tokens": 49,
45
+ "response": "360 / 15 + 27 * 4 - 39 = 24 + 108 - 39 = 174 - 39 = $\\boxed{135}$."
46
+ },
47
+ {
48
+ "id": "ARITH_05",
49
+ "category": "Arithmetic",
50
+ "question": "Calculate: 16 * 16 + 15 * 15 - 14 * 14.",
51
+ "expected": "285",
52
+ "predicted": "285",
53
+ "correct": true,
54
+ "num_tokens": 70,
55
+ "response": "16 * 16 + 15 * 15 - 14 * 14 = 256 + 225 - 196 = 256 + 225 = 481 - 196 = 285\n\n\\boxed{285}"
56
+ },
57
+ {
58
+ "id": "ARITH_06",
59
+ "category": "Arithmetic",
60
+ "question": "Calculate: (84 - 29) * 6 - 115.",
61
+ "expected": "215",
62
+ "predicted": "215",
63
+ "correct": true,
64
+ "num_tokens": 46,
65
+ "response": "(84 - 29) * 6 - 115 = 55 * 6 - 115 = 330 - 115 = \\boxed{215}"
66
+ },
67
+ {
68
+ "id": "ARITH_07",
69
+ "category": "Arithmetic",
70
+ "question": "Calculate: 42 * 13 - 28 * 9.",
71
+ "expected": "294",
72
+ "predicted": "294",
73
+ "correct": true,
74
+ "num_tokens": 36,
75
+ "response": "42 * 13 - 28 * 9 = 546 - 252 = 294\n\n\\boxed{294}"
76
+ },
77
+ {
78
+ "id": "ARITH_08",
79
+ "category": "Arithmetic",
80
+ "question": "Calculate: 125 * 8 - 37 * 11.",
81
+ "expected": "593",
82
+ "predicted": "593",
83
+ "correct": true,
84
+ "num_tokens": 47,
85
+ "response": "125 * 8 = 1000 \n37 * 11 = 407 \n1000 - 407 = 593 \n\n\\boxed{593}"
86
+ },
87
+ {
88
+ "id": "GSM_01",
89
+ "category": "Word Problems (GSM8K)",
90
+ "question": "Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?",
91
+ "expected": "72",
92
+ "predicted": "72",
93
+ "correct": true,
94
+ "num_tokens": 60,
95
+ "response": "Natalia sold 48 clips in April, and then half as many in May. Half of 48 is 24. \n\nSo, the total number of clips sold in April and May is:\n\n$$\n48 + 24 = \\boxed{72}\n$$"
96
+ },
97
+ {
98
+ "id": "GSM_02",
99
+ "category": "Word Problems (GSM8K)",
100
+ "question": "A store sells apples for 3 dollars each and oranges for 4 dollars each. If John buys 5 apples and 6 oranges, and pays with a 50 dollar bill, how many dollars of change does he get?",
101
+ "expected": "11",
102
+ "predicted": "50",
103
+ "correct": false,
104
+ "num_tokens": 95,
105
+ "response": "John buys 5 apples and 6 oranges. The cost of apples is $3 each, and the cost of oranges is $4 each. \n\nCost of apples: $5 \\times 3 = 15$ dollars \nCost of oranges: $6 \\times 4 = 24$ dollars \n\nTotal cost: $15 + 24 = 39$ dollars \n\nHe pays with a $50 bill. The change he gets:"
106
+ },
107
+ {
108
+ "id": "GSM_03",
109
+ "category": "Word Problems (GSM8K)",
110
+ "question": "A train travels at 60 km/h for 2 hours, then at 75 km/h for 4 hours. What is the total distance traveled in km?",
111
+ "expected": "420",
112
+ "predicted": "300",
113
+ "correct": false,
114
+ "num_tokens": 95,
115
+ "response": "The total distance traveled is calculated by adding the distances covered at each speed:\n\n- First part: $ 60 \\, \\text{km/h} \\times 2 \\, \\text{hours} = 120 \\, \\text{km} $\n- Second part: $ 75 \\, \\text{km/h} \\times 4 \\, \\text{hours} = 300 \\, \\text{km} $"
116
+ },
117
+ {
118
+ "id": "GSM_04",
119
+ "category": "Word Problems (GSM8K)",
120
+ "question": "A bakery makes 120 muffins every morning. They sell 45 muffins before noon and 38 muffins in the afternoon. If they pack the remaining muffins into boxes of 5, how many muffins are left unpacked?",
121
+ "expected": "2",
122
+ "predicted": "37",
123
+ "correct": false,
124
+ "num_tokens": 63,
125
+ "response": "The bakery makes 120 muffins. \nThey sell 45 muffins before noon and 38 muffins in the afternoon. \n\nRemaining muffins = $ 120 - 45 - 38 = 37 $. \n\n**Answer:** $\\boxed{37}$"
126
+ },
127
+ {
128
+ "id": "GSM_05",
129
+ "category": "Word Problems (GSM8K)",
130
+ "question": "Sarah reads 18 pages of a book each day for 6 days, and then reads 25 pages each day for the next 4 days. If the book has 250 pages in total, how many pages does she still have left to read?",
131
+ "expected": "42",
132
+ "predicted": "250",
133
+ "correct": false,
134
+ "num_tokens": 95,
135
+ "response": "Sarah reads 18 pages/day for 6 days: \n$ 18 \\times 6 = 108 $ pages.\n\nThen she reads 25 pages/day for 4 days: \n$ 25 \\times 4 = 100 $ pages.\n\nTotal pages read: \n$ 108 + 100 = 208 $ pages.\n\nBook has 250 pages, so pages left:"
136
+ },
137
+ {
138
+ "id": "GSM_06",
139
+ "category": "Word Problems (GSM8K)",
140
+ "question": "A factory produces 35 toys per hour. It operates for 8 hours a day. Over 5 days, 40 toys fail inspection and are discarded. How many good toys are produced in those 5 days?",
141
+ "expected": "1360",
142
+ "predicted": "4",
143
+ "correct": false,
144
+ "num_tokens": 95,
145
+ "response": "We start by calculating the total number of toys produced in 5 days:\n\n- Toys per hour: 35 \n- Hours per day: 8 \n- Days: 5 \n\n$$\n\\text{Total toys} = 35 \\times 8 \\times 5 = 1400\n$$\n\n- 40 toys fail inspection and are discarded.\n\n$$\n\\text{Good toys} = 1400 - 4"
146
+ },
147
+ {
148
+ "id": "GSM_07",
149
+ "category": "Word Problems (GSM8K)",
150
+ "question": "Mark has 3 times as many marbles as Lucas. Lucas has 14 more marbles than Leo. If Leo has 12 marbles, how many marbles do Mark and Lucas have together?",
151
+ "expected": "104",
152
+ "predicted": "2",
153
+ "correct": false,
154
+ "num_tokens": 95,
155
+ "response": "Let's solve the problem step by step:\n\n- Leo has 12 marbles.\n- Lucas has 14 more marbles than Leo: \n $ 12 + 14 = 26 $ marbles.\n- Mark has 3 times as many marbles as Lucas: \n $ 3 \\times 26 = 78 $ marbles.\n- Mark and Lucas together have: \n $ 78 + 2"
156
+ },
157
+ {
158
+ "id": "GSM_08",
159
+ "category": "Word Problems (GSM8K)",
160
+ "question": "A jacket originally costs 160 dollars. It is on sale for 25% off, and a customer also uses a 15 dollar coupon after the percentage discount. What is the final price in dollars?",
161
+ "expected": "105",
162
+ "predicted": "105",
163
+ "correct": true,
164
+ "num_tokens": 95,
165
+ "response": "Let's calculate the final price step by step:\n\n1. **Original price**: $160 \n2. **Discount**: 25% off \n - 25% of 160 = $40 \n - New price after discount: $160 - 40 = 120 \n\n3. **Coupon**: 15 dollars \n - 120 - 15 = 105"
166
+ },
167
+ {
168
+ "id": "ALG_01",
169
+ "category": "Algebra",
170
+ "question": "Solve for x: 7x - 19 = 3x + 29. What is x?",
171
+ "expected": "12",
172
+ "predicted": "12",
173
+ "correct": true,
174
+ "num_tokens": 93,
175
+ "response": "Start with the equation:\n\n$$\n7x - 19 = 3x + 29\n$$\n\nSubtract $3x$ from both sides:\n\n$$\n4x - 19 = 29\n$$\n\nAdd 19 to both sides:\n\n$$\n4x = 48\n$$\n\nDivide by 4:\n\n$$\nx = 12\n$$\n\n$$\n\\boxed{12}\n$$"
176
+ },
177
+ {
178
+ "id": "ALG_02",
179
+ "category": "Algebra",
180
+ "question": "If 2x + 3y = 31 and x - y = 3, what is the value of x + y?",
181
+ "expected": "11",
182
+ "predicted": "3",
183
+ "correct": false,
184
+ "num_tokens": 95,
185
+ "response": "We are given the system of equations:\n\n1. $ 2x + 3y = 31 $\n2. $ x - y = 3 $\n\nWe can solve this system using substitution or elimination. Let's use substitution.\n\nFrom the second equation: \n$ x - y = 3 \\Rightarrow x = y + 3 $\n\nSubstitute $ x = y + 3 $ into the first equation:\n\n$$\n2(y + 3) +"
186
+ },
187
+ {
188
+ "id": "ALG_03",
189
+ "category": "Algebra",
190
+ "question": "The sum of three consecutive integers is 114. What is the largest of these three integers?",
191
+ "expected": "39",
192
+ "predicted": "39",
193
+ "correct": true,
194
+ "num_tokens": 95,
195
+ "response": "Let the three consecutive integers be $ x-2 $, $ x-1 $, and $ x $. Their sum is:\n\n$$\n(x-2) + (x-1) + x = 3x - 3 = 114\n$$\n\nSolving for $ x $:\n\n$$\n3x - 3 = 114 \\\\\n3x = 117 \\\\\nx = 39\n$$\n\nThe largest of the"
196
+ },
197
+ {
198
+ "id": "ALG_04",
199
+ "category": "Algebra",
200
+ "question": "If f(x) = 3x^2 - 5x + 4, what is the value of f(6)?",
201
+ "expected": "82",
202
+ "predicted": "3",
203
+ "correct": false,
204
+ "num_tokens": 95,
205
+ "response": "We are given the function:\n\n$$\nf(x) = 3x^2 - 5x + 4\n$$\n\nWe are asked to find the value of $ f(6) $.\n\nSubstitute $ x = 6 $ into the function:\n\n$$\nf(6) = 3(6)^2 - 5(6) + 4\n$$\n\n$$\nf(6) = 3(36) - 3"
206
+ },
207
+ {
208
+ "id": "ALG_05",
209
+ "category": "Algebra",
210
+ "question": "Solve for x: 4(2x - 3) = 3(x + 6) + 5. What is x?",
211
+ "expected": "7",
212
+ "predicted": "23",
213
+ "correct": false,
214
+ "num_tokens": 95,
215
+ "response": "We solve the equation:\n\n$$\n4(2x - 3) = 3(x + 6) + 5\n$$\n\nFirst, expand both sides:\n\n$$\n4(2x - 3) = 8x - 12\n$$\n$$\n3(x + 6) + 5 = 3x + 18 + 5 = 3x + 23\n$$\n\nNow set the two expressions equal"
216
+ },
217
+ {
218
+ "id": "ALG_06",
219
+ "category": "Algebra",
220
+ "question": "The sum of two numbers is 45 and their difference is 13. What is the product of the two numbers?",
221
+ "expected": "464",
222
+ "predicted": "58",
223
+ "correct": false,
224
+ "num_tokens": 95,
225
+ "response": "Let the two numbers be $ x $ and $ y $. \nWe are given: \n- $ x + y = 45 $ \n- $ x - y = 13 $ \n\nWe want to find the product $ x \\cdot y $. \n\nAdd the two equations: \n$ (x + y) + (x - y) = 45 + 13 $ \n$ 2x = 58 $ \n$ x ="
226
+ },
227
+ {
228
+ "id": "ALG_07",
229
+ "category": "Algebra",
230
+ "question": "If a + b = 11 and a^2 + b^2 = 65, what is the value of a * b?",
231
+ "expected": "28",
232
+ "predicted": "121",
233
+ "correct": false,
234
+ "num_tokens": 95,
235
+ "response": "We are given:\n\n- $ a + b = 11 $\n- $ a^2 + b^2 = 65 $\n\nWe are to find the value of $ ab $.\n\nWe know the identity:\n\n$$\n(a + b)^2 = a^2 + b^2 + 2ab\n$$\n\nSubstitute the known values:\n\n$$\n11^2 = 65 + 2ab\n$$\n\n$$\n121 ="
236
+ },
237
+ {
238
+ "id": "NTG_01",
239
+ "category": "Number Theory & Geometry",
240
+ "question": "A rectangle has a perimeter of 54 cm and a length of 16 cm. What is its area in square cm?",
241
+ "expected": "176",
242
+ "predicted": "27",
243
+ "correct": false,
244
+ "num_tokens": 95,
245
+ "response": "The perimeter of a rectangle is given by $ 2 \\times (\\text{length} + \\text{width}) $. \nWe are told the perimeter is 54 cm and the length is 16 cm. \n\nSo, \n$$\n2 \\times (16 + \\text{width}) = 54\n$$ \n$$\n16 + \\text{width} = 27\n$$ \n$$\n\\text{width} ="
246
+ },
247
+ {
248
+ "id": "NTG_02",
249
+ "category": "Number Theory & Geometry",
250
+ "question": "What is the remainder when 2^9 is divided by 7?",
251
+ "expected": "1",
252
+ "predicted": "5",
253
+ "correct": false,
254
+ "num_tokens": 87,
255
+ "response": "We are asked to find the remainder when $2^9$ is divided by 7.\n\nFirst, calculate $2^9$:\n\n$$\n2^9 = 512\n$$\n\nNow divide 512 by 7:\n\n$$\n512 \\div 7 = 73 \\text{ remainder } 5\n$$\n\nSo the remainder is:\n\n$$\n\\boxed{5}\n$$"
256
+ },
257
+ {
258
+ "id": "NTG_03",
259
+ "category": "Number Theory & Geometry",
260
+ "question": "A right triangle has legs of length 9 and 12. What is its perimeter?",
261
+ "expected": "36",
262
+ "predicted": "15",
263
+ "correct": false,
264
+ "num_tokens": 95,
265
+ "response": "The perimeter of a right triangle is the sum of its three sides. The legs are 9 and 12, so the hypotenuse is calculated using the Pythagorean theorem:\n\n$$\n\\text{Hypotenuse} = \\sqrt{9^2 + 12^2} = \\sqrt{81 + 144} = \\sqrt{225} = 15\n$$\n\nNow, the perimeter is:"
266
+ },
267
+ {
268
+ "id": "NTG_04",
269
+ "category": "Number Theory & Geometry",
270
+ "question": "How many positive divisors does the number 72 have?",
271
+ "expected": "12",
272
+ "predicted": "12",
273
+ "correct": true,
274
+ "num_tokens": 95,
275
+ "response": "To find the number of positive divisors of 72, we first factorize 72 into its prime factors:\n\n$$\n72 = 2^3 \\times 3^2\n$$\n\nThe number of positive divisors of a number is given by multiplying the exponents of its prime factors plus 1:\n\n$$\n(3 + 1)(2 + 1) = 4 \\times 3 = 12\n$$\n\nThus"
276
+ },
277
+ {
278
+ "id": "NTG_05",
279
+ "category": "Number Theory & Geometry",
280
+ "question": "What is the sum of the first 25 positive integers (1 + 2 + 3 + ... + 25)?",
281
+ "expected": "325",
282
+ "predicted": "325",
283
+ "correct": true,
284
+ "num_tokens": 68,
285
+ "response": "The sum of the first 25 positive integers is:\n\n$$\n1 + 2 + 3 + \\ldots + 25 = \\frac{25 \\times 26}{2} = 325\n$$\n\nSo, the final answer is:\n\n$$\n\\boxed{325}\n$$"
286
+ },
287
+ {
288
+ "id": "NTG_06",
289
+ "category": "Number Theory & Geometry",
290
+ "question": "In how many ways can a committee of 3 people be chosen from a group of 8 people?",
291
+ "expected": "56",
292
+ "predicted": "3",
293
+ "correct": false,
294
+ "num_tokens": 95,
295
+ "response": "To find the number of ways to choose a committee of 3 people from a group of 8, we use the combination formula:\n\n$$\n\\binom{n}{r} = \\frac{n!}{r!(n - r)!}\n$$\n\nHere, $ n = 8 $ and $ r = 3 $:\n\n$$\n\\binom{8}{3} = \\frac{8!}{3!(8 - 3)!} = \\frac"
296
+ },
297
+ {
298
+ "id": "NTG_07",
299
+ "category": "Number Theory & Geometry",
300
+ "question": "What is the greatest common divisor (GCD) of 144 and 210?",
301
+ "expected": "6",
302
+ "predicted": "12",
303
+ "correct": false,
304
+ "num_tokens": 95,
305
+ "response": "To find the greatest common divisor (GCD) of 144 and 210, we can use the Euclidean algorithm:\n\n1. Divide 210 by 144: \n $ 210 = 144 \\times 1 + 66 $\n\n2. Divide 144 by 66: \n $ 144 = 66 \\times 2 + 12 $"
306
+ }
307
+ ]
308
+ }
code_baseline_results.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total": 28,
3
+ "passed": 13,
4
+ "accuracy": 46.43,
5
+ "avg_tokens": 45.4,
6
+ "elapsed_sec": 111.79,
7
+ "results": [
8
+ {
9
+ "id": "PY_01",
10
+ "category": "Python",
11
+ "prompt": "Write a Python function `def merge_intervals(intervals: list[list[int]]) -> list[list[int]]:` that merges all overlapping `[start, end]` intervals and returns the sorted merged list. Return only the code.",
12
+ "passed": false,
13
+ "detail": "IndentationError: expected an indented block after 'if' statement on line 13",
14
+ "num_tokens": 90,
15
+ "response": "```python\ndef merge_intervals(intervals: list[list[int]]) -> list[list[int]]:\n if not intervals:\n return []\n \n # Sort intervals by start time\n intervals.sort(key=lambda x: x[0])\n \n result = [intervals[0]]\n for start, end in intervals[1:]:\n last_start, last_end = result[-1]\n if start <= last_end:\n # Overlapping intervals,"
16
+ },
17
+ {
18
+ "id": "PY_02",
19
+ "category": "Python",
20
+ "prompt": "Write a Python function `def flatten_list(nested: list) -> list:` that recursively flattens an arbitrarily nested list of integers into a single 1D list. Return only the code.",
21
+ "passed": true,
22
+ "detail": "Passed all assertions",
23
+ "num_tokens": 52,
24
+ "response": "```python\ndef flatten_list(nested: list) -> list:\n result = []\n for item in nested:\n if isinstance(item, list):\n result.extend(flatten_list(item))\n else:\n result.append(item)\n return result\n```"
25
+ },
26
+ {
27
+ "id": "PY_03",
28
+ "category": "Python",
29
+ "prompt": "Write a Python function `def first_unique_char(s: str) -> int:` that returns the 0-based index of the first non-repeating character in string `s`, or `-1` if none exists. Return only the code.",
30
+ "passed": false,
31
+ "detail": "IndentationError: expected an indented block after 'for' statement on line 16",
32
+ "num_tokens": 90,
33
+ "response": "```python\ndef first_unique_char(s: str) -> int:\n if not s:\n return -1\n\n # Count the frequency of each character\n freq = {}\n for char in s:\n if char in freq:\n freq[char] += 1\n else:\n freq[char] = 1\n\n # Find the first character with a frequency of 1\n for index, char in enumerate(s):"
34
+ },
35
+ {
36
+ "id": "PY_04",
37
+ "category": "Python",
38
+ "prompt": "Write a Python function `def group_anagrams(words: list[str]) -> list[list[str]]:` that groups anagrams together. Return only the code.",
39
+ "passed": false,
40
+ "detail": "AssertionError",
41
+ "num_tokens": 85,
42
+ "response": "```python\ndef group_anagrams(words: list[str]) -> list[list[str]]:\n result = []\n for word in words:\n if not word:\n continue\n if len(word) == 1:\n result.append([word])\n else:\n # Sort the characters to form a unique key\n sorted_word = ''.join(sorted(word))\n result.append([sorted_word])\n return result\n```"
43
+ },
44
+ {
45
+ "id": "PY_05",
46
+ "category": "Python",
47
+ "prompt": "Write a Python function `def is_valid_brackets(s: str) -> bool:` that checks if a string containing only `'()[]{}'` has valid matching and properly nested brackets. Return only the code.",
48
+ "passed": false,
49
+ "detail": "AssertionError",
50
+ "num_tokens": 78,
51
+ "response": "```python\ndef is_valid_brackets(s: str) -> bool:\n stack = []\n for char in s:\n if char in '([{':\n stack.append(char)\n elif char in ')]}':\n if not stack or stack[-1] != char:\n return False\n else:\n return False\n return len(stack) == 0\n```"
52
+ },
53
+ {
54
+ "id": "PY_06",
55
+ "category": "Python",
56
+ "prompt": "Write a Python function `def longest_common_prefix(strs: list[str]) -> str:` that finds the longest common prefix string amongst an array of strings (or `\"\"` if none). Return only the code.",
57
+ "passed": false,
58
+ "detail": "AssertionError",
59
+ "num_tokens": 31,
60
+ "response": "```python\ndef longest_common_prefix(strs: list[str]) -> str:\n if not strs:\n return \"\"\n return strs[0]\n```"
61
+ },
62
+ {
63
+ "id": "PY_07",
64
+ "category": "Python",
65
+ "prompt": "Write a Python function `def rotate_right(nums: list[int], k: int) -> list[int]:` that returns a new list with the elements of `nums` rotated to the right by `k` steps (where `k` can be larger than `len(nums)`). Return only the code.",
66
+ "passed": false,
67
+ "detail": "AssertionError",
68
+ "num_tokens": 62,
69
+ "response": "```python\ndef rotate_right(nums: list[int], k: int) -> list[int]:\n # If k is larger than the length of nums, rotate the list by k steps\n if k > len(nums):\n k %= len(nums)\n return nums[k:] + nums[:k]\n```"
70
+ },
71
+ {
72
+ "id": "LINUX_01",
73
+ "category": "Linux Commands",
74
+ "prompt": "Write a single Linux bash command to replace all occurrences of `DEBUG` with `ERROR` in `app.conf` and write the output to `app_prod.conf`. Return only the command.",
75
+ "passed": true,
76
+ "detail": "File/state check passed",
77
+ "num_tokens": 26,
78
+ "response": "```bash\ncp app.conf app_prod.conf\nsed -i 's/DEBUG/ERROR/g' app_prod.conf\n```"
79
+ },
80
+ {
81
+ "id": "LINUX_02",
82
+ "category": "Linux Commands",
83
+ "prompt": "Write a single Linux bash pipeline that extracts the 2nd comma-separated column from `users.csv` (skipping the first header line), sorts the values alphabetically, and removes duplicates, printing to stdout. Return only the command.",
84
+ "passed": false,
85
+ "detail": "Got 'admin\\neditor\\nrole\\nuser', expected 'admin\\neditor\\nuser'",
86
+ "num_tokens": 27,
87
+ "response": "```bash\nawk -F, '{if ($2 != \"\") {print $2}}' users.csv | sort | uniq\n```"
88
+ },
89
+ {
90
+ "id": "LINUX_03",
91
+ "category": "Linux Commands",
92
+ "prompt": "Write a single Linux bash command or pipeline that counts how many lines in `server.log` contain the exact substring `500` and prints only that integer count to stdout. Return only the command.",
93
+ "passed": true,
94
+ "detail": "Stdout matched: '3'",
95
+ "num_tokens": 15,
96
+ "response": "```bash\ngrep -c '500' server.log\n```"
97
+ },
98
+ {
99
+ "id": "LINUX_04",
100
+ "category": "Linux Commands",
101
+ "prompt": "Write a single Linux bash pipeline that reads integers (one per line) from `nums.txt` and prints their total sum to stdout. Return only the command.",
102
+ "passed": false,
103
+ "detail": "Got '15\\n40\\n100\\n90', expected '90'",
104
+ "num_tokens": 33,
105
+ "response": "```bash\nwhile IFS= read -r line; do\n sum=$((sum + $line))\n echo \"$sum\"\ndone < nums.txt\n```"
106
+ },
107
+ {
108
+ "id": "LINUX_05",
109
+ "category": "Linux Commands",
110
+ "prompt": "Write a single Linux bash command using `chmod` to set the permissions of `deploy.sh` to `rwxr-x---` (owner read/write/execute, group read/execute, others no permissions). Return only the command.",
111
+ "passed": false,
112
+ "detail": "Exit 1: chmod: invalid mode: ‘rwxr-x---’\nTry 'chmod --help' for more information.",
113
+ "num_tokens": 10,
114
+ "response": "chmod -R rwxr-x--- deploy.sh"
115
+ },
116
+ {
117
+ "id": "LINUX_06",
118
+ "category": "Linux Commands",
119
+ "prompt": "Write a single Linux bash command using `find` or `ls`/`grep` that lists all `.py` filenames (just the file names or paths) inside the directory `src` (recursively) sorted alphabetically. Return only the command.",
120
+ "passed": true,
121
+ "detail": "Stdout check passed",
122
+ "num_tokens": 25,
123
+ "response": "```bash\nfind src -type f -name \"*.py\" | sort -t ' ' -k 1\n```"
124
+ },
125
+ {
126
+ "id": "LINUX_07",
127
+ "category": "Linux Commands",
128
+ "prompt": "Write a single Linux bash pipeline that reads `words.txt`, converts all uppercase letters to lowercase, sorts the lines alphabetically, and writes the result to `clean.txt`. Return only the command.",
129
+ "passed": true,
130
+ "detail": "File/state check passed",
131
+ "num_tokens": 26,
132
+ "response": "```bash\ncat words.txt | tr '[:upper:]' '[:lower:]' | sort | tee clean.txt\n```"
133
+ },
134
+ {
135
+ "id": "WEB_01",
136
+ "category": "HTML / JS / CSS",
137
+ "prompt": "Write a JavaScript function `function groupBy(arr, key)` that groups an array of objects `arr` by property `key` and returns an object mapping each key value to an array of matching objects. Return only the code.",
138
+ "passed": true,
139
+ "detail": "Passed Node.js tests",
140
+ "num_tokens": 60,
141
+ "response": "```javascript\nfunction groupBy(arr, key) {\n return arr.reduce((result, item) => {\n const value = item[key];\n if (!result[value]) {\n result[value] = [];\n }\n result[value].push(item);\n return result;\n }, {});\n}\n```"
142
+ },
143
+ {
144
+ "id": "WEB_02",
145
+ "category": "HTML / JS / CSS",
146
+ "prompt": "Write a JavaScript function `function chunkArray(arr, size)` that splits an array `arr` into chunks (subarrays) of length at most `size` and returns the array of chunks. Return only the code.",
147
+ "passed": false,
148
+ "detail": "Node error",
149
+ "num_tokens": 36,
150
+ "response": "```javascript\nfunction chunkArray(arr, size) {\n return arr.reduce((result, chunk) => {\n result.push(chunk);\n return result;\n }, []);\n}\n```"
151
+ },
152
+ {
153
+ "id": "WEB_03",
154
+ "category": "HTML / JS / CSS",
155
+ "prompt": "Write a JavaScript function `function parseQueryString(query)` that parses a URL query string like `\"?name=alice&age=30\"` into an object `{name: \"alice\", age: \"30\"}` (returning `{}` for empty string). Return only the code.",
156
+ "passed": false,
157
+ "detail": "Node error",
158
+ "num_tokens": 58,
159
+ "response": "```javascript\nfunction parseQueryString(query) {\n const obj = {};\n const parts = query.split('&');\n for (const part of parts) {\n const [key, value] = part.split('=');\n obj[key] = value;\n }\n return obj;\n}\n```"
160
+ },
161
+ {
162
+ "id": "WEB_04",
163
+ "category": "HTML / JS / CSS",
164
+ "prompt": "Write a JavaScript function `function flattenObject(obj, prefix = '')` that flattens a nested object into a single-level object with dot-separated keys (e.g. `{a: {b: 1}}` -> `{'a.b': 1}`). Return only the code.",
165
+ "passed": false,
166
+ "detail": "[eval]:14",
167
+ "num_tokens": 90,
168
+ "response": "```javascript\nfunction flattenObject(obj, prefix = '') {\n const result = {};\n \n // Traverse each key-value pair in the object\n for (const [key, value] of Object.entries(obj)) {\n // If the value is an object, recursively flatten it\n if (typeof value === 'object') {\n result[prefix + key] = flattenObject(value, prefix + key);\n } else {\n // If"
169
+ },
170
+ {
171
+ "id": "WEB_05",
172
+ "category": "HTML / JS / CSS",
173
+ "prompt": "Write a CSS rule for selector `.grid-container` that sets it to a CSS Grid layout with 3 equal-width columns (`1fr` each) and a gap of `16px`. Return only the CSS code.",
174
+ "passed": true,
175
+ "detail": "All CSS rules matched",
176
+ "num_tokens": 34,
177
+ "response": "```css\n.grid-container {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 16px;\n}\n```"
178
+ },
179
+ {
180
+ "id": "WEB_06",
181
+ "category": "HTML / JS / CSS",
182
+ "prompt": "Write a CSS rule for selector `.flex-center` that uses Flexbox to center its child elements both horizontally and vertically, with `min-height: 100vh`. Return only the CSS code.",
183
+ "passed": true,
184
+ "detail": "All CSS rules matched",
185
+ "num_tokens": 35,
186
+ "response": "```css\n.flex-center {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n```"
187
+ },
188
+ {
189
+ "id": "WEB_07",
190
+ "category": "HTML / JS / CSS",
191
+ "prompt": "Write a JavaScript function `function toggleActiveClass(el)` that toggles the class `'active'` on DOM element `el` and returns `true` if `'active'` is now present or `false` otherwise. Return only the code.",
192
+ "passed": true,
193
+ "detail": "Passed Node.js tests",
194
+ "num_tokens": 20,
195
+ "response": "```javascript\nfunction toggleActiveClass(el) {\n return el.classList.toggle('active');\n}\n```"
196
+ },
197
+ {
198
+ "id": "SYS_01",
199
+ "category": "SQL / C / Data",
200
+ "prompt": "Given a SQLite table `users(id, name)` and `orders(id, user_id, amount)`, write a SQL query that returns `name` and `SUM(amount)` for each user who has orders, ordered by the total amount descending. Return only the SQL query.",
201
+ "passed": true,
202
+ "detail": "Rows matched: [('Bob', 200), ('Alice', 120)]",
203
+ "num_tokens": 38,
204
+ "response": "```sql\nSELECT name, SUM(amount) AS total_amount\nFROM users\nJOIN orders ON users.id = orders.user_id\nGROUP BY users.id\nORDER BY total_amount DESC;\n```"
205
+ },
206
+ {
207
+ "id": "SYS_02",
208
+ "category": "SQL / C / Data",
209
+ "prompt": "Given a SQLite table `employees(id, name, department, salary)`, write a SQL query returning `department` and `AVG(salary)` for departments where the average salary is strictly greater than 60000, ordered by average salary descending. Return only the SQL query.",
210
+ "passed": false,
211
+ "detail": "Exception: misuse of aggregate: AVG()",
212
+ "num_tokens": 39,
213
+ "response": "```sql\nSELECT department, AVG(salary)\nFROM employees\nWHERE AVG(salary) > 60000\nGROUP BY department\nORDER BY AVG(salary) DESC;\n```"
214
+ },
215
+ {
216
+ "id": "SYS_03",
217
+ "category": "SQL / C / Data",
218
+ "prompt": "Given a SQLite table `products(id, name, category, price)`, write a SQL query returning `name` and `price` of the top 2 most expensive products in category `'Electronics'`, ordered by `price` descending. Return only the SQL query.",
219
+ "passed": true,
220
+ "detail": "Rows matched: [('Laptop', 1200), ('Phone', 800)]",
221
+ "num_tokens": 28,
222
+ "response": "```sql\nSELECT name, price\nFROM products\nWHERE category = 'Electronics'\nORDER BY price DESC\nLIMIT 2;\n```"
223
+ },
224
+ {
225
+ "id": "SYS_04",
226
+ "category": "SQL / C / Data",
227
+ "prompt": "Write a C function `int gcd(int a, int b)` that computes and returns the greatest common divisor of two positive integers `a` and `b`. Return only the C function.",
228
+ "passed": true,
229
+ "detail": "Compiled & passed C assertions",
230
+ "num_tokens": 54,
231
+ "response": "```c\nint gcd(int a, int b) {\n // Use Euclidean algorithm\n while (b != 0) {\n int temp = b;\n b = a % b;\n a = temp;\n }\n return a;\n}\n```"
232
+ },
233
+ {
234
+ "id": "SYS_05",
235
+ "category": "SQL / C / Data",
236
+ "prompt": "Write a C function `int count_ones(unsigned int n)` that returns the number of set bits (`1`s) in the binary representation of `n`. Return only the C function.",
237
+ "passed": false,
238
+ "detail": "C assertion failed",
239
+ "num_tokens": 21,
240
+ "response": "```c\nint count_ones(unsigned int n) {\n return n & 1;\n}\n```"
241
+ },
242
+ {
243
+ "id": "SYS_06",
244
+ "category": "SQL / C / Data",
245
+ "prompt": "Write a Python function `def extract_emails(text: str) -> list[str]:` using `re.findall` that extracts all email addresses of the form `user@domain.tld` (alphanumeric, dots, underscores, hyphens) from `text`. Return only the code.",
246
+ "passed": false,
247
+ "detail": "AssertionError",
248
+ "num_tokens": 57,
249
+ "response": "```python\nimport re\n\ndef extract_emails(text: str) -> list[str]:\n return re.findall(r'([a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\\.[a-zA-Z0-9-]+))', text)\n```"
250
+ },
251
+ {
252
+ "id": "SYS_07",
253
+ "category": "SQL / C / Data",
254
+ "prompt": "Write a Python function `def filter_adults(json_str: str) -> list[str]:` that parses a JSON array of objects `[{\"name\": ..., \"age\": ...}]` and returns a list of `name` strings for entries with `age >= 18` in their original order. Return only the code.",
255
+ "passed": true,
256
+ "detail": "Passed all assertions",
257
+ "num_tokens": 51,
258
+ "response": "```python\ndef filter_adults(json_str: str) -> list[str]:\n import json\n data = json.loads(json_str)\n return [entry[\"name\"] for entry in data if entry[\"age\"] >= 18]\n```"
259
+ }
260
+ ],
261
+ "model": "Qwen/Qwen3-0.6B (Baseline Normal)",
262
+ "category_breakdown": {
263
+ "Python": {
264
+ "passed": 1,
265
+ "total": 7,
266
+ "accuracy_percent": 14.29,
267
+ "avg_tokens": 69.7
268
+ },
269
+ "Linux Commands": {
270
+ "passed": 4,
271
+ "total": 7,
272
+ "accuracy_percent": 57.14,
273
+ "avg_tokens": 23.1
274
+ },
275
+ "HTML / JS / CSS": {
276
+ "passed": 4,
277
+ "total": 7,
278
+ "accuracy_percent": 57.14,
279
+ "avg_tokens": 47.6
280
+ },
281
+ "SQL / C / Data": {
282
+ "passed": 4,
283
+ "total": 7,
284
+ "accuracy_percent": 57.14,
285
+ "avg_tokens": 41.1
286
+ }
287
+ }
288
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 1024,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "max_position_embeddings": 40960,
15
+ "max_window_layers": 28,
16
+ "model_type": "qwen3",
17
+ "num_attention_heads": 16,
18
+ "num_hidden_layers": 28,
19
+ "num_key_value_heads": 8,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_scaling": null,
22
+ "rope_theta": 1000000,
23
+ "sliding_window": null,
24
+ "tie_word_embeddings": true,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.51.0",
27
+ "use_cache": true,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 151936
30
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.6,
10
+ "top_k": 20,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.51.0"
13
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f47f71177f32bcd101b7573ec9171e6a57f4f4d31148d38e382306f42996874b
3
+ size 1503300328
ptbr_en_baseline_results.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total": 28,
3
+ "passed": 0,
4
+ "accuracy": 0.0,
5
+ "avg_tokens": 92.1,
6
+ "elapsed_sec": 159.5,
7
+ "results": [
8
+ {
9
+ "id": "FF_01",
10
+ "category": "Falsos Cognatos (EN<->BR)",
11
+ "prompt": "Em inglês, o que significa a palavra 'pretend' e como se diz 'pretender' (ter a intenção de fazer algo) em inglês? Explique em português com exemplo.",
12
+ "passed": false,
13
+ "detail": "Missing concepts: group_1(fingir), group_2(intend)",
14
+ "num_tokens": 95,
15
+ "response": "Em inglês, a palavra **\"pretend\"** significa **\"tentar\" ou \"pretender\"**. \nA palavra **\"pretender\"** é usada para expressar a intenção de fazer algo, como **\"pretender que\"** ou **\"pretender fazer algo\".**\n\n### Exemplo:\n- **\"Ele pretende fazer o que está no seu coração.\"** \n (Ele pretende fazer o que está no seu"
16
+ },
17
+ {
18
+ "id": "FF_02",
19
+ "category": "Falsos Cognatos (EN<->BR)",
20
+ "prompt": "Qual a diferença entre 'actually' em inglês e 'atualmente' em português? Como dizer 'atualmente' em inglês? Explique em português.",
21
+ "passed": false,
22
+ "detail": "Missing concepts: group_1(na verdade), group_2(currently)",
23
+ "num_tokens": 95,
24
+ "response": "A diferença entre **'actually'** em inglês e **'atualmente'** em português é muito simples:\n\n- **'Actually'** é uma expressão que indica **uma verdade** ou **um fato real**. Por exemplo: \n *I actually went to the store.*\n\n- **'Atualmente'** é uma expressão que indica **uma situação atual** ou **uma situação atual em um contexto específico**. Por"
25
+ },
26
+ {
27
+ "id": "FF_03",
28
+ "category": "Falsos Cognatos (EN<->BR)",
29
+ "prompt": "Por que a frase 'My parents live in Brazil' NÃO significa 'Meus parentes moram no Brasil'? Como dizer 'pais' e 'parentes' em inglês?",
30
+ "passed": false,
31
+ "detail": "Missing concepts: group_2(relatives)",
32
+ "num_tokens": 95,
33
+ "response": "A frase **\"My parents live in Brazil\"** **NÃO significa \"Meus parentes moram no Brasil\"**, porque:\n\n1. **\"Parents\"** é o plural do **\"parent\"**, que é o termo genérico para os pais. \n - Se tivesse \"my parents\" (meus pais), seria \"meus pais moram no Brasil\". \n - Mas \"parents\" é o termo geral para"
34
+ },
35
+ {
36
+ "id": "FF_04",
37
+ "category": "Falsos Cognatos (EN<->BR)",
38
+ "prompt": "Um brasileiro vê 'PUSH' escrito em uma porta nos EUA e puxa a porta. Explique em português o que significam 'push' e 'pull' em inglês.",
39
+ "passed": false,
40
+ "detail": "Missing concepts: group_1(empurr), group_2(pux)",
41
+ "num_tokens": 95,
42
+ "response": "Em inglês, \"push\" e \"pull\" são usados para descrever ações que se movem em um sistema ou um objeto. Aqui está uma explicação:\n\n- **\"Push\"** significa que algo está sendo levado para um lugar mais alto ou para um lado específico. Por exemplo, se um objeto está sendo levado para cima, isso é chamado de \"push\".\n\n- **\"Pull\"** significa que algo está sendo"
43
+ },
44
+ {
45
+ "id": "FF_05",
46
+ "category": "Falsos Cognatos (EN<->BR)",
47
+ "prompt": "Em inglês, qual a diferença entre 'sensible' e 'sensitive'? Traduza cada uma para o português do Brasil.",
48
+ "passed": false,
49
+ "detail": "Missing concepts: group_1(sensat)",
50
+ "num_tokens": 95,
51
+ "response": "Diferença entre \"sensible\" e \"sensitive\":\n\n- **Sensible** (sensível): refere-se a algo que é natural, adequado, e de acordo com a realidade. Exemplo: \"A resposta é sensível à situação.\"\n\n- **Sensitive** (sensível): refere-se a algo que é delicado, delicado, ou que pode ser afetado. Exemplo: \"A situação é sensível à crítica.\""
52
+ },
53
+ {
54
+ "id": "FF_06",
55
+ "category": "Falsos Cognatos (EN<->BR)",
56
+ "prompt": "Corrija o erro de falso cognato na frase de um aluno brasileiro: 'I bought this book at the library.' Explique em português a diferença entre 'library' e 'livraria'.",
57
+ "passed": false,
58
+ "detail": "Missing concepts: group_2(bookstore)",
59
+ "num_tokens": 95,
60
+ "response": "A frase corrigida é: **\"Eu comprei este livro na biblioteca.\"**\n\nDiferença entre \"library\" e \"livraria\" no português brasileiro: \n- **\"Library\"** é a sigla mais comum e formal para a biblioteca, especialmente em contextos acadêmicos ou escolares. \n- **\"Livraria\"** é uma expressão mais informal e local, geralmente usada em loc"
61
+ },
62
+ {
63
+ "id": "FF_07",
64
+ "category": "Falsos Cognatos (EN<->BR)",
65
+ "prompt": "Em inglês, 'college' significa 'colégio (ensino médio)'? Explique em português o que é 'college' e como se diz 'ensino médio / colégio' em inglês.",
66
+ "passed": false,
67
+ "detail": "Missing concepts: group_2(high school)",
68
+ "num_tokens": 95,
69
+ "response": "Em inglês, **\"college\"** significa **\"colégio (ensino médio)\"**. \nEla é a forma mais comum de referir-se ao ensino médio em países onde o ensino superior é chamado de \"college\", \"university\" ou \"university\". \n\nEm português, **\"colégio\"** é a forma mais comum de referir-se ao ensino médio, e **"
70
+ },
71
+ {
72
+ "id": "GRAM_01",
73
+ "category": "Gramática (BR->EN)",
74
+ "prompt": "Corrija a frase dita por um aluno brasileiro: 'I have 25 years old.' Explique a regra em português.",
75
+ "passed": false,
76
+ "detail": "Missing concepts: group_1(i am 25 years old), group_2(to be)",
77
+ "num_tokens": 58,
78
+ "response": "**Regra:** A frase \"I have 25 years old\" é correta em português. A regra é que o tempo \"anos\" é expresso com o numeral \"25\" após o \"I have\". Portanto, a frase é correta."
79
+ },
80
+ {
81
+ "id": "GRAM_02",
82
+ "category": "Gramática (BR->EN)",
83
+ "prompt": "Corrija o erro clássico de tradução literal do português na frase: 'Have many people at the party.' Explique em português.",
84
+ "passed": false,
85
+ "detail": "Missing concepts: group_1(there are many people), group_2(there is)",
86
+ "num_tokens": 95,
87
+ "response": "Clássico de tradução literal: \"Têm muitos pessoas no evento.\" \n\n**Explicação:** \nA frase original \"Have many people at the party\" é uma expressão com um significado mais profundo. A tradução literal \"Têm muitos pessoas no evento\" é mais adequada e clara, pois \"evento\" (evento) é uma expressão mais natural em português para descrever um evento social ou fest"
88
+ },
89
+ {
90
+ "id": "GRAM_03",
91
+ "category": "Gramática (BR->EN)",
92
+ "prompt": "Corrija estas duas frases muito comuns entre estudantes brasileiros de inglês: 1) 'It depends of you.' 2) 'I am agree with you.' Explique em português.",
93
+ "passed": false,
94
+ "detail": "Missing concepts: group_1(depends on you), group_2(i agree with you)",
95
+ "num_tokens": 66,
96
+ "response": "1) **\"A dependência depende de você.\"** \n2) **\"Eu concordo com você.\"** \n\nEssas frases são comuns entre estudantes brasileiros de inglês, mas podem ser reescritas em português para melhorar a clareza e a expressividade."
97
+ },
98
+ {
99
+ "id": "GRAM_04",
100
+ "category": "Gramática (BR->EN)",
101
+ "prompt": "Corrija os erros de collocation na frase: 'I need to make my homework and make a question to the teacher.' Explique em português.",
102
+ "passed": false,
103
+ "detail": "Missing concepts: group_1(do my homework), group_2(ask a question)",
104
+ "num_tokens": 79,
105
+ "response": "Corrija os erros de collocation na frase: \n**\"Eu preciso fazer minha tarefa e fazer uma pergunta para o professor.\"** \n\n**Explicação:** \n- \"Fazer minha tarefa\" é uma forma correta de dizer \"fazer minha tarefa\". \n- \"Fazer uma pergunta\" também é corretamente expressado."
106
+ },
107
+ {
108
+ "id": "GRAM_05",
109
+ "category": "Gramática (BR->EN)",
110
+ "prompt": "Corrija os dois erros gramaticais nas frases: 1) 'I went to home yesterday.' 2) 'She don't likes coffee.' Explique em português.",
111
+ "passed": false,
112
+ "detail": "Missing concepts: group_1(i went home), group_2(she doesn't like coffee)",
113
+ "num_tokens": 95,
114
+ "response": "1) **\"I went to home yesterday.\"** \n**Corrija:** \"I went to home yesterday.\" \n**Explicação:** A frase original está correta, mas há um erro gramatical: o \"don't\" não é usado no presente do indicativo. O \"don't\" é usado no presente do subjuntivo, mas não no presente do indicativo.\n\n2) **\"She don't likes coffee.\"** \n**Corri"
115
+ },
116
+ {
117
+ "id": "GRAM_06",
118
+ "category": "Gramática (BR->EN)",
119
+ "prompt": "Corrija as preposições de tempo na frase: 'The meeting is in Monday in 3 PM.' Explique a regra de IN, ON e AT em português.",
120
+ "passed": false,
121
+ "detail": "Missing concepts: group_1(on monday), group_2(at 3 pm)",
122
+ "num_tokens": 95,
123
+ "response": "Corrija as preposições de tempo na frase: \n**\"The meeting is in Monday in 3 PM.\"**\n\nA frase original está em **pretérito imperfeito**. \nA regra de **IN** (inverno) é que a preposição **\"em\"** indica o tempo **passado**. \nA regra de **ON** (ou noite) indica o tempo **passado**. \nA re"
124
+ },
125
+ {
126
+ "id": "GRAM_07",
127
+ "category": "Gramática (BR->EN)",
128
+ "prompt": "Corrija a frase: 'I live here since 5 years.' Como expressar essa ideia corretamente em inglês usando Present Perfect? Explique 'for' vs 'since' em português.",
129
+ "passed": false,
130
+ "detail": "Missing concepts: group_1(have lived here for 5 years)",
131
+ "num_tokens": 95,
132
+ "response": "A frase correta em inglês, usando o **Present Perfect**, é: \n**\"I have lived here since 5 years.\"**\n\n### Explicação:\n- **\"I have lived here\"** expressa a ideia de que o fato de ter vivido aqui ocorreu **recentemente** (após 5 anos).\n- **\"since 5 years\"** indica a data em que o fato ocorreu, mas não é necess"
133
+ },
134
+ {
135
+ "id": "PTEN_01",
136
+ "category": "Tradução & Idioms (BR->EN)",
137
+ "prompt": "Como dizer a expressão brasileira 'Isso é mamão com açúcar / muito fácil' usando uma expressão idiomática natural em inglês? Explique em português.",
138
+ "passed": false,
139
+ "detail": "Missing concepts: group_1(piece of cake)",
140
+ "num_tokens": 95,
141
+ "response": "Para expressar a frase **\"Isso é mamão com açúcar / muito fácil\"** em português naturalmente em inglês, você pode dizer:\n\n**\"This is a banana with sugar, and it's really easy.\"**\n\n### Explicação:\n- **\"Isso é mamão com açúcar\"** é uma expressão idiomática que se refere ao item \"mamão com açúcar\", que é uma"
142
+ },
143
+ {
144
+ "id": "PTEN_02",
145
+ "category": "Tradução & Idioms (BR->EN)",
146
+ "prompt": "Como dizer 'Estou meio indisposto / meio doente hoje' usando uma expressão idiomática famosa em inglês? Explique em português com exemplo.",
147
+ "passed": false,
148
+ "detail": "Missing concepts: group_1(under the weather)",
149
+ "num_tokens": 95,
150
+ "response": "Para expressar \"Estou meio indisposto / meio doente hoje\" de forma idiomática e famosa em inglês, você pode usar a expressão:\n\n### **\"I'm a little bit disoriented or a little bit down today.\"**\n\n### Exemplo:\n- **\"Estou meio indisposto / meio doente hoje.\"** \n → **\"I'm a little bit disoriented or a little bit down today.\"**\n\nEssa"
151
+ },
152
+ {
153
+ "id": "PTEN_03",
154
+ "category": "Tradução & Idioms (BR->EN)",
155
+ "prompt": "Como dizer 'pisar na bola' (cometer um erro / vacilar) em inglês natural? Dê pelo menos uma expressão idiomática em inglês e um exemplo com tradução.",
156
+ "passed": false,
157
+ "detail": "Missing concepts: group_1(drop the ball)",
158
+ "num_tokens": 95,
159
+ "response": "A expressão \"pisar na bola\" (cometer um erro ou vacilar) em inglês é comum e pode ser expressa de forma natural com a ajuda de idiomática. Alguns exemplos:\n\n1. **\"I'm just trying to get the ball in the right direction, but I'm just going in circles.\"** \n *Tradução: \"Estou tentando pegar a bola na direção correta, mas est"
160
+ },
161
+ {
162
+ "id": "PTEN_04",
163
+ "category": "Tradução & Idioms (BR->EN)",
164
+ "prompt": "Como dizer 'Custou os olhos da cara' (foi muito caro) usando o idioma equivalente em inglês? Explique em português com exemplo.",
165
+ "passed": false,
166
+ "detail": "Missing concepts: group_1(arm and a leg)",
167
+ "num_tokens": 95,
168
+ "response": "Para dizer \"Custou os olhos da cara\" (foi muito caro) em inglês, você pode usar a expressão:\n\n**\"It was a very expensive price.\"**\n\n### Exemplo:\n\"O produto custou os olhos da cara, e foi muito caro.\"\n\n### Explicação:\n- \"Custou os olhos da cara\" é uma forma de dizer que o preço foi muito alto.\n- \"E foi"
169
+ },
170
+ {
171
+ "id": "PTEN_05",
172
+ "category": "Tradução & Idioms (BR->EN)",
173
+ "prompt": "Como dizer 'ir direto ao ponto / parar de enrolar' usando expressões idiomáticas em inglês? Ensine 'cut to the chase' e 'beat around the bush' em português.",
174
+ "passed": false,
175
+ "detail": "Missing concepts: group_3(direto ao ponto)",
176
+ "num_tokens": 95,
177
+ "response": "Claro! Aqui estão algumas expressões idiomáticas em inglês, com o que você pode usar:\n\n1. **\"Cut to the chase\"** – \"Pular para o foco\" ou \"Fazer o que é mais importante\". \n Exemplo: \"We need to cut to the chase and finish the project.\"\n\n2. **\"Beat around the bush\"** – \"Roubar o ponto\" ou \"Fazer o que não"
178
+ },
179
+ {
180
+ "id": "PTEN_06",
181
+ "category": "Tradução & Idioms (BR->EN)",
182
+ "prompt": "Como dizer naturalmente em inglês: 1) 'Por mim tanto faz / qualquer um serve' e 2) 'De jeito nenhum!'? Explique em português.",
183
+ "passed": false,
184
+ "detail": "Missing concepts: group_2(no way)",
185
+ "num_tokens": 95,
186
+ "response": "Claro! Aqui estão as respostas em português, explicadas em inglês:\n\n1) **\"Por mim tanto faz / qualquer um serve\"** \n**\"It's up to you, either way\"** \n*Exemplo:* \"Por mim tanto faz, ou qualquer um serve.\"\n\n2) **\"De jeito nenhum!\"** \n**\"It's none of the above\"** \n*Exemplo:* \"De jeito"
187
+ },
188
+ {
189
+ "id": "PTEN_07",
190
+ "category": "Tradução & Idioms (BR->EN)",
191
+ "prompt": "Como traduzir 'Estou com saudade de você' e 'Sinto falta da minha família' para o inglês? Explique como usar o verbo correto em português.",
192
+ "passed": false,
193
+ "detail": "Missing concepts: group_1(i miss you), group_2(i miss my family), group_3(miss)",
194
+ "num_tokens": 95,
195
+ "response": "Claro! Vamos traduzir as frases para o inglês e explicar como usar o verbo correto em cada caso:\n\n### 1. **\"Estou com saudade de você\"**\n- **Tradução:** *I'm sad about you* \n- **Verbo correto:** *sad* \n- **Explicação:** O verbo *sad* é o mais adequado para expressar a sensação de saud"
196
+ },
197
+ {
198
+ "id": "ENPT_01",
199
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
200
+ "prompt": "O que significa a expressão em inglês 'Break a leg!' e quando ela é usada? Traduza e explique em português.",
201
+ "passed": false,
202
+ "detail": "Missing concepts: group_1(boa sorte), group_2(teatro)",
203
+ "num_tokens": 95,
204
+ "response": "A expressão \"Break a leg!\" em inglês significa \"Corte a leg\" ou \"Corte a perna\". É uma expressão comum usada para expressar um grande desgaste ou um grande sofrimento, especialmente em situações em que alguém está muito cansado ou em situação de grave dificuldade. Ela é usada para expressar sentimentos de frustração, tristeza ou desespero, e é com"
205
+ },
206
+ {
207
+ "id": "ENPT_02",
208
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
209
+ "prompt": "Traduza e explique em português o significado dos 3 phrasal verbs a seguir com exemplos: 1) 'give up', 2) 'look after', 3) 'run out of'.",
210
+ "passed": false,
211
+ "detail": "Missing concepts: group_2(cuidar), group_3(ficar sem)",
212
+ "num_tokens": 95,
213
+ "response": "Claro! Vamos traduzir e explicar os 3 verbos a seguir:\n\n1) **\"Give up\"** \n**Tradução:** \"dizer que não vai continuar\" \n**Exemplo:** \"Ele **dou up** para aulas, mas não conseguiu.\" \n**Explicação:** O verbo \"give up\" significa \"dizer que não vai continuar\" ou \"vou desistir\". Por exemplo,"
214
+ },
215
+ {
216
+ "id": "ENPT_03",
217
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
218
+ "prompt": "Em português usamos 'emprestar' para os dois lados, mas em inglês existem 'borrow' e 'lend'. Explique a diferença em português com exemplos.",
219
+ "passed": false,
220
+ "detail": "Missing concepts: group_1(pegar emprestado), group_2(dar emprestado), group_3(borrow), group_4(lend)",
221
+ "num_tokens": 95,
222
+ "response": "Em português, o termo **\"emprestar\"** é usado para expressar o **emprestimo**, ou o **emprestimo de bens ou recursos**. Ele é geralmente usado para **emprestar algo**, como um livro, um computador, ou um carro. Por exemplo:\n\n- *O livro está emprestado.* \n → O livro está emprestado.\n\nEm inglês, o termo mais comum"
223
+ },
224
+ {
225
+ "id": "ENPT_04",
226
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
227
+ "prompt": "Qual a diferença entre 'remember' e 'remind' em inglês? Explique em português com exemplos práticos.",
228
+ "passed": false,
229
+ "detail": "Missing concepts: group_3(sozinho), group_4(lembrar alguém)",
230
+ "num_tokens": 95,
231
+ "response": "A diferença entre **\"remember\"** e **\"remind\"** está na **intenção** e **contexto** em que cada uma é usada.\n\n### 1. **Remember**:\n- **Intenção**: \"Recorremos\" ou \"recorremos a algo\" para **relembrar** algo.\n- **Exemplo**: \n - \"I remember the meeting.\" → \"Eu me lembro da reuni"
232
+ },
233
+ {
234
+ "id": "ENPT_05",
235
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
236
+ "prompt": "Explique em português a diferença entre 'I used to wake up early' e 'I am used to waking up early'.",
237
+ "passed": false,
238
+ "detail": "Missing concepts: group_2(estou acostumado)",
239
+ "num_tokens": 95,
240
+ "response": "A frase **\"I used to wake up early\"** expressa uma **história passada**, ou seja, uma situação anterior que o indivíduo vivia antes de mudar. Por exemplo, \"Eu uso a noite para dormir\" significa que o indivíduo **usava a noite para dormir**, não para acordar.\n\nNa contrapartida, a frase **\"I am used to waking up early\"**"
241
+ },
242
+ {
243
+ "id": "ENPT_06",
244
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
245
+ "prompt": "O que significam as expressões idiomáticas em inglês: 1) 'hit the nail on the head' e 2) 'bite the bullet'? Explique em português.",
246
+ "passed": false,
247
+ "detail": "Missing concepts: group_1(acertar em cheio), group_2(encarar)",
248
+ "num_tokens": 95,
249
+ "response": "Vamos explicar as expressões idiomáticas em inglês:\n\n1) **\"Hit the nail on the head\"** \nEssa expressão significa \"encontrar a resposta certa\" ou \"encontrar a solução correta\". \nExemplo: \"A resposta para o problema está no \"hit the nail on the head\".\"\n\n2) **\"Bite the bullet\"** \nEssa expressão significa \"encontrar a solução com"
250
+ },
251
+ {
252
+ "id": "ENPT_07",
253
+ "category": "Ensino & Phrasal Verbs (EN->BR)",
254
+ "prompt": "Explique em português a diferença entre: 1) 'fun' vs 'funny', e 2) 'lose' vs 'loose' em inglês.",
255
+ "passed": false,
256
+ "detail": "Missing concepts: group_2(engraçado), group_3(perder), group_4(solto)",
257
+ "num_tokens": 95,
258
+ "response": "1) **\"Fun\"** vs **\"funny\"** \n- **\"Fun\"** é uma expressão que indica que algo é **fácil**, **bem-sucedido**, ou **bem-entendido**. \n- **\"Funny\"** é uma expressão que indica que algo é **muito divertido**, **muito interessante**, ou **muito agradável**.\n\n2) **\"Lose\""
259
+ }
260
+ ],
261
+ "model": "Qwen/Qwen3-0.6B (Baseline Normal)",
262
+ "category_breakdown": {
263
+ "Falsos Cognatos (EN<->BR)": {
264
+ "passed": 0,
265
+ "total": 7,
266
+ "accuracy_percent": 0.0,
267
+ "avg_tokens": 95.0
268
+ },
269
+ "Gramática (BR->EN)": {
270
+ "passed": 0,
271
+ "total": 7,
272
+ "accuracy_percent": 0.0,
273
+ "avg_tokens": 83.3
274
+ },
275
+ "Tradução & Idioms (BR->EN)": {
276
+ "passed": 0,
277
+ "total": 7,
278
+ "accuracy_percent": 0.0,
279
+ "avg_tokens": 95.0
280
+ },
281
+ "Ensino & Phrasal Verbs (EN->BR)": {
282
+ "passed": 0,
283
+ "total": 7,
284
+ "accuracy_percent": 0.0,
285
+ "avg_tokens": 95.0
286
+ }
287
+ }
288
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if message.content is string %}\n {%- set content = message.content %}\n {%- else %}\n {%- set content = '' %}\n {%- endif %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
231
+ "clean_up_tokenization_spaces": false,
232
+ "eos_token": "<|im_end|>",
233
+ "errors": "replace",
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff