oxibonsai-eval
Model evaluation harness for OxiBonsai — ROUGE, perplexity, accuracy, throughput.
Provides perplexity measurement, MMLU-style multiple-choice accuracy, ROUGE-N/L/S scoring, exact-match scoring, throughput benchmarking, JSONL dataset loading, and JSON/Markdown report generation.
Part of the OxiBonsai project.
Features
PerplexityEvaluator— from log-probs or logits; bits-per-byte metricMcEvaluator— MMLU-style multiple-choice with per-subject breakdownExactMatchEvaluator— text-match evaluation- ROUGE scoring:
RougeNScore(ROUGE-1/2),RougeLScore,RougeSScore,CorpusRouge ThroughputBenchmark— tokens/s, prefill/decode latency, p95/p99EvalDataset— JSONL loading, train/test splits, deterministic samplingEvalReport— JSON and Markdown report generation- Zero external API dependencies — pure Rust
Usage
[]
= "0.1.0"
License
Apache-2.0 — COOLJAPAN OU