Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
22
42
question
stringlengths
85
1.17k
answer
stringclasses
1 value
num_supporting_total
int64
1
8
gold_ids
listlengths
1
8
paragraphs
listlengths
100
100
task
stringclasses
1 value
aops_2019_AMC_12A_Problems/Problem_17
Let $s_k$ denote the sum of the $\textit{k}$th powers of the roots of the polynomial $x^3-5x^2+8x-13$. In particular, $s_0=3$, $s_1=5$, and $s_2=9$. Let $a$, $b$, and $c$ be real numbers such that $s_{k+1} = a \, s_k + b \, s_{k-1} + c \, s_{k-2}$ for $k = 2$, $3$, $....$ What is $a+b+c$? $\textbf{(A)} \; -6 \qquad \te...
N/A
2
[ "math_test_intermediate_algebra_1179", "math_train_intermediate_algebra_513" ]
[ { "idx": "math_train_intermediate_algebra_513", "title": "", "paragraph_text": "Let $r$, $s$, and $t$ be the three roots of the equation $$\n8x^3 + 1001x + 2008 = 0.\n$$Find $(r + s)^3 + (s + t)^3 + (t + r)^3.$\nBy Vieta's formulas, the sum of the three roots is $r+s+t=0$. Thus, we can write \\[(r+s)^3 ...
aops
math_test_intermediate_algebra_1179
Consider the polynomials $P(x) = x^{6} - x^{5} - x^{3} - x^{2} - x$ and $Q(x) = x^{4} - x^{3} - x^{2} - 1.$ Given that $z_{1},z_{2},z_{3},$ and $z_{4}$ are the roots of $Q(x) = 0,$ find $P(z_{1}) + P(z_{2}) + P(z_{3}) + P(z_{4}).$
N/A
2
[ "aops_2019_AMC_12A_Problems/Problem_17", "math_train_intermediate_algebra_513" ]
[ { "idx": "math_train_precalculus_327", "title": "", "paragraph_text": "Let $x = \\cos \\frac{2 \\pi}{7} + i \\sin \\frac{2 \\pi}{7}.$ Compute the value of\n\\[(2x + x^2)(2x^2 + x^4)(2x^3 + x^6)(2x^4 + x^8)(2x^5 + x^{10})(2x^6 + x^{12}).\\]\nNote that $x^7 = \\cos 2 \\pi + i \\sin 2 \\pi = 1,$ so $x^7 -...
aops
math_train_intermediate_algebra_513
"Let $r$, $s$, and $t$ be the three roots of the equation\n $8x^3 + 1001x + 2008 = 0.$ \nFind $(r + (...TRUNCATED)
N/A
2
[ "aops_2019_AMC_12A_Problems/Problem_17", "math_test_intermediate_algebra_1179" ]
[{"idx":"math_train_precalculus_517","title":"","paragraph_text":"Let $a,$ $b,$ $c$ be the roots of (...TRUNCATED)
aops
aops_2015_AMC_10B_Problems/Problem_15
"The town of Hamlet has $3$ people for each horse, $4$ sheep for each cow, and $3$ ducks for each pe(...TRUNCATED)
N/A
2
[ "math_train_counting_and_probability_5024", "math_train_number_theory_7095" ]
[{"idx":"aqua_rat_5074","title":"","paragraph_text":"The ratio of cats to dogs to birds to fish is 3(...TRUNCATED)
aops
math_train_counting_and_probability_5024
"Ninety-four bricks, each measuring $4''\\times10''\\times19'',$ are to be stacked one on top of ano(...TRUNCATED)
N/A
2
[ "aops_2015_AMC_10B_Problems/Problem_15", "math_train_number_theory_7095" ]
[{"idx":"math_train_number_theory_7074","title":"","paragraph_text":"Ten identical crates each of di(...TRUNCATED)
aops
math_train_number_theory_7095
"Find the sum of all positive integers $n$ such that, given an unlimited supply of stamps of denomin(...TRUNCATED)
N/A
2
[ "aops_2015_AMC_10B_Problems/Problem_15", "math_train_counting_and_probability_5024" ]
[{"idx":"aqua_rat_88809","title":"","paragraph_text":"A fast food restaurant sells chicken in orders(...TRUNCATED)
aops
math_train_number_theory_839
"Two different prime numbers between $4$ and $18$ are chosen. When their sum is subtracted from thei(...TRUNCATED)
N/A
4
["math_train_number_theory_7012","aops_2008_AMC_12B_Problems/Problem_16","aops_2000_AIME_I_Problems/(...TRUNCATED)
[{"idx":"aqua_rat_41793","title":"","paragraph_text":"The product X of two prime numbers is between (...TRUNCATED)
aops
math_train_number_theory_7012
Find $3x^2 y^2$ if $x$ and $y$ are integers such that $y^2 + 3x^2 y^2 = 30x^2 + 517$.
N/A
4
["math_train_number_theory_839","aops_2008_AMC_12B_Problems/Problem_16","aops_2000_AIME_I_Problems/P(...TRUNCATED)
[{"idx":"aqua_rat_14556","title":"","paragraph_text":"If 3x+y=40, 2x-y=20, for integers of x and y, (...TRUNCATED)
aops
aops_2008_AMC_12B_Problems/Problem_16
"A rectangular floor measures $a$ by $b$ feet, where $a$ and $b$ are positive integers with $b > a$.(...TRUNCATED)
N/A
4
["math_train_number_theory_839","math_train_number_theory_7012","aops_2000_AIME_I_Problems/Problem_9(...TRUNCATED)
[{"idx":"math_train_algebra_2508","title":"","paragraph_text":"I have a picture with dimensions $x$ (...TRUNCATED)
aops
aops_2000_AIME_I_Problems/Problem_9
"The system of equations\n \\begin{eqnarray*}\\log_{10}(2000xy) - (\\log_{10}x)(\\log_{10}y) & = & 4(...TRUNCATED)
N/A
4
["math_train_number_theory_839","math_train_number_theory_7012","aops_2008_AMC_12B_Problems/Problem_(...TRUNCATED)
[{"idx":"math_train_intermediate_algebra_306","title":"","paragraph_text":"If $\\log (xy^3)= 1$ and (...TRUNCATED)
aops
End of preview. Expand in Data Studio

BRIGHT-DIVER-4B-Top100-QRRanker

Fixed-pool BRIGHT reranking of DIVER-Retriever-4B top-100 candidates using QRRanker-BRIGHT, trained with the reasonrank-13k training data.

Model weights, tokenizer and model code are available in SituatedEmbedding/QRRanker-BRIGHT.

Related dataset: ReasonRank 13k.

Download From Hugging Face

The dataset repository includes both the fixed candidate pools and evaluation scripts. Download the dataset and model into adjacent directories for evaluation:

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="SituatedEmbedding/BRIGHT-DIVER-4B-Top100-QRRanker",
    repo_type="dataset",
    local_dir="BRIGHT-DIVER-4B-Top100-QRRanker",
)

snapshot_download(
    repo_id="SituatedEmbedding/QRRanker-BRIGHT",
    repo_type="model",
    local_dir="QRRanker-BRIGHT",
)

The original_queries dataset configuration selects the 12 query/label JSONL files. The default top100_reranking configuration selects the 12 original-query truncated candidate pools used as model input. Each task is a separate split; the other pool versions and reference CSV are not mixed into these configurations. Model weights are not included in this dataset repository.

Layout

Place the two directories next to each other:

QRRanker-BRIGHT/                 Model weights, tokenizer and model code
BRIGHT-DIVER-4B-Top100-QRRanker/
  rerank_from_emb_pool.py        Evaluation entry point
  preprocess_rerank_pool.py      Query replacement and adaptive truncation
  rank_for_bright.py             Prompt construction, scoring and metrics
  custom_modeling_qwen3_new.py   Custom model implementation
  custom_cache_new.py            Query-state cache
  run_rerank_diver_reasonrank131k_tp4.sh
  dataset/examples_jsonl/        Original BRIGHT queries and labels
  rerank_pool_diver/rewrite/     Fixed DIVER-Retriever-4B top-100 pools
  reference_results/            Four-GPU evaluation results

Environment

Use an environment with compatible torch, transformers, flash-attn, pandas, tqdm and safetensors installations, and CUDA/NCCL support. pyarrow is needed only when loading Parquet rather than the supplied JSONL.

Evaluation was run on 4 or 8 NVIDIA A100 GPUs, each with 40 GB of memory (TP=4 or TP=8). Runs with fewer than four GPUs have not been tested.

The model retains all 36 layers and the complete parameters, without upper-layer truncation or additional QRRanker-specific computational optimizations. GPU memory usage can therefore be substantial. See the model README for implementation differences and the upstream QRRanker reference.

Run

cd BRIGHT-DIVER-4B-Top100-QRRanker
bash run_rerank_diver_reasonrank131k_tp4.sh 4 0,1,2,3

To use other paths, set RERANKER_MODEL, BRIGHT_ROOT, POOL_DIR or OUTPUT_DIR. To evaluate a subset, set TASK to one task or a comma-separated list:

TASK=biology OUTPUT_DIR=./outputs_biology \
  bash run_rerank_diver_reasonrank131k_tp4.sh 4 0,1,2,3

The default output directory is outputs/. Existing per-task outputs with the same date, model tag and evaluation settings are reused. Use a fresh output directory for a fresh run.

Data and Protocol

The dataset contains 12 tasks and 1,384 queries, each with 100 candidates. Retrieval used DIVER-Retriever-4B with GPT-4 reasoning queries; reranking uses the original BRIGHT query. This is fixed-candidate-pool reranking, not a full-corpus retrieval pipeline.

Each task has three pool files:

{task}_emb_top100.json
{task}_emb_top100_orig_query.json
{task}_emb_top100_orig_query_truncated.json

The original-query truncated file is the model input. Preprocessing reuses the supplied pool files when they already exist.

Pool records contain id, question, answer, num_supporting_total, gold_ids, paragraphs and task. Candidates contain idx, title, paragraph_text and is_supporting. Full gold_ids, including relevant documents absent from the candidate pool, are retained for metric calculation. Answers and supporting flags do not participate in ranking.

Settings: FP16, TP=4, mode=top16, max_seq_len=65536, calibration off, and ks=1,5,10,100. The evaluation code specifies the default 16 layer-head pairs used for scoring.

The four-GPU evaluation achieved average nDCG@10 of 36.14 and Recall@10 of 41.41, with no skipped samples. The CSV is included in reference_results/diver_4b_top100_qrranker_tp4_summary.csv.

Full BRIGHT documents, embedding caches, query-generation code and the DIVER retrieval model are not included or needed for this fixed-pool run.

Attribution

BRIGHT dataset attribution, citation and license information are available in dataset/UPSTREAM_README.md. The custom Qwen3 model code retains its upstream copyright and license header.

Downloads last month
67