benchmark results for Rust
This commit is contained in:
202
LICENSE.txt
Normal file
202
LICENSE.txt
Normal file
@@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
179
README.md
179
README.md
@@ -13,81 +13,89 @@ have super-human performance and with the "Project Euler LLM Benchmark" we want
|
|||||||
super-human performances in the domain of coding or "being a programmer". See "Motivation" chapter below how we measure this.
|
super-human performances in the domain of coding or "being a programmer". See "Motivation" chapter below how we measure this.
|
||||||
|
|
||||||
## Results
|
## Results
|
||||||
The computed Benchmark "PE-Bench-Python-100" is the super-human performance factor to code in python, results are so far:
|
The computed Benchmark ("PE-Bench-Python-100", "PE-Bench-Java-100", "PE-Bench-Rust-100", "PE-Bench-Clojure-100") is the super-human performance factor to code in Python/Java/Rust/Clojure.
|
||||||
|
The "Economic Score" is the average performance per bytes of model size (times 100). Results are:
|
||||||
|
|
||||||
| Model | Score | Size (*10^9 Params) | Quantization (Bits) | Context Length (K) | PE-Bench-Python-100 | PE-Bench-Java-100 | PE-Bench-Clojure-100 |
|
| Model | Economic Score | Size (*10^9 Params) | Quantization (Bits) | Context Length (K) | PE-Bench-Python-100 | PE-Bench-Java-100 | PE-Bench-Rust-100 | PE-Bench-Clojure-100 |
|
||||||
| :------------------------------------------------- | ----: | ------------------: | ------------------: | -----------------: | ------------------: | ----------------: | -------------------: |
|
| :---------------------------------------- | -------------: | ------------------: | ------------------: | -----------------: | ------------------: | ----------------: | ----------------: | -------------------: |
|
||||||
| DeepSeek-V3 | 1 | 671.0 | 16 | 64 | 15.58 | 16.95 | 5.92 |
|
| DeepSeek-V3 | 1 | 671.0 | 16 | 64 | 15.58 | 16.95 | 12.16 | 5.92 |
|
||||||
| GPT-4o | 0 | | 16 | 128 | 15.05 | 13.87 | 8.24 |
|
| GPT-4o | 0 | | 16 | 128 | 15.05 | 13.87 | | 8.24 |
|
||||||
| qwen2.5:72b-instruct-q4_K_M | 23 | 72.7 | 4 | 128 | 13.35 | 9.1 | 2.46 |
|
| qwen2.5:72b-instruct-q4_K_M | 21 | 72.7 | 4 | 128 | 13.35 | 9.1 | 5.97 | 2.46 |
|
||||||
| athene-v2:72b-q8_0 | 12 | 72.7 | 8 | 128 | 12.7 | 10.15 | 3.32 |
|
| athene-v2:72b-q8_0 | 12 | 72.7 | 8 | 128 | 12.7 | 10.15 | | 3.32 |
|
||||||
| athene-v2:latest | 23 | 72.7 | 4 | 128 | 12.36 | 11.14 | 1.62 |
|
| athene-v2:latest | 22 | 72.7 | 4 | 128 | 12.36 | 11.14 | 6.55 | 1.62 |
|
||||||
| qwen2.5-coder:32b-instruct-q8_0 | 24 | 32.8 | 8 | 32 | 11.23 | 9.94 | 2.8 |
|
| qwen2.5-coder:32b-instruct-q8_0 | 23 | 32.8 | 8 | 32 | 11.23 | 9.94 | 6.69 | 2.8 |
|
||||||
| qwen2.5:72b-instruct-q8_0 | 11 | 72.7 | 8 | 128 | 11.01 | 10.5 | 3.49 |
|
| qwen2.5:72b-instruct-q8_0 | 11 | 72.7 | 8 | 128 | 11.01 | 10.5 | | 3.49 |
|
||||||
| GPT-4o-Mini | 0 | | 16 | 128 | 10.71 | 7.36 | 1.93 |
|
| GPT-4o-Mini | 0 | | 16 | 128 | 10.71 | 7.36 | | 1.93 |
|
||||||
| qwen2.5-coder:32b-instruct-q4_K_M | 44 | 32.8 | 4 | 32 | 10.46 | 8.82 | 2.2 |
|
| qwen2.5-coder:32b-instruct-q4_K_M | 43 | 32.8 | 4 | 32 | 10.46 | 8.82 | 6.41 | 2.2 |
|
||||||
| qwen2.5-coder:14b-instruct-q8_0 | 41 | 14.8 | 8 | 128 | 9.7 | 7.35 | 0.95 |
|
| qwen2.5-coder:14b-instruct-q8_0 | 38 | 14.8 | 8 | 128 | 9.7 | 7.35 | 4.55 | 0.95 |
|
||||||
| qwen2.5:32b-instruct-q8_0 | 23 | 32.8 | 8 | 32 | 9.25 | 10.22 | 2.98 |
|
| qwen2.5:32b-instruct-q8_0 | 22 | 32.8 | 8 | 32 | 9.25 | 10.22 | 5.91 | 2.98 |
|
||||||
| GPT-3.5-Turbo | 2 | 175.0 | 16 | 16 | 9.02 | 7.28 | 0.5 |
|
| GPT-3.5-Turbo | 2 | 175.0 | 16 | 16 | 9.02 | 7.28 | | 0.5 |
|
||||||
| yi-coder:9b-chat-q8_0 | 60 | 8.8 | 8 | 128 | 8.57 | 6.77 | 0.47 |
|
| yi-coder:9b-chat-q8_0 | 57 | 8.8 | 8 | 128 | 8.57 | 6.77 | 4.32 | 0.47 |
|
||||||
| qwen2.5:14b-instruct-q8_0 | 31 | 14.8 | 8 | 32 | 8.11 | 4.14 | 1.61 |
|
| qwen2.5:14b-instruct-q8_0 | 31 | 14.8 | 8 | 32 | 8.11 | 4.14 | 4.55 | 1.61 |
|
||||||
| qwen2.5-coder:14b-instruct-q4_K_M | 74 | 14.8 | 4 | 128 | 7.98 | 7.28 | 1.13 |
|
| qwen2.5-coder:14b-instruct-q4_K_M | 71 | 14.8 | 4 | 128 | 7.98 | 7.28 | 4.62 | 1.13 |
|
||||||
| vanilj/Phi-4:Q8_0 | 33 | 14.7 | 8 | 16 | 7.81 | 5.73 | 0.84 |
|
| vanilj/Phi-4:Q8_0 | 30 | 14.7 | 8 | 16 | 7.81 | 5.73 | 3.52 | 0.84 |
|
||||||
| falcon3:10b-instruct-q8_0 | 45 | 10.3 | 8 | 32 | 7.42 | 5.14 | 1.39 |
|
| falcon3:10b-instruct-q8_0 | 45 | 10.3 | 8 | 32 | 7.42 | 5.14 | | 1.39 |
|
||||||
| tulu3:70b-q8_0 | 6 | 70.6 | 8 | 128 | 7.34 | 4.61 | 1.59 |
|
| tulu3:70b-q8_0 | 6 | 70.6 | 8 | 128 | 7.34 | 4.61 | | 1.59 |
|
||||||
| tulu3:70b-q4_K_M | 13 | 70.6 | 4 | 128 | 7.0 | 4.68 | 2.15 |
|
| tulu3:70b-q4_K_M | 12 | 70.6 | 4 | 128 | 7.0 | 4.68 | 3.35 | 2.15 |
|
||||||
| llama3.1:70b-instruct-q8_0 | 6 | 70.6 | 8 | 128 | 6.6 | 5.36 | 1.7 |
|
| llama3.1:70b-instruct-q8_0 | 6 | 70.6 | 8 | 128 | 6.6 | 5.36 | | 1.7 |
|
||||||
| llama3.3:70b-instruct-q8_0 | 8 | 70.6 | 8 | 128 | 6.46 | 8.06 | 3.17 |
|
| llama3.3:70b-instruct-q8_0 | 8 | 70.6 | 8 | 128 | 6.46 | 8.06 | | 3.17 |
|
||||||
| qwen2.5:7b-instruct-q8_0 | 46 | 7.6 | 8 | 128 | 6.4 | 3.6 | 0.51 |
|
| qwen2.5:7b-instruct-q8_0 | 38 | 7.6 | 8 | 128 | 6.4 | 3.6 | 1.13 | 0.51 |
|
||||||
| hf.co/bartowski/Anubis-70B-v1-GGUF:Q4_K_M | 13 | 70.6 | 4 | 128 | 6.14 | 6.49 | 1.36 |
|
| hf.co/bartowski/Yi-1.5-9B-Chat-GGUF:Q8_0 | 0 | 8.83 | | | 6.16 | 2.11 | 0.4 | 0.09 |
|
||||||
| qwen2.5-coder:7b-instruct-q8_0 | 49 | 7.6 | 8 | 128 | 6.13 | 4.4 | 0.63 |
|
| hf.co/bartowski/Anubis-70B-v1-GGUF:Q4_K_M | 13 | 70.6 | 4 | 128 | 6.14 | 6.49 | | 1.36 |
|
||||||
| nemotron:70b-instruct-q8_0 | 5 | 70.6 | 8 | 128 | 6.01 | 4.05 | 1.13 |
|
| qwen2.5-coder:7b-instruct-q8_0 | 49 | 7.6 | 8 | 128 | 6.13 | 4.4 | 3.78 | 0.63 |
|
||||||
| llama3.3:70b-instruct-q4_K_M | 13 | 70.6 | 4 | 128 | 5.95 | 5.25 | 2.21 |
|
| nemotron:70b-instruct-q8_0 | 5 | 70.6 | 8 | 128 | 6.01 | 4.05 | | 1.13 |
|
||||||
| llama3.1:70b-instruct-q4_K_M | 11 | 70.6 | 4 | 128 | 5.94 | 4.98 | 0.6 |
|
| llama3.3:70b-instruct-q4_K_M | 13 | 70.6 | 4 | 128 | 5.95 | 5.25 | 4.49 | 2.21 |
|
||||||
| yi-coder:9b-chat-q4_K_M | 93 | 8.8 | 4 | 128 | 5.87 | 6.04 | 0.34 |
|
| llama3.1:70b-instruct-q4_K_M | 10 | 70.6 | 4 | 128 | 5.94 | 4.98 | 2.77 | 0.6 |
|
||||||
| nemotron:70b-instruct-q4_K_M | 11 | 70.6 | 4 | 128 | 5.72 | 5.13 | 0.83 |
|
| yi-coder:9b-chat-q4_K_M | 102 | 8.8 | 4 | 128 | 5.87 | 6.04 | 5.76 | 0.34 |
|
||||||
| qwen2-math:72b-instruct-q8_0 | 6 | 72.7 | 8 | 4 | 5.64 | 6.67 | 1.3 |
|
| nemotron:70b-instruct-q4_K_M | 11 | 70.6 | 4 | 128 | 5.72 | 5.13 | 4.22 | 0.83 |
|
||||||
| falcon3:7b-instruct-q8_0 | 44 | 7.5 | 8 | 32 | 5.57 | 3.91 | 0.36 |
|
| qwen2-math:72b-instruct-q8_0 | 6 | 72.7 | 8 | 4 | 5.64 | 6.67 | | 1.3 |
|
||||||
| gemma2:27b-instruct-q8_0 | 12 | 27.2 | 8 | 8 | 5.18 | 3.3 | 0.98 |
|
| falcon3:7b-instruct-q8_0 | 44 | 7.5 | 8 | 32 | 5.57 | 3.91 | | 0.36 |
|
||||||
| qwq:32b-preview-q8_0 | 9 | 32.8 | 8 | 32 | 4.89 | 2.94 | 0.54 |
|
| gemma2:27b-instruct-q8_0 | 12 | 27.2 | 8 | 8 | 5.18 | 3.3 | | 0.98 |
|
||||||
| opencoder:8b-instruct-q8_0 | 36 | 7.8 | 8 | 8 | 4.53 | 3.22 | 0.72 |
|
| qwq:32b-preview-q8_0 | 7 | 32.8 | 8 | 32 | 4.89 | 2.94 | 1.39 | 0.54 |
|
||||||
| hf.co/bartowski/Yi-1.5-34B-Chat-GGUF:Q8_0 | 6 | 34.4 | 8 | 4 | 4.36 | 1.49 | 0.16 |
|
| opencoder:8b-instruct-q8_0 | 36 | 7.8 | 8 | 8 | 4.53 | 3.22 | | 0.72 |
|
||||||
| qwen2.5-coder:3b-instruct-q8_0 | 72 | 3.1 | 8 | 32 | 4.32 | 2.15 | 0.2 |
|
| hf.co/bartowski/Yi-1.5-34B-Chat-GGUF:Q8_0 | 6 | 34.4 | 8 | 4 | 4.36 | 1.49 | | 0.16 |
|
||||||
| tulu3:8b-q8_0 | 22 | 8.0 | 8 | 128 | 3.64 | 1.06 | 0.49 |
|
| qwen2.5-coder:3b-instruct-q8_0 | 65 | 3.1 | 8 | 32 | 4.32 | 2.15 | 1.4 | 0.2 |
|
||||||
| phi3:14b-medium-128k-instruct-q8_0 | 12 | 14.0 | 8 | 128 | 3.59 | 1.55 | 0.04 |
|
| tulu3:8b-q8_0 | 22 | 8.0 | 8 | 128 | 3.64 | 1.06 | | 0.49 |
|
||||||
| exaone3.5:7.8b-instruct-q8_0 | 28 | 7.8 | 8 | 32 | 3.55 | 2.26 | 0.68 |
|
| phi3:14b-medium-128k-instruct-q8_0 | 10 | 14.0 | 8 | 128 | 3.59 | 1.55 | 0.42 | 0.04 |
|
||||||
| llama3.1:8b-instruct-q8_0 | 22 | 8.0 | 8 | 128 | 3.32 | 1.78 | 0.09 |
|
| exaone3.5:7.8b-instruct-q8_0 | 21 | 7.8 | 8 | 32 | 3.55 | 2.26 | 0.17 | 0.68 |
|
||||||
| exaone3.5:32b-instruct-q8_0 | 8 | 32.0 | 8 | 32 | 2.96 | 3.82 | 0.47 |
|
| hf.co/bartowski/Yi-1.5-6B-Chat-GGUF:Q8_0 | 0 | 6.06 | | | 3.39 | 0.92 | 0.13 | 0.0 |
|
||||||
| qwen2.5:3b-instruct-q8_0 | 39 | 3.1 | 8 | 128 | 2.87 | 0.59 | 0.18 |
|
| llama3.1:8b-instruct-q8_0 | 22 | 8.0 | 8 | 128 | 3.32 | 1.78 | | 0.09 |
|
||||||
| granite3.1-dense:8b-instruct-q8_0 | 18 | 8.2 | 8 | 128 | 2.8 | 1.55 | 0.03 |
|
| exaone3.5:32b-instruct-q8_0 | 7 | 32.0 | 8 | 32 | 2.96 | 3.82 | 1.38 | 0.47 |
|
||||||
| exaone3.5:2.4b-instruct-q8_0 | 45 | 2.7 | 8 | 32 | 2.53 | 0.94 | 0.15 |
|
| qwen2.5:3b-instruct-q8_0 | 33 | 3.1 | 8 | 128 | 2.87 | 0.59 | 0.44 | 0.18 |
|
||||||
| qwen2-math:7b-instruct-q8_0 | 15 | 7.6 | 8 | 4 | 2.49 | 0.95 | 0.0 |
|
| granite3.1-dense:8b-instruct-q8_0 | 14 | 8.2 | 8 | 128 | 2.8 | 1.55 | 0.16 | 0.03 |
|
||||||
| gemma2:9b-instruct-q8_0 | 15 | 9.2 | 8 | 8 | 2.46 | 1.55 | 0.12 |
|
| exaone3.5:2.4b-instruct-q8_0 | 36 | 2.7 | 8 | 32 | 2.53 | 0.94 | 0.28 | 0.15 |
|
||||||
| yi-coder:1.5b-chat-q8_0 | 77 | 1.5 | 8 | 128 | 2.3 | 1.17 | 0.0 |
|
| qwen2-math:7b-instruct-q8_0 | 11 | 7.6 | 8 | 4 | 2.49 | 0.95 | 0.02 | 0.0 |
|
||||||
| opencoder:1.5b-instruct-q8_0 | 64 | 1.9 | 8 | 4 | 2.2 | 1.47 | 0.0 |
|
| gemma2:9b-instruct-q8_0 | 15 | 9.2 | 8 | 8 | 2.46 | 1.55 | | 0.12 |
|
||||||
| llama3.2:latest | 48 | 3.21 | 4 | 128 | 2.14 | 0.18 | 0.0 |
|
| yi-coder:1.5b-chat-q8_0 | 65 | 1.5 | 8 | 128 | 2.3 | 1.17 | 0.42 | 0.0 |
|
||||||
| mixtral:8x7b-instruct-v0.1-q4_K_M | 5 | 46.7 | 4 | 32 | 2.0 | 1.24 | 0.0 |
|
| dolphin3:8b-llama3.1-q8_0 | 12 | 8.0 | 8 | | 2.3 | 0.89 | 0.26 | 0.31 |
|
||||||
| qwen2.5:1.5b-instruct-q8_0 | 64 | 1.5 | 8 | 128 | 1.98 | 0.82 | 0.06 |
|
| opencoder:1.5b-instruct-q8_0 | 64 | 1.9 | 8 | 4 | 2.2 | 1.47 | | 0.0 |
|
||||||
| qwen2.5-coder:1.5b-instruct-q8_0 | 64 | 1.5 | 8 | 32 | 1.95 | 0.9 | 0.03 |
|
| llama3.2:latest | 39 | 3.21 | 4 | 128 | 2.14 | 0.18 | 0.21 | 0.0 |
|
||||||
| falcon3:3b-instruct-q8_0 | 31 | 3.2 | 8 | 32 | 1.89 | 1.09 | 0.04 |
|
| mixtral:8x7b-instruct-v0.1-q4_K_M | 4 | 46.7 | 4 | 32 | 2.0 | 1.24 | 0.62 | 0.0 |
|
||||||
| codegemma:7b-instruct-q8_0 | 11 | 9.0 | 8 | 8 | 1.81 | 1.27 | 0.0 |
|
| qwen2.5:1.5b-instruct-q8_0 | 52 | 1.5 | 8 | 128 | 1.98 | 0.82 | 0.29 | 0.06 |
|
||||||
| openchat:7b-v3.5-q8_0 | 13 | 7.0 | 8 | 8 | 1.62 | 1.21 | 0.0 |
|
| qwen2.5-coder:1.5b-instruct-q8_0 | 59 | 1.5 | 8 | 32 | 1.95 | 0.9 | 0.66 | 0.03 |
|
||||||
| mixtral:8x7b-instruct-v0.1-q8_0 | 1 | 46.7 | 8 | 32 | 1.44 | 0.65 | 0.0 |
|
| falcon3:3b-instruct-q8_0 | 31 | 3.2 | 8 | 32 | 1.89 | 1.09 | | 0.04 |
|
||||||
| granite3.1-dense:2b-instruct-q8_0 | 16 | 2.5 | 8 | 128 | 1.07 | 0.11 | 0.0 |
|
| codegemma:7b-instruct-q8_0 | 11 | 9.0 | 8 | 8 | 1.81 | 1.27 | | 0.0 |
|
||||||
| Bio-Medical-Llama-3-8B-GGUF:Q8_0 | 11 | 8.0 | 8 | 8 | 1.04 | 1.65 | 0.03 |
|
| openchat:7b-v3.5-q8_0 | 10 | 7.0 | 8 | 8 | 1.62 | 1.21 | 0.06 | 0.0 |
|
||||||
| qwen2.5:0.5b-instruct-q8_0 | 67 | 0.5 | 8 | 128 | 1.01 | 0.0 | 0.0 |
|
| mixtral:8x7b-instruct-v0.1-q8_0 | 1 | 46.7 | 8 | 32 | 1.44 | 0.65 | | 0.0 |
|
||||||
| granite3.1-moe:3b-instruct-q8_0 | 8 | 3.3 | 8 | 128 | 0.78 | 0.03 | 0.03 |
|
| granite3.1-dense:2b-instruct-q8_0 | 14 | 2.5 | 8 | 128 | 1.07 | 0.11 | 0.2 | 0.0 |
|
||||||
| qwen2-math:1.5b-instruct-q8_0 | 14 | 1.5 | 8 | 4 | 0.61 | 0.03 | 0.0 |
|
| Bio-Medical-Llama-3-8B-GGUF:Q8_0 | 9 | 8.0 | 8 | 8 | 1.04 | 1.65 | 0.3 | 0.03 |
|
||||||
| smallthinker:3b-preview-q8_0 | 10 | 3.4 | 8 | 128 | 0.6 | 0.19 | 0.19 |
|
| qwen2.5:0.5b-instruct-q8_0 | 61 | 0.5 | 8 | 128 | 1.01 | 0.0 | 0.21 | 0.0 |
|
||||||
| gemma2:2b-instruct-q8_0 | 8 | 2.6 | 8 | 8 | 0.39 | 0.22 | 0.0 |
|
| granite3.1-moe:3b-instruct-q8_0 | 8 | 3.3 | 8 | 128 | 0.78 | 0.03 | | 0.03 |
|
||||||
| falcon3:1b-instruct-q8_0 | 5 | 1.7 | 8 | 8 | 0.25 | 0.0 | 0.0 |
|
| qwen2-math:1.5b-instruct-q8_0 | 11 | 1.5 | 8 | 4 | 0.61 | 0.03 | 0.0 | 0.0 |
|
||||||
| granite3.1-moe:1b-instruct-q8_0 | 6 | 1.3 | 8 | 128 | 0.24 | 0.0 | 0.0 |
|
| smallthinker:3b-preview-q8_0 | 7 | 3.4 | 8 | 128 | 0.6 | 0.19 | 0.03 | 0.19 |
|
||||||
| llama3.2:1b-instruct-q8_0 | 8 | 1.2 | 8 | 128 | 0.23 | 0.06 | 0.0 |
|
| gemma2:2b-instruct-q8_0 | 8 | 2.6 | 8 | 8 | 0.39 | 0.22 | | 0.0 |
|
||||||
| smallthinker:3b-preview-q4_K_M | 9 | 3.4 | 4 | 128 | 0.22 | 0.25 | 0.0 |
|
| falcon3:1b-instruct-q8_0 | 5 | 1.7 | 8 | 8 | 0.25 | 0.0 | | 0.0 |
|
||||||
| qwen2.5-coder:0.5b-instruct-q8_0 | 9 | 0.5 | 8 | 32 | 0.13 | 0.01 | 0.0 |
|
| granite3.1-moe:1b-instruct-q8_0 | 6 | 1.3 | 8 | 128 | 0.24 | 0.0 | | 0.0 |
|
||||||
| qwen2.5-coder:0.5b | 8 | 0.5 | 8 | 32 | 0.11 | 0.01 | 0.0 |
|
| llama3.2:1b-instruct-q8_0 | 8 | 1.2 | 8 | 128 | 0.23 | 0.06 | | 0.0 |
|
||||||
| qwen2:0.5b-instruct-q8_0 | 0 | 494.03 | 8 | 32 | 0.07 | 0.0 | 0.0 |
|
| hf.co/bartowski/UwU-7B-Instruct-GGUF:Q8_0 | 0 | 7.62 | | | 0.23 | 0.54 | 0.0 | 0.0 |
|
||||||
| starcoder2:3b | 0 | 3.0 | 4 | 16 | 0.0 | 0.0 | 0.0 |
|
| smallthinker:3b-preview-q4_K_M | 7 | 3.4 | 4 | 128 | 0.22 | 0.25 | 0.0 | 0.0 |
|
||||||
|
| qwen2.5-coder:0.5b-instruct-q8_0 | 8 | 0.5 | 8 | 32 | 0.13 | 0.01 | 0.03 | 0.0 |
|
||||||
|
| qwen2.5-coder:0.5b | 8 | 0.5 | 8 | 32 | 0.11 | 0.01 | 0.03 | 0.0 |
|
||||||
|
| qwen2:0.5b-instruct-q8_0 | 0 | 494.03 | 8 | 32 | 0.07 | 0.0 | 0.0 | 0.0 |
|
||||||
|
| starcoder2:3b | 0 | 3.0 | 4 | 16 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||||
|
| smollm:1.7b-instruct-v0.2-q8_0 | 0 | 1.7 | 8 | | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||||
|
| smollm:135m-instruct-v0.2-q8_0 | 0 | 134.52 | 8 | | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||||
|
| smollm:360m-instruct-v0.2-q8_0 | 0 | 361.82 | 8 | | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||||
|
|
||||||
This shows that even very small models like the llama3.2 model has a two-fold super-human performance at solving those problems.
|
This shows that even very small models like the llama3.2 model has a two-fold super-human performance at solving those problems.
|
||||||
|
|
||||||
@@ -97,11 +105,11 @@ Solving specific tasks by coding programs requires a high degree of accuracy and
|
|||||||
Challenging problems, such as those presented by Project Euler, test whether a person (or an AI system) can comprehend complex
|
Challenging problems, such as those presented by Project Euler, test whether a person (or an AI system) can comprehend complex
|
||||||
problems and translate that understanding into effective solutions.
|
problems and translate that understanding into effective solutions.
|
||||||
|
|
||||||
Because the Project Euler has statistics about the number of solved problems we have the ability to compute the likelihood for
|
Because the Project Euler has statistics about the number of solved problems we have the ability to compute the likelihod for
|
||||||
a human to solve the problem. The given counts of course also reflect several other causes for not solving the problem (not enough
|
a human to solve the problem. The given counts of course also reflect several other causes for not solving the problem (not enough
|
||||||
interest, not enough time, not visible at the time the contestant has subscribed to the project) which cannot be easily integrated into
|
interest, not enough time, not visible at the time the contestant has subscribed to the project) which cannot be easily integrated into
|
||||||
our measurement method; however Project Euler started 2015 with more than 160 problems so it is feasable to select only the first 100
|
our measurement method; however Project Euler started 2015 with more than 160 problems so it is feasable to select only the first 100
|
||||||
problems for the PE-Bench-Python-100 benchmark.
|
problems for the PE-Bench-Python-100 benchmark.
|
||||||
|
|
||||||
## Scoring Method
|
## Scoring Method
|
||||||
|
|
||||||
@@ -211,3 +219,22 @@ python3 test.py --language python --allmodels --skip_existing
|
|||||||
which loads the list of models from ollama and iterates over all models stored with ollama.
|
which loads the list of models from ollama and iterates over all models stored with ollama.
|
||||||
This will take some time, if you have a large model collection in ollama maybe this takes
|
This will take some time, if you have a large model collection in ollama maybe this takes
|
||||||
longer than a week.
|
longer than a week.
|
||||||
|
|
||||||
|
## Contribution
|
||||||
|
|
||||||
|
My current set-up does not allow to run models greater than 128GB. Models greater than this size
|
||||||
|
had been tested using the API of the providing institution (i.e. OpenAI, DeepSeek). Other bigger models
|
||||||
|
cannot be tested on my hardware.
|
||||||
|
|
||||||
|
### Wanted
|
||||||
|
|
||||||
|
Please send me a pull request for the following cases:
|
||||||
|
|
||||||
|
- If you have better hardware and want to contribute your contribution is welcome.
|
||||||
|
- The code runner for python, java, rust, clojure (see `execute.py`) can possibly be enhanced. That would cause better benchmark scorings for affected models. Please see if this can be enhanced.
|
||||||
|
- bugfixes (code and documentation)
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This work (code and benchmark results) is licensed by Michael Christen under the
|
||||||
|
Apache License Version 2.0, January 2004
|
||||||
|
|||||||
155
benchmark.json
155
benchmark.json
@@ -5,7 +5,8 @@
|
|||||||
"_quantization_level": 16,
|
"_quantization_level": 16,
|
||||||
"python-100": 15.58,
|
"python-100": 15.58,
|
||||||
"clojure-100": 5.92,
|
"clojure-100": 5.92,
|
||||||
"java-100": 16.95
|
"java-100": 16.95,
|
||||||
|
"rust-100": 12.16
|
||||||
},
|
},
|
||||||
"GPT-4o": {
|
"GPT-4o": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -20,7 +21,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 2.46,
|
"clojure-100": 2.46,
|
||||||
"java-100": 9.1,
|
"java-100": 9.1,
|
||||||
"python-100": 13.35
|
"python-100": 13.35,
|
||||||
|
"rust-100": 5.97
|
||||||
},
|
},
|
||||||
"athene-v2:72b-q8_0": {
|
"athene-v2:72b-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -36,7 +38,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 1.62,
|
"clojure-100": 1.62,
|
||||||
"java-100": 11.14,
|
"java-100": 11.14,
|
||||||
"python-100": 12.36
|
"python-100": 12.36,
|
||||||
|
"rust-100": 6.55
|
||||||
},
|
},
|
||||||
"qwen2.5-coder:32b-instruct-q8_0": {
|
"qwen2.5-coder:32b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -44,7 +47,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 2.8,
|
"clojure-100": 2.8,
|
||||||
"java-100": 9.94,
|
"java-100": 9.94,
|
||||||
"python-100": 11.23
|
"python-100": 11.23,
|
||||||
|
"rust-100": 6.69
|
||||||
},
|
},
|
||||||
"qwen2.5:72b-instruct-q8_0": {
|
"qwen2.5:72b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -68,7 +72,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 2.2,
|
"clojure-100": 2.2,
|
||||||
"java-100": 8.82,
|
"java-100": 8.82,
|
||||||
"python-100": 10.46
|
"python-100": 10.46,
|
||||||
|
"rust-100": 6.41
|
||||||
},
|
},
|
||||||
"qwen2.5-coder:14b-instruct-q8_0": {
|
"qwen2.5-coder:14b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -76,7 +81,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.95,
|
"clojure-100": 0.95,
|
||||||
"java-100": 7.35,
|
"java-100": 7.35,
|
||||||
"python-100": 9.7
|
"python-100": 9.7,
|
||||||
|
"rust-100": 4.55
|
||||||
},
|
},
|
||||||
"qwen2.5:32b-instruct-q8_0": {
|
"qwen2.5:32b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -84,7 +90,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 2.98,
|
"clojure-100": 2.98,
|
||||||
"java-100": 10.22,
|
"java-100": 10.22,
|
||||||
"python-100": 9.25
|
"python-100": 9.25,
|
||||||
|
"rust-100": 5.91
|
||||||
},
|
},
|
||||||
"GPT-3.5-Turbo": {
|
"GPT-3.5-Turbo": {
|
||||||
"_context_size": 16,
|
"_context_size": 16,
|
||||||
@@ -109,7 +116,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 1.61,
|
"clojure-100": 1.61,
|
||||||
"java-100": 4.14,
|
"java-100": 4.14,
|
||||||
"python-100": 8.11
|
"python-100": 8.11,
|
||||||
|
"rust-100": 4.55
|
||||||
},
|
},
|
||||||
"qwen2.5-coder:14b-instruct-q4_K_M": {
|
"qwen2.5-coder:14b-instruct-q4_K_M": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -117,7 +125,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 1.13,
|
"clojure-100": 1.13,
|
||||||
"java-100": 7.28,
|
"java-100": 7.28,
|
||||||
"python-100": 7.98
|
"python-100": 7.98,
|
||||||
|
"rust-100": 4.62
|
||||||
},
|
},
|
||||||
"vanilj/Phi-4:Q8_0": {
|
"vanilj/Phi-4:Q8_0": {
|
||||||
"_context_size": 16,
|
"_context_size": 16,
|
||||||
@@ -125,7 +134,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.84,
|
"clojure-100": 0.84,
|
||||||
"java-100": 5.73,
|
"java-100": 5.73,
|
||||||
"python-100": 7.81
|
"python-100": 7.81,
|
||||||
|
"rust-100": 3.52
|
||||||
},
|
},
|
||||||
"falcon3:10b-instruct-q8_0": {
|
"falcon3:10b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -149,7 +159,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 2.15,
|
"clojure-100": 2.15,
|
||||||
"java-100": 4.68,
|
"java-100": 4.68,
|
||||||
"python-100": 7.0
|
"python-100": 7.0,
|
||||||
|
"rust-100": 3.35
|
||||||
},
|
},
|
||||||
"llama3.1:70b-instruct-q8_0": {
|
"llama3.1:70b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -176,6 +187,13 @@
|
|||||||
"python-100": 6.4,
|
"python-100": 6.4,
|
||||||
"rust-100": 1.13
|
"rust-100": 1.13
|
||||||
},
|
},
|
||||||
|
"hf.co/bartowski/Yi-1.5-9B-Chat-GGUF:Q8_0": {
|
||||||
|
"_parameter_size": 8.83,
|
||||||
|
"clojure-100": 0.09,
|
||||||
|
"java-100": 2.11,
|
||||||
|
"python-100": 6.16,
|
||||||
|
"rust-100": 0.4
|
||||||
|
},
|
||||||
"hf.co/bartowski/Anubis-70B-v1-GGUF:Q4_K_M": {
|
"hf.co/bartowski/Anubis-70B-v1-GGUF:Q4_K_M": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
"_parameter_size": 70.6,
|
"_parameter_size": 70.6,
|
||||||
@@ -190,7 +208,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.63,
|
"clojure-100": 0.63,
|
||||||
"java-100": 4.4,
|
"java-100": 4.4,
|
||||||
"python-100": 6.13
|
"python-100": 6.13,
|
||||||
|
"rust-100": 3.78
|
||||||
},
|
},
|
||||||
"nemotron:70b-instruct-q8_0": {
|
"nemotron:70b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -206,7 +225,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 2.21,
|
"clojure-100": 2.21,
|
||||||
"java-100": 5.25,
|
"java-100": 5.25,
|
||||||
"python-100": 5.95
|
"python-100": 5.95,
|
||||||
|
"rust-100": 4.49
|
||||||
},
|
},
|
||||||
"llama3.1:70b-instruct-q4_K_M": {
|
"llama3.1:70b-instruct-q4_K_M": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -214,7 +234,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 0.6,
|
"clojure-100": 0.6,
|
||||||
"java-100": 4.98,
|
"java-100": 4.98,
|
||||||
"python-100": 5.94
|
"python-100": 5.94,
|
||||||
|
"rust-100": 2.77
|
||||||
},
|
},
|
||||||
"yi-coder:9b-chat-q4_K_M": {
|
"yi-coder:9b-chat-q4_K_M": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -231,7 +252,8 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 0.83,
|
"clojure-100": 0.83,
|
||||||
"java-100": 5.13,
|
"java-100": 5.13,
|
||||||
"python-100": 5.72
|
"python-100": 5.72,
|
||||||
|
"rust-100": 4.22
|
||||||
},
|
},
|
||||||
"qwen2-math:72b-instruct-q8_0": {
|
"qwen2-math:72b-instruct-q8_0": {
|
||||||
"_context_size": 4,
|
"_context_size": 4,
|
||||||
@@ -263,7 +285,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.54,
|
"clojure-100": 0.54,
|
||||||
"java-100": 2.94,
|
"java-100": 2.94,
|
||||||
"python-100": 4.89
|
"python-100": 4.89,
|
||||||
|
"rust-100": 1.39
|
||||||
},
|
},
|
||||||
"opencoder:8b-instruct-q8_0": {
|
"opencoder:8b-instruct-q8_0": {
|
||||||
"_context_size": 8,
|
"_context_size": 8,
|
||||||
@@ -287,7 +310,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.2,
|
"clojure-100": 0.2,
|
||||||
"java-100": 2.15,
|
"java-100": 2.15,
|
||||||
"python-100": 4.32
|
"python-100": 4.32,
|
||||||
|
"rust-100": 1.4
|
||||||
},
|
},
|
||||||
"tulu3:8b-q8_0": {
|
"tulu3:8b-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -303,7 +327,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.04,
|
"clojure-100": 0.04,
|
||||||
"java-100": 1.55,
|
"java-100": 1.55,
|
||||||
"python-100": 3.59
|
"python-100": 3.59,
|
||||||
|
"rust-100": 0.42
|
||||||
},
|
},
|
||||||
"exaone3.5:7.8b-instruct-q8_0": {
|
"exaone3.5:7.8b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -314,6 +339,13 @@
|
|||||||
"python-100": 3.55,
|
"python-100": 3.55,
|
||||||
"rust-100": 0.17
|
"rust-100": 0.17
|
||||||
},
|
},
|
||||||
|
"hf.co/bartowski/Yi-1.5-6B-Chat-GGUF:Q8_0": {
|
||||||
|
"_parameter_size": 6.06,
|
||||||
|
"clojure-100": 0.0,
|
||||||
|
"java-100": 0.92,
|
||||||
|
"python-100": 3.39,
|
||||||
|
"rust-100": 0.13
|
||||||
|
},
|
||||||
"llama3.1:8b-instruct-q8_0": {
|
"llama3.1:8b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
"_parameter_size": 8.0,
|
"_parameter_size": 8.0,
|
||||||
@@ -346,7 +378,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.03,
|
"clojure-100": 0.03,
|
||||||
"java-100": 1.55,
|
"java-100": 1.55,
|
||||||
"python-100": 2.8
|
"python-100": 2.8,
|
||||||
|
"rust-100": 0.16
|
||||||
},
|
},
|
||||||
"exaone3.5:2.4b-instruct-q8_0": {
|
"exaone3.5:2.4b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -354,7 +387,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.15,
|
"clojure-100": 0.15,
|
||||||
"java-100": 0.94,
|
"java-100": 0.94,
|
||||||
"python-100": 2.53
|
"python-100": 2.53,
|
||||||
|
"rust-100": 0.28
|
||||||
},
|
},
|
||||||
"qwen2-math:7b-instruct-q8_0": {
|
"qwen2-math:7b-instruct-q8_0": {
|
||||||
"_context_size": 4,
|
"_context_size": 4,
|
||||||
@@ -382,6 +416,14 @@
|
|||||||
"python-100": 2.3,
|
"python-100": 2.3,
|
||||||
"rust-100": 0.42
|
"rust-100": 0.42
|
||||||
},
|
},
|
||||||
|
"dolphin3:8b-llama3.1-q8_0": {
|
||||||
|
"_parameter_size": 8.0,
|
||||||
|
"_quantization_level": 8,
|
||||||
|
"clojure-100": 0.31,
|
||||||
|
"java-100": 0.89,
|
||||||
|
"python-100": 2.3,
|
||||||
|
"rust-100": 0.26
|
||||||
|
},
|
||||||
"opencoder:1.5b-instruct-q8_0": {
|
"opencoder:1.5b-instruct-q8_0": {
|
||||||
"_context_size": 4,
|
"_context_size": 4,
|
||||||
"_parameter_size": 1.9,
|
"_parameter_size": 1.9,
|
||||||
@@ -414,7 +456,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.06,
|
"clojure-100": 0.06,
|
||||||
"java-100": 0.82,
|
"java-100": 0.82,
|
||||||
"python-100": 1.98
|
"python-100": 1.98,
|
||||||
|
"rust-100": 0.29
|
||||||
},
|
},
|
||||||
"qwen2.5-coder:1.5b-instruct-q8_0": {
|
"qwen2.5-coder:1.5b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -422,7 +465,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.03,
|
"clojure-100": 0.03,
|
||||||
"java-100": 0.9,
|
"java-100": 0.9,
|
||||||
"python-100": 1.95
|
"python-100": 1.95,
|
||||||
|
"rust-100": 0.66
|
||||||
},
|
},
|
||||||
"falcon3:3b-instruct-q8_0": {
|
"falcon3:3b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -463,7 +507,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.0,
|
"clojure-100": 0.0,
|
||||||
"java-100": 0.11,
|
"java-100": 0.11,
|
||||||
"python-100": 1.07
|
"python-100": 1.07,
|
||||||
|
"rust-100": 0.2
|
||||||
},
|
},
|
||||||
"Bio-Medical-Llama-3-8B-GGUF:Q8_0": {
|
"Bio-Medical-Llama-3-8B-GGUF:Q8_0": {
|
||||||
"_context_size": 8,
|
"_context_size": 8,
|
||||||
@@ -471,7 +516,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.03,
|
"clojure-100": 0.03,
|
||||||
"java-100": 1.65,
|
"java-100": 1.65,
|
||||||
"python-100": 1.04
|
"python-100": 1.04,
|
||||||
|
"rust-100": 0.3
|
||||||
},
|
},
|
||||||
"qwen2.5:0.5b-instruct-q8_0": {
|
"qwen2.5:0.5b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -479,7 +525,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.0,
|
"clojure-100": 0.0,
|
||||||
"java-100": 0.0,
|
"java-100": 0.0,
|
||||||
"python-100": 1.01
|
"python-100": 1.01,
|
||||||
|
"rust-100": 0.21
|
||||||
},
|
},
|
||||||
"granite3.1-moe:3b-instruct-q8_0": {
|
"granite3.1-moe:3b-instruct-q8_0": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
@@ -539,6 +586,13 @@
|
|||||||
"java-100": 0.06,
|
"java-100": 0.06,
|
||||||
"python-100": 0.23
|
"python-100": 0.23
|
||||||
},
|
},
|
||||||
|
"hf.co/bartowski/UwU-7B-Instruct-GGUF:Q8_0": {
|
||||||
|
"_parameter_size": 7.62,
|
||||||
|
"clojure-100": 0.0,
|
||||||
|
"java-100": 0.54,
|
||||||
|
"python-100": 0.23,
|
||||||
|
"rust-100": 0.0
|
||||||
|
},
|
||||||
"smallthinker:3b-preview-q4_K_M": {
|
"smallthinker:3b-preview-q4_K_M": {
|
||||||
"_context_size": 128,
|
"_context_size": 128,
|
||||||
"_parameter_size": 3.4,
|
"_parameter_size": 3.4,
|
||||||
@@ -554,7 +608,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.0,
|
"clojure-100": 0.0,
|
||||||
"java-100": 0.01,
|
"java-100": 0.01,
|
||||||
"python-100": 0.13
|
"python-100": 0.13,
|
||||||
|
"rust-100": 0.03
|
||||||
},
|
},
|
||||||
"qwen2.5-coder:0.5b": {
|
"qwen2.5-coder:0.5b": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -562,7 +617,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.0,
|
"clojure-100": 0.0,
|
||||||
"java-100": 0.01,
|
"java-100": 0.01,
|
||||||
"python-100": 0.11
|
"python-100": 0.11,
|
||||||
|
"rust-100": 0.03
|
||||||
},
|
},
|
||||||
"qwen2:0.5b-instruct-q8_0": {
|
"qwen2:0.5b-instruct-q8_0": {
|
||||||
"_context_size": 32,
|
"_context_size": 32,
|
||||||
@@ -570,22 +626,8 @@
|
|||||||
"_quantization_level": 8,
|
"_quantization_level": 8,
|
||||||
"clojure-100": 0.0,
|
"clojure-100": 0.0,
|
||||||
"java-100": 0.0,
|
"java-100": 0.0,
|
||||||
"python-100": 0.07
|
"python-100": 0.07,
|
||||||
},
|
"rust-100": 0.0
|
||||||
"deepseek-coder-v2:236b-instruct-q2_K": {
|
|
||||||
"_context_size": 128,
|
|
||||||
"_parameter_size": 235.7,
|
|
||||||
"_quantization_level": 2
|
|
||||||
},
|
|
||||||
"deepseek-coder-v2:16b-lite-instruct-q8_0": {
|
|
||||||
"_context_size": 128,
|
|
||||||
"_parameter_size": 15.7,
|
|
||||||
"_quantization_level": 8
|
|
||||||
},
|
|
||||||
"hf.co/attashe/phi-4-abliterated-Q4_K_M-GGUF:latest": {
|
|
||||||
"_context_size": 16,
|
|
||||||
"_parameter_size": 14.7,
|
|
||||||
"_quantization_level": 8
|
|
||||||
},
|
},
|
||||||
"starcoder2:3b": {
|
"starcoder2:3b": {
|
||||||
"_context_size": 16,
|
"_context_size": 16,
|
||||||
@@ -593,6 +635,31 @@
|
|||||||
"_quantization_level": 4,
|
"_quantization_level": 4,
|
||||||
"clojure-100": 0.0,
|
"clojure-100": 0.0,
|
||||||
"java-100": 0.0,
|
"java-100": 0.0,
|
||||||
"python-100": 0.0
|
"python-100": 0.0,
|
||||||
|
"rust-100": 0.0
|
||||||
|
},
|
||||||
|
"smollm:1.7b-instruct-v0.2-q8_0": {
|
||||||
|
"_parameter_size": 1.7,
|
||||||
|
"_quantization_level": 8,
|
||||||
|
"clojure-100": 0.0,
|
||||||
|
"java-100": 0.0,
|
||||||
|
"python-100": 0.0,
|
||||||
|
"rust-100": 0.0
|
||||||
|
},
|
||||||
|
"smollm:135m-instruct-v0.2-q8_0": {
|
||||||
|
"_parameter_size": 134.52,
|
||||||
|
"_quantization_level": 8,
|
||||||
|
"clojure-100": 0.0,
|
||||||
|
"java-100": 0.0,
|
||||||
|
"python-100": 0.0,
|
||||||
|
"rust-100": 0.0
|
||||||
|
},
|
||||||
|
"smollm:360m-instruct-v0.2-q8_0": {
|
||||||
|
"_parameter_size": 361.82,
|
||||||
|
"_quantization_level": 8,
|
||||||
|
"clojure-100": 0.0,
|
||||||
|
"java-100": 0.0,
|
||||||
|
"python-100": 0.0,
|
||||||
|
"rust-100": 0.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
15
publish.py
15
publish.py
@@ -26,23 +26,25 @@ print(table)
|
|||||||
maxkey = 0
|
maxkey = 0
|
||||||
for key, value in benchmark.items():
|
for key, value in benchmark.items():
|
||||||
if len(key) > maxkey: maxkey = len(key)
|
if len(key) > maxkey: maxkey = len(key)
|
||||||
col_score = "Score"
|
col_score = "Economic Score"
|
||||||
col_size = "Size (*10^9 Params)"
|
col_size = "Size (*10^9 Params)"
|
||||||
col_quant = "Quantization (Bits)"
|
col_quant = "Quantization (Bits)"
|
||||||
col_context = "Context Length (K)"
|
col_context = "Context Length (K)"
|
||||||
col_bench_python_100 = "PE-Bench-Python-100"
|
col_bench_python_100 = "PE-Bench-Python-100"
|
||||||
col_bench_java_100 = "PE-Bench-Java-100"
|
col_bench_java_100 = "PE-Bench-Java-100"
|
||||||
|
col_bench_rust_100 = "PE-Bench-Rust-100"
|
||||||
col_bench_clojure_100 = "PE-Bench-Clojure-100"
|
col_bench_clojure_100 = "PE-Bench-Clojure-100"
|
||||||
|
|
||||||
newtable = "| Model" + " "*(maxkey-5) + " | " + col_score + " | " + col_size + " | " + col_quant + " | " + col_context + " | " + col_bench_python_100 + " | " + col_bench_java_100 + " | " + col_bench_clojure_100 + " |\n"
|
newtable = "| Model" + " "*(maxkey-5) + " | " + col_score + " | " + col_size + " | " + col_quant + " | " + col_context + " | " + col_bench_python_100 + " | " + col_bench_java_100 + " | " + col_bench_rust_100 + " | " + col_bench_clojure_100 + " |\n"
|
||||||
newtable += "| :" + "-"*(maxkey-1) + " | " + "-"*(len(col_score)-1) + ": | " + "-"*(len(col_size)-1) + ": | " + "-"*(len(col_quant)-1) + ": | " + "-"*(len(col_context)-1)
|
newtable += "| :" + "-"*(maxkey-1) + " | " + "-"*(len(col_score)-1) + ": | " + "-"*(len(col_size)-1) + ": | " + "-"*(len(col_quant)-1) + ": | " + "-"*(len(col_context)-1)
|
||||||
newtable += ": | " + "-"*(len(col_bench_python_100)-1) + ": | " + "-"*(len(col_bench_java_100)-1) + ": | " + "-"*(len(col_bench_clojure_100)-1) + ": |\n"
|
newtable += ": | " + "-"*(len(col_bench_python_100)-1) + ": | " + "-"*(len(col_bench_java_100)-1) + ": | " + "-"*(len(col_bench_rust_100)-1) + ": | " + "-"*(len(col_bench_clojure_100)-1) + ": |\n"
|
||||||
for key, value in benchmark.items():
|
for key, value in benchmark.items():
|
||||||
size_v = value.get('_parameter_size', '')
|
size_v = value.get('_parameter_size', '')
|
||||||
quant_v = value.get('_quantization_level', '')
|
quant_v = value.get('_quantization_level', '')
|
||||||
context_v = value.get('_context_size', '')
|
context_v = value.get('_context_size', '')
|
||||||
bench_python_100_v = value.get('python-100', '')
|
bench_python_100_v = value.get('python-100', '')
|
||||||
bench_java_100_v = value.get('java-100', '')
|
bench_java_100_v = value.get('java-100', '')
|
||||||
|
bench_rust_100_v = value.get('rust-100', '')
|
||||||
bench_clojure_100_v = value.get('clojure-100', '')
|
bench_clojure_100_v = value.get('clojure-100', '')
|
||||||
bench_avg = 0
|
bench_avg = 0
|
||||||
n = 0
|
n = 0
|
||||||
@@ -52,11 +54,14 @@ for key, value in benchmark.items():
|
|||||||
if bench_java_100_v != '':
|
if bench_java_100_v != '':
|
||||||
bench_avg += bench_java_100_v
|
bench_avg += bench_java_100_v
|
||||||
n += 1
|
n += 1
|
||||||
|
if bench_rust_100_v != '':
|
||||||
|
bench_avg += bench_rust_100_v
|
||||||
|
n += 1
|
||||||
if bench_clojure_100_v != '':
|
if bench_clojure_100_v != '':
|
||||||
bench_avg += bench_clojure_100_v
|
bench_avg += bench_clojure_100_v
|
||||||
n += 1
|
n += 1
|
||||||
bench_avg = bench_avg / n if n > 0 else 0
|
bench_avg = bench_avg / n if n > 0 else 0
|
||||||
score_v = (bench_avg * 800 / size_v / quant_v) if size_v and size_v > 0 else 0.0
|
score_v = (bench_avg * 800 / size_v / float(quant_v)) if quant_v and size_v and size_v > 0 else 0.0
|
||||||
|
|
||||||
col_score_vs = "{:.0f}".format(score_v)
|
col_score_vs = "{:.0f}".format(score_v)
|
||||||
col_size_vs = str(size_v)
|
col_size_vs = str(size_v)
|
||||||
@@ -64,6 +69,7 @@ for key, value in benchmark.items():
|
|||||||
col_context_vs = str(context_v)
|
col_context_vs = str(context_v)
|
||||||
col_bench_python_100_vs = str(bench_python_100_v)
|
col_bench_python_100_vs = str(bench_python_100_v)
|
||||||
col_bench_java_100_vs = str(bench_java_100_v)
|
col_bench_java_100_vs = str(bench_java_100_v)
|
||||||
|
col_bench_rust_100_vs = str(bench_rust_100_v)
|
||||||
col_bench_clojure_100_vs = str(bench_clojure_100_v)
|
col_bench_clojure_100_vs = str(bench_clojure_100_v)
|
||||||
|
|
||||||
if col_bench_python_100_vs == '': continue
|
if col_bench_python_100_vs == '': continue
|
||||||
@@ -74,6 +80,7 @@ for key, value in benchmark.items():
|
|||||||
newtable += " | " + " "*(len(col_context) - len(col_context_vs)) + col_context_vs
|
newtable += " | " + " "*(len(col_context) - len(col_context_vs)) + col_context_vs
|
||||||
newtable += " | " + " "*(len(col_bench_python_100) - len(col_bench_python_100_vs)) + col_bench_python_100_vs
|
newtable += " | " + " "*(len(col_bench_python_100) - len(col_bench_python_100_vs)) + col_bench_python_100_vs
|
||||||
newtable += " | " + " "*(len(col_bench_java_100) - len(col_bench_java_100_vs)) + col_bench_java_100_vs
|
newtable += " | " + " "*(len(col_bench_java_100) - len(col_bench_java_100_vs)) + col_bench_java_100_vs
|
||||||
|
newtable += " | " + " "*(len(col_bench_rust_100) - len(col_bench_rust_100_vs)) + col_bench_rust_100_vs
|
||||||
newtable += " | " + " "*(len(col_bench_clojure_100) - len(col_bench_clojure_100_vs)) + col_bench_clojure_100_vs
|
newtable += " | " + " "*(len(col_bench_clojure_100) - len(col_bench_clojure_100_vs)) + col_bench_clojure_100_vs
|
||||||
newtable += " |\n"
|
newtable += " |\n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user