← Datasets

Compare

RLVR-MATH
#288 · remove
KStack
#280 · remove
Kinddatasetdataset
Published20242024
Licensemitother (permissively licensed Kotlin code, varies per file; Apache 2.0 common)
License familyPermissiveOther
Accessfreefree
Language codesencode
Modalitiestexttext
Size1K to 10K rows1M to 10M rows
Downloads (last month)1631,686
Likes2014
Last updated2024-11-202025-04-22
Tasks—text-generation
Formatsparquetparquet
Scale7,500 train examples (full MATH train packaging). ~1.95 MB download.Card comparison table: 4M files / 168,902 repos / 292M lines / 3.1B tokens vs Stack v2 Kotlin 2M / 109,457 / 162M / 1.7B. dataset_info train: 5,517,601 examples; 16,332,255,331 bytes (~16.33 GB) uncompressed / download_size 5,891,399,337 (~5.89 GB parquet). usedStorage 14,463,919,198 bytes (~14.46 GB). 33 parquet shards (~176–182 MB). YAML size_categories 100M<n<1B conflicts with Hub tags 1M<n<10M and the 5.52M-row split — tags/split used here. gated=false. HF 326 downloads / 14 likes at check.
FormatParquet; columns messages[{role,content}], ground_truth, dataset, constraint_type, constraintparquet (33 shards). Fields: path, owner, repo_id, is_fork, languages_distribution, content, issues, main_language, forks, stars, commit_sha, size, name, license.
TypeRLVR-formatted math QA (chat + verifiable answer)Pretraining corpus / permissively licensed Kotlin files
CostFreeFree
LanguagesEnglish math problems (LaTeX)Kotlin source (card language:code). Files .kt / .kts / .gradle.kts via go-enry. Comments mixed-language; repos may list other languages in languages_distribution. Not natural-language English text.
ModalityText onlyText (Kotlin source)
Domaincompetition-math RL with verifiable outcome rewardsKotlin source-code pretraining; permissively licensed GitHub
Time periodHF created/lastModified 2024-11-20; Discord mid 1485999191405891757 (2026-03-24); upstream MATH benchmark earlierGitHub Kotlin snapshot as of February 2024 plus The Stack v1.2 Kotlin files. HF createdAt 2024-05-13; lastModified 2025-04-22. Paper Kotlin ML Pack arXiv 2405.19250 (2024-05-29). Discord posted 2026-03-23.
PurposePackage MATH train for open-instruct RLVR (binary/outcome reward against ground_truth)Largest public permissively licensed Kotlin file collection for code LM pretrain/finetune, denser than The Stack v2 Kotlin slice
Used forTulu 3 RLVR training; GRPO/open-instruct math RL experimentsKotlin ML Pack (arXiv 2405.19250): CodeLlama/DeepSeek Kotlin finetunes; KStack-clean (25k) and KExercises are the high-quality/synth siblings (paper: up to +16 HumanEval-Kotlin pass). Hub 326 downloads / 14 likes at check. JetBrains Kotlin ML collection.
AuthorsAllenAI packaging of Hendrycks MATH train. Sibling mixed-constraints card documents Tulu 3 RL use.GitHub Kotlin repo owners (main-language Kotlin, or any Kotlin file with ≥10 stars as of Feb 2024, plus Stack v1.2). JetBrains Research (Sergey Titov, Mikhail Evtikhiev, Anton Shapkin et al.). PII stripped with star-pii.
BiasInherits MATH competition-problem distribution (algebra/geometry/etc.); English only; no IF constraints in this MATH-only sliceOpen GitHub only (paper: private Kotlin unseen). Permissive-license filter (MIT/Apache-2.0/BSD/CC-BY/Unlicense/…; full list licenses.json). Star≥10 auxiliary crawl plus main-language-Kotlin repos; popularity skew. Near-dedup keeps the highest-star file per cluster. Forks flagged via is_fork. YAML pretty_name is wrongly KExercises (copy-paste); this repo is the large file dump, not the 25k clean set.
Text qualityIndependently previewed train rows: coherent MATH questions in messages with ground_truth answers. Card itself has no narrative README.Exact hash dedup + Stack v1.2-style near-dedup; star-pii PII rewrite. Permissive-license detector (GitHub then go-license-detector). Residual noisy/generated Kotlin, build scripts (.kts/.gradle.kts), and incomplete files remain. Paper treats KStack as the broad corpus and KStack-clean as the algorithmic-quality subset.
Sample sizeSingle train split 7,500Single train split (5,517,601 rows / 33 parquet parts). No val/test. Sister JetBrains/KStack-clean is 25,000 rows (~23M CodeLlama-7B tokens), not a config here.
Long contextNoMixed (per-file; mean ~3.0 KB / file from dataset_size/n). Not repo-level packing.
Intermediate stepsNo gold CoT required for RLVR — model generates reasoning; reward from answer checkYes (GitHub + Stack v1.2 Kotlin harvest → exact/near dedup → permissive license filter → star-pii). Paper also builds KStack-clean (Mistral pairwise edu rank → CodeT5p classifier) and KExercises; those are separate repos.
Idea qualityHigh (standard RLVR packaging)High
NoveltyLow-Medium (format wrapper of MATH for RLVR; valuable for Tulu 3 reproducibility)High (public Kotlin dump ~2× Stack v2 Kotlin files/tokens, fully permissive)
Text conversionReady: load_dataset("allenai/RLVR-MATH", split="train")Ready parquet. load_dataset('JetBrains/KStack'). Full dump is small vs web corpora (~5.9 GB download).
Collection methodDownload / datasets.load_datasetDownload
StaticYes (2024-11-20)Unknown (HF lastModified 2025-04-22; Feb 2024 GitHub snapshot)
ProcessedYes (chat-templated RLVR format)Unknown
SummaryRLVR-MATH is a 7,500-sample dataset consisting of the MATH training set reformatted for reinforcement learning with verifiable rewards (RLVR), with each example containing a math problem (as messages), a ground-truth answer string, and the source dataset label. It was used to train the final Tulu 3 models with RL as part of AI2's open-instruct ecosystem, enabling rule-based reward verification of model-generated math solutions.KStack is the largest collection of permissively licensed Kotlin source code, containing 5.52 million files scraped from GitHub repositories with metadata like owner, repo ID, language distribution, license, and commit SHA. It is part of JetBrains' Kotlin ML Pack (alongside the curated KStack-clean and KExercises datasets) and is intended for pretraining and fine-tuning code generation models for Kotlin, demonstrating that even small high-quality subsets can yield up to a 16-point increase in HumanEval pass rate.