GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - marcelogdomingues/ollabench: Benchmark and compare local Ollama models against a prompt suite with declarative checks — pass rates, latency and a markdown report. Offline, no keys.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
assets
assets
 
 
docs
docs
 
 
examples
examples
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.pt.md
README.pt.md
 
 
mkdocs.yml
mkdocs.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.build.json
tsconfig.build.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

ollabench

Benchmark and compare local Ollama models against a prompt suite with declarative checks. Get pass rates, latency, and a ranked markdown report — so you can pick the right local model for your task. Offline, no API keys.

🌍 English · Português · 📚 Documentation

ollabench comparing local models

CI npm License: MIT

Why

"Which local model should I use?" usually gets answered by vibes. ollabench answers it with numbers: write a small suite of prompts + checks, run it across several Ollama models, and compare pass rate and latency side by side. Everything runs on your machine.

Quick start

# 1. Write a suite (or use the bundled example)
# 2. Run it across models
npx ollabench examples/basics.suite.json --models llama3.2,qwen2.5 --out report.md

Example report:

# ollabench — Basics

## Models
| Model | Pass rate | Passed | Avg latency |
| --- | --- | --- | --- |
| qwen2.5 | 100% | 6/6 | 820 ms |
| llama3.2 | 83% | 5/6 | 540 ms |

## Per-case
| Case | qwen2.5 | llama3.2 |
| --- | --- | --- |
| capital-of-portugal | 2/2 | 2/2 |
| json-output | 2/2 | 1/2 |

Suite format

{
  "name": "Basics",
  "cases": [
    {
      "name": "json-output",
      "prompt": "Return a JSON object with keys a and b. Only JSON.",
      "checks": [{ "type": "jsonValid" }, { "type": "regex", "value": "\"a\"" }]
    }
  ]
}

Checks

contains · notContains · regex · equals · jsonValid · minLength · maxLatencyMs

Use as a library

import { loadSuite, runSuite, renderReport, OllamaModelClient } from 'ollabench';

const report = await runSuite(loadSuite('suite.json'), ['llama3.2', 'qwen2.5'], new OllamaModelClient());
console.log(renderReport(report));

License

MIT © Marcelo Domingues

About

Benchmark and compare local Ollama models against a prompt suite with declarative checks — pass rates, latency and a markdown report. Offline, no keys.

marcelogdomingues.github.io/ollabench/

Topics

aibenchmarkclievalevaluationllmlocal-llmollamaself-hosted

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.