dunebench – a lightweight evaluation tool for llama.cpp models
Project description
DuneBench
dunebench is a lightweight, local benchmarking tool for GGUF models. It allows you to evaluate Large Language Models (LLMs) across a variety of domains—including logic, coding, math, and common sense—using llama-cpp-python.
Installation
Install dunebench with pip
pip install dunebench
or install EXE with this link
Features
- Local Evaluation: Runs entirely on your machine using GGUF models.
- GPU Accelerated: Offload layers to your GPU for faster testing.
- Multi-Domain Support: Includes 8 distinct benchmarks (Math, Coding, Science, etc.).
Usage/Examples
dunebench --model "path/to/model.gguf" --task science --limit 20
Arguments
| Argument | Description | Default |
|---|---|---|
--model |
Path to your .gguf model file |
Required |
--task |
The benchmark task to run | Required |
--limit |
Number of samples to test | 10 |
tasks
| Task Name | Dataset Used | Domain | Type |
|---|---|---|---|
| science | ai2_arc (Challenge) | Scientific Reasoning | Multiple Choice |
| math | gsm8k | Math Word Problems | Generation |
| programming | mbpp (Sanitized) | Python Coding | Code Generation |
| physical_logic | piqa | Physical Commonsense | Multiple Choice |
| common_sense | openbookqa | General Knowledge | Multiple Choice |
| logic | winogrande | Ambiguity Resolution | Multiple Choice |
| grammar | glue (CoLA) | Linguistic Acceptability | Multiple Choice |
| nlp | hellaswag | Sentence Completion | Multiple Choice |
License
Authors
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dunebench-0.3.tar.gz.
File metadata
- Download URL: dunebench-0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcb4597f4637ecf03786cf463257b0f53c5b1c87a5b8430cb6a137af91aa07d4
|
|
| MD5 |
0211a687612966a9f1ed45bb83e1b524
|
|
| BLAKE2b-256 |
50221b95908ca47494330623ae905402b8ebf2fd8b24bb6c1e00ca937babc387
|
File details
Details for the file dunebench-0.3-py3-none-any.whl.
File metadata
- Download URL: dunebench-0.3-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7f08a94ae336feaa1a0b48abda3dd85ca6aa9407cb821c288898757f38bdac2
|
|
| MD5 |
d30cea78330cdcce90514d7514014318
|
|
| BLAKE2b-256 |
197c1c8736e9309f57e4918a7fda5b470666b76b85a06d05c710925aa52c3655
|