Datasets:
|
Download README.md from nerology/TitleBench: direct link, hf CLI and curl.
- Browser
- Download file 6.84 kB
-
https://huggingface.co/datasets/nerology/TitleBench/resolve/main/README.md
- Command line
-
hf download hf://datasets/nerology/TitleBench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/nerology/TitleBench/resolve/main/README.md
6.84 kB
| license: other | |
| pretty_name: TitleBench | |
| task_categories: | |
| - text-generation | |
| - summarization | |
| language: | |
| - en | |
| tags: | |
| - benchmark | |
| - chat-title | |
| - title-generation | |
| - small-language-models | |
| size_categories: | |
| - 10K<n<100K | |
| # TitleBench | |
| A 21,448-example held-out benchmark for evaluating small chat-title generation models with a transparent scorer and reconstruction keys for gated inputs. | |
| ## Quick start | |
| ```python | |
| from datasets import load_dataset | |
| test = load_dataset( | |
| "json", | |
| data_files={"test": "hf://datasets/j0no12/TitleBench/test.jsonl"}, | |
| split="test", | |
| ) | |
| print(len(test)) | |
| # 21448 | |
| print(test.column_names) | |
| ``` | |
| To score one generated title per benchmark row: | |
| ```bash | |
| python scorer.py predictions.jsonl | |
| ``` | |
| `predictions.jsonl` must contain aligned objects such as `{"output": "Weekend Trip Planning"}` in exactly the same row order as `test.jsonl`. | |
| ## Dataset summary | |
| | Property | Value | | |
| |---|---:| | |
| | Split | `test` | | |
| | Total examples | 21,448 | | |
| | Public full-text inputs | 13,324 | | |
| | Gated LMSYS ID-only inputs | 8,124 | | |
| | Language | English-dominant | | |
| | Task | Conversation → concise title | | |
| ## Schema | |
| | Field | Present for | Description | | |
| |---|---|---| | |
| | `input` | Public-source rows | Conversation text to title | | |
| | `target` | All rows | Reference title | | |
| | `source` | All rows | `spitfire`, `michionlion`, or `bananamind-lmsys` | | |
| | `lmsys_row_id` | LMSYS-derived rows | Stable ordinal key into `lmsys/lmsys-chat-1m` | | |
| | `conversation_id` | LMSYS-derived rows | Conversation identifier for cross-checking | | |
| For LMSYS-derived rows, the raw input is deliberately not redistributed. Authorized users can reconstruct it locally: | |
| ```python | |
| from datasets import load_dataset | |
| lmsys = load_dataset("lmsys/lmsys-chat-1m", split="train") | |
| row_id = 52136 # replace with a benchmark row's lmsys_row_id | |
| first_user_message = lmsys[row_id]["conversation"][0]["content"] | |
| ``` | |
| Because the merged corpus was shuffled, `lmsys_row_id` is the primary reconstruction key; `conversation_id` provides a secondary cross-check. | |
| ## Source lineage | |
| | Source | Role | Distribution / handling | | |
| |---|---|---| | |
| | `spitfire4794/chat-titles-245k` | Public benchmark examples | Full input text distributed | | |
| | `Michionlion/chat-titles-english` | Public benchmark examples | Full input text distributed | | |
| | `BananaMind/BananaMind-Chat-Title-200K` + gated `lmsys/lmsys-chat-1m` | LMSYS-derived benchmark examples | Titles and reconstruction IDs distributed; raw input withheld | | |
| The Spitfire source itself merges `SupraLabs/supra-wild-titles-130k` (ODC-BY) and `SupraLabs/chat-titles-filtered-115K` (CC-BY-4.0). Consult every upstream card for current terms. | |
| ## Evaluation protocol | |
| 1. Use all 21,448 examples for a full result. For a quick deterministic subset, shuffle row indices with `random.Random(42)` and report the chosen `N`. | |
| 2. Generate exactly one title per input and document the prompt, tokenizer, decoding settings, maximum output length, model revision, and any reconstruction failures. | |
| 3. Preserve row order and run the supplied `scorer.py`. | |
| 4. Report all available metrics rather than selecting only favorable ones. | |
| | Metric | Definition | | |
| |---|---| | |
| | ROUGE-1/2/L F1 | Unigram, bigram, and longest-common-subsequence overlap F1 | | |
| | BLEU-4 | Smoothed n-gram precision with brevity penalty | | |
| | chrF | Character 6-gram F1 | | |
| | Exact match | Lowercase, punctuation-stripped output equals the reference | | |
| | Repetition | Fraction of generated tokens repeating an earlier generated token | | |
| ## Reference results | |
| All results below used the full 21,448-example split. They did **not** use a single controlled decoding policy: NeroT-29M used temperature 0.8, top-k 50, repetition penalty 1.2, and a 32-token limit; competitors used their documented prompts and greedy decoding. | |
| | Model | Params | ROUGE-1 | ROUGE-2 | ROUGE-L | BLEU-4 | chrF | EM | Repetition | | |
| |---|---:|---:|---:|---:|---:|---:|---:|---:| | |
| | `SupraLabs/supra-title-50m-pre` | 50M | **0.328** | **0.149** | **0.304** | **0.148** | **0.232** | 3.4% | 2.4% | | |
| | `j0no12/NeroT-29M` | 29M | 0.296 | 0.141 | 0.289 | 0.145 | 0.201 | **8.9%** | **2.7%** | | |
| | `SupraLabs/Supra-50M-Instruct` | 50M | 0.057 | 0.022 | 0.071 | 0.054 | 0.042 | 0.8% | 32.6% | | |
| These rows are reference points, not a decoding-controlled leaderboard. Task-specialized models clearly outperform the listed general chat baseline, but architecture-level conclusions require identical prompts and decoding. | |
| ## Quality and integrity checks | |
| - The benchmark is immutable at the published `test.jsonl` hash below. | |
| - Gated text is represented by stable reconstruction identifiers rather than redistributed content. | |
| - The scorer is self-contained and does not depend on external metric packages. | |
| - The published Nero training corpus reports exclusion of normalized TitleBench inputs. | |
| ## Contamination and proper use | |
| TitleBench is evaluation-only. Do not train on its targets, reconstructed inputs, or paraphrases derived from them. Excluding exact normalized inputs is necessary but does not prove the absence of semantic near-duplicates or exposure in upstream model pretraining. Any model submission should disclose its decontamination method. | |
| ## Known limitations | |
| - One reference title cannot represent every valid concise title; overlap and exact-match metrics penalize legitimate alternatives. | |
| - 8,124 inputs require separate approval for the gated LMSYS source. | |
| - Reference results use different decoding policies. | |
| - English-dominant data may not reflect multilingual title generation. | |
| - The benchmark measures title quality through automatic metrics only; no human preference study is included. | |
| - Exact and near-duplicate contamination outside the documented Nero pipeline has not been independently audited. | |
| ## Files and integrity | |
| | File | Size | Integrity identifier | | |
| |---|---:|---| | |
| | `test.jsonl` | 13,807,288 bytes | SHA-256 `c8f37cbf62136661ab9168b20673f8ccb53a64b4e33a4fee64f0c1c865613e9c` | | |
| | `scorer.py` | 3,787 bytes | Git blob `8d823b6dd6535942678c525c3c4daa100385eb54` | | |
| | Repository revision documented by this card update | — | `d929ae7eed09476ae2b8b8fa027b3bcb098e82aa` | | |
| `__pycache__/scorer.cpython-314.pyc` is a generated cache artifact and is not required for evaluation. | |
| ## Citation | |
| ```bibtex | |
| @dataset{j0no12_titlebench_2026, | |
| author = {j0no12}, | |
| title = {TitleBench: A Benchmark for Small Chat-Title Generation Models}, | |
| year = {2026}, | |
| publisher = {Hugging Face}, | |
| url = {https://huggingface.co/datasets/j0no12/TitleBench} | |
| } | |
| ``` | |
| ## License | |
| Mixed / other. Original benchmark documentation and scoring code may be reused with attribution, while the distributed examples remain subject to their respective upstream source terms and the gated LMSYS access requirements. This repository does not replace those component terms with one blanket license. | |