Text2DistBench / README.md
frett's picture
Upload dataset
4e40c6f verified
|
raw
history blame
6.64 kB
---
license: cc-by-4.0
configs:
- config_name: posterior_sampled_100_estimation
data_files:
- split: test
path: posterior_sampled_100_estimation/test-*
- config_name: posterior_sampled_100_most_freq
data_files:
- split: test
path: posterior_sampled_100_most_freq/test-*
- config_name: posterior_sampled_100_second_freq
data_files:
- split: test
path: posterior_sampled_100_second_freq/test-*
- config_name: posterior_sampled_50_estimation
data_files:
- split: test
path: posterior_sampled_50_estimation/test-*
- config_name: posterior_sampled_50_most_freq
data_files:
- split: test
path: posterior_sampled_50_most_freq/test-*
- config_name: posterior_sampled_50_second_freq
data_files:
- split: test
path: posterior_sampled_50_second_freq/test-*
- config_name: prior_estimation
data_files:
- split: test
path: prior_estimation/test-*
- config_name: prior_most_freq
data_files:
- split: test
path: prior_most_freq/test-*
- config_name: prior_second_freq
data_files:
- split: test
path: prior_second_freq/test-*
dataset_info:
- config_name: posterior_sampled_100_estimation
features:
- name: qid
dtype: string
- name: task
dtype: string
- name: domain
dtype: string
- name: distribution_type
dtype: string
- name: condition
dtype: string
- name: source
dtype: string
- name: answer
dtype: string
- name: ref_dist
dtype: string
- name: question
dtype: string
- name: meta_data
dtype: string
- name: comments
dtype: string
splits:
- name: test
num_bytes: 7227023
num_examples: 297
download_size: 1754231
dataset_size: 7227023
- config_name: posterior_sampled_100_most_freq
features:
- name: qid
dtype: string
- name: task
dtype: string
- name: domain
dtype: string
- name: distribution_type
dtype: string
- name: condition
dtype: string
- name: source
dtype: string
- name: answer
dtype: string
- name: ref_dist
dtype: string
- name: question
dtype: string
- name: meta_data
dtype: string
- name: comments
dtype: string
splits:
- name: test
num_bytes: 6942745
num_examples: 289
download_size: 1718577
dataset_size: 6942745
- config_name: posterior_sampled_100_second_freq
features:
- name: qid
dtype: string
- name: task
dtype: string
- name: domain
dtype: string
- name: distribution_type
dtype: string
- name: condition
dtype: string
- name: source
dtype: string
- name: answer
dtype: string
- name: ref_dist
dtype: string
- name: question
dtype: string
- name: meta_data
dtype: string
- name: comments
dtype: string
splits:
- name: test
num_bytes: 6766017
num_examples: 281
download_size: 1680004
dataset_size: 6766017
- config_name: posterior_sampled_50_estimation
features: []
splits:
- name: test
num_bytes: 0
num_examples: 0
download_size: 423
dataset_size: 0
- config_name: posterior_sampled_50_most_freq
features: []
splits:
- name: test
num_bytes: 0
num_examples: 0
download_size: 423
dataset_size: 0
- config_name: posterior_sampled_50_second_freq
features: []
splits:
- name: test
num_bytes: 0
num_examples: 0
download_size: 423
dataset_size: 0
- config_name: prior_estimation
features:
- name: qid
dtype: string
- name: task
dtype: string
- name: domain
dtype: string
- name: distribution_type
dtype: string
- name: condition
dtype: string
- name: source
dtype: string
- name: answer
dtype: string
- name: ref_dist
dtype: string
- name: question
dtype: string
- name: meta_data
dtype: string
splits:
- name: test
num_bytes: 1225753
num_examples: 297
download_size: 201283
dataset_size: 1225753
- config_name: prior_most_freq
features:
- name: qid
dtype: string
- name: task
dtype: string
- name: domain
dtype: string
- name: distribution_type
dtype: string
- name: condition
dtype: string
- name: source
dtype: string
- name: answer
dtype: string
- name: ref_dist
dtype: string
- name: question
dtype: string
- name: meta_data
dtype: string
splits:
- name: test
num_bytes: 1125647
num_examples: 289
download_size: 187242
dataset_size: 1125647
- config_name: prior_second_freq
features:
- name: qid
dtype: string
- name: task
dtype: string
- name: domain
dtype: string
- name: distribution_type
dtype: string
- name: condition
dtype: string
- name: source
dtype: string
- name: answer
dtype: string
- name: ref_dist
dtype: string
- name: question
dtype: string
- name: meta_data
dtype: string
splits:
- name: test
num_bytes: 1114583
num_examples: 281
download_size: 184748
dataset_size: 1114583
---
## 📌 Overview
**Text2DistBench** is a reading comprehension benchmark for evaluating whether large language models can infer distributional knowledge from natural language evidence.
Given metadata and a set of user comments about an entity (e.g., a movie or song), models must infer statistics such as:
stance/topic distribution, and most/second- frequent labels.
---
## ⚙️ Configurations
The dataset is constructed from movie and music entities released between 2025-12-01 and 2026-03-01.
It includes two types of configurations:
### 🟦 Posterior Configurations
Include both metadata and user comments as evidence.
These configurations differ by sample size (50 or 100 comments) and task type (estimation, most_freq, second_freq).
**Format:** `posterior_sampled_<comment_num>_<task>`
### 🟨 Prior Configurations
Include **only metadata (no comments)**.
**Format:** `prior_<task>`
---
## ⚙️ Dataset Format
Each benchmark instance corresponds to a distributional reading comprehension question.
```
{
"qid": < question id >,
"qtype": < distribution type >,
"answer": < answer (mode label or distribution depending on task) >,
"ref_dist": < Ground-truth distribution over labels >,
"question": < Full prompt shown to model (instruction + evidence + query) >,
"source": "< entity name >",
"meta_data": "< text evidence >",
"comments": "< text evidence (if posterior)>",
"condition": "< conditioning variable for P(s|t), P(t|s) >",
}
```
---
## ⚙️ Load the Dataset
```bash
from datasets import load_dataset
ds = load_dataset("frett/Text2DistBench", "posterior_sampled_50_estimation", split="test")
ds = load_dataset("frett/Text2DistBench", "prior_most_freq", split="test")
```