File size: 4,609 Bytes
9d1322c 47c5b1b 9d1322c 400f485 9d1322c 400f485 dbda1ea 372c914 9d1322c dbda1ea 372c914 4a67c80 372c914 16b3acc 4a67c80 e4bc258 4a67c80 e4bc258 4a67c80 372c914 dbda1ea 372c914 dbda1ea 372c914 dbda1ea e4bc258 dbda1ea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | ---
dataset_info:
- config_name: gold
features:
- name: id
dtype: string
- name: instruction
dtype: string
- name: output
dtype: string
- name: generator
dtype: string
- name: dataset
dtype: string
- name: topic
dtype: string
- name: category
dtype: string
- name: group
dtype: string
- name: source_split
dtype: string
- name: source_index
dtype: int64
splits:
- name: test
num_bytes: 427543
num_examples: 1000
download_size: 176482
dataset_size: 427543
configs:
- config_name: gold
data_files:
- split: test
path: gold/test-*
default: true
language:
- en
license: apache-2.0
pretty_name: SmolTalkBench
tags:
- chatbot
- evaluation
- alpaca-eval
---
| subset | description | num_samples |
| --- | --- | ---: |
| `gold` (default) | Single-turn everyday chat prompts from smoltalk's `everyday-conversations`, sampled in proportion to their parent topic, with the source conversations' replies by `meta-llama/Meta-Llama-3.1-70B-Instruct` as references | 1000 |
1000 single-turn everyday chat prompts with reference replies, for AlpacaEval-style pairwise
win rates.
```python
from datasets import load_dataset
ds = load_dataset("HuggingFaceSwarms/SmolTalkBench", "gold", split="test")
```
Variants with other reference models go in their own configs, keeping the same `id`s and
instructions so that results compare across them.
## What it's for
SmolTalkBench was built to measure [PyBot](https://huggingface.co/spaces/HuggingFaceSwarms/PyBot),
a chatbot that a swarm of agents wrote entirely in Python: no weights, no training, just
if-else branches, regex patterns and lookup tables. Every version of PyBot was scored on
SmolTalkBench, with small instruction-tuned LMs as reference points. Its win rate climbed from
0% to 26% over more than 6,000 commits, on par with SmolLM-360M-Instruct.

SmolLM and SmolLM2 Instruct models were trained on the source conversations, so the SmolLM
baselines' scores are inflated.
## How it's scored
- The model answers each `instruction` once, as a single user turn.
- An LLM judge (`deepseek-ai/DeepSeek-V4.1-Flash`, with AlpacaEval 2.0's weighted annotator
prompt) compares the reply with the reference `output`. Which one it sees first is fixed per
prompt, as in AlpacaEval. A sample's score is the judge's probability that the reply is
better, read from its top-5 logprobs.
- The win rate is the mean score with [WildBench](https://github.com/allenai/WildBench)'s
length penalty: a reply more than 500 characters longer than its reference counts as a tie at
most. PyBot's win rates above use it.
## Construction
- Source: the `everyday-conversations` subset of [`HuggingFaceTB/smoltalk`](https://huggingface.co/datasets/HuggingFaceTB/smoltalk)
at revision `5feaf2fd3ffc`, train and test splits. Each conversation was
written whole by [`meta-llama/Meta-Llama-3.1-70B-Instruct`](https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct).
- Every source conversation opens with a bare greeting ("Hi", "Hello", ...) answered by
"Hello! How can I help you today?". The greeting is dropped: `instruction` is the second
user turn and `output` the assistant's reply to it.
- Prompts are deduplicated (case and whitespace insensitive), leaving 2198 rows.
- 1000 rows are sampled with seed 0, in proportion to each parent topic (`topic`
without its last level), so every subcategory keeps its share.
## Columns
| column | description |
|---|---|
| `id` | `<source split>-<source index>` |
| `instruction` | the prompt (second user turn) |
| `output` | reference reply by `generator` |
| `generator`, `dataset` | reference model and source, as in AlpacaEval's reference outputs |
| `topic` | the source `full_topic` |
| `category` | first level of `topic` |
| `group` | `everyday` (three-level topics) or `school` (two-level grade-school knowledge topics) |
| `source_split`, `source_index` | the row in the source subset |
## Reproducing
[`scripts/create_dataset.py`](scripts/create_dataset.py) builds the `gold` config and pushes it with this card and itself:
```sh
hf download HuggingFaceSwarms/SmolTalkBench scripts/create_dataset.py --repo-type dataset --local-dir .
uv run scripts/create_dataset.py --n 1000 --seed 0 \
--source_revision 5feaf2fd3ffca7c237fc38d1861bc30365d48ffa --repo HuggingFaceSwarms/SmolTalkBench --push --public
```
|