datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
leetcode-problem-solutions
LeetCode Solution Dataset
This dataset contains community-contributed LeetCode solutions scraped from public discussions and solution pages, enriched with metadata such as vote counts, author info, tags, and full code content. The goal is to make high-quality, peer-reviewed coding solutions programmatically accessible for research, analysis, educational use, or developer tooling.
Column Descriptions
Column Name
Type
Description
question_slug
string
The unique… See the full description on the dataset page: https://huggingface.co/datasets/kaysss/leetcode-problem-solutions.deepseek-leetcodeDeepseek Leetcode dataset from https://github.com/deepseek-ai/DeepSeek-Coder/tree/main/Evaluation/LeetCode
leetcode-problem-set
LeetCode Scraper Dataset
This dataset contains information scraped from LeetCode. It is designed to assist developers in analyzing LeetCode problems, generating insights, and building tools for competitive programming or educational purposes.
Dataset Contents
The dataset includes the following files:
problem_set.csv
Contains a list of LeetCode problems with metadata such as difficulty, acceptance rate, tags, and more.
Columns:
acRate: Acceptance rate of the… See the full description on the dataset page: https://huggingface.co/datasets/kaysss/leetcode-problem-set.leetcode-problem-detailed
LeetCode Scraper Dataset
This dataset contains information scraped from LeetCode, including problem details, metadata, and related files. It is designed to assist developers in analyzing LeetCode problems, generating insights, and building tools for competitive programming or educational purposes.
questions_deets.csv
Contains detailed information about each problem, including problem descriptions, constraints, and examples.
Columns:
questionFrontendId: Unique problem ID.… See the full description on the dataset page: https://huggingface.co/datasets/kaysss/leetcode-problem-detailed.qrpo-paper-llama-nosft-leetcode-sandbox-temp1-ref50-offpolicy10random-sandbox
qrpo-paper-llama-nosft-leetcode-sandbox-temp1-ref50-offpolicy10random-sandbox
Dataset with reference completions and rewards for a specific model and reward model, ready for training with the QRPO reference codebase (https://github.com/CLAIRE-Labo/quantile-reward-policy-optimization).
Part of the dataset collection for the paper Quantile Reward Policy Optimization: Alignment with Pointwise Regression and Exact Partition Functions (https://arxiv.org/pdf/2507.08068).
leetcode-complete
Complete LeetCode Problems Dataset
This dataset contains a comprehensive collection of LeetCode problems (including premium) with AI-generated solutions in JSONL format. It is regularly updated to include new problems as they are added to LeetCode.
Splits
The dataset is divided into the following splits:
train: Contains approximately 80% of the problems for training
validation: Contains approximately 10% of the problems for validation
test: Contains approximately… See the full description on the dataset page: https://huggingface.co/datasets/whiskwhite/leetcode-complete.leetcode-solutionsFrom: https://www.kaggle.com/datasets/jacobhds/leetcode-solutions-and-content-kpis
qrpo-paper-llama-sft-leetcode-sandbox-temp1-ref50-offpolicy10random-sandbox
qrpo-paper-llama-sft-leetcode-sandbox-temp1-ref50-offpolicy10random-sandbox
Dataset with reference completions and rewards for a specific model and reward model, ready for training with the QRPO reference codebase (https://github.com/CLAIRE-Labo/quantile-reward-policy-optimization).
Part of the dataset collection for the paper Quantile Reward Policy Optimization: Alignment with Pointwise Regression and Exact Partition Functions (https://arxiv.org/pdf/2507.08068).
leetcode-python-solutions-with-exaplanationsleetcode-assembly
LeetCode Assembly Dataset
441 LeetCode problems solved in C, compiled to assembly across 4 architectures, 2 compilers, and 4 optimization levels using GCC and Clang via the Godbolt Compiler Explorer API.
Dataset Summary
Stat
Value
Total rows
14,112
Unique problems
441
Architectures
x86-64, AArch64, MIPS64, RISC-V 64
Compilers
GCC 15.2, Clang 21.1.0
Optimization levels
-O0, -O1, -O2, -O3
Compilation success rate
100%
Difficulty split
Easy: 98… See the full description on the dataset page: https://huggingface.co/datasets/ronantakizawa/leetcode-assembly.LeetCode_YT_CC_CoT_Summaryleetcode_preference
Dataset Card for LeetCode Preference
Dataset Summary
This dataset facilitates experiments utilizing Direct Preference Optimization (DPO) as outlined in the paper titled Direct Preference Optimization: Your Language Model is Secretly a Reward Model. This repository provides code pairings crafted by CodeLLaMA-7b. For every LeetCode question posed, CodeLLaMA-7b produces two unique solutions. These are subsequently evaluated and ranked by human experts based on their accuracy… See the full description on the dataset page: https://huggingface.co/datasets/minfeng-ai/leetcode_preference.leetcode_free_questions_labeledleetcode_with_youtube_captionsleetcode-standalone-wordsLeetCodeDataset-qwen3.5-0.8b-rl-bandleetcodeThis dataset contains python solutions for various Leetcode problems, scraped from different posts by users from the solutions tab.
PopQA-leetcodeb2_code_fasttext_pos_leetcode_neg_sql_3k_eval_636d
mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_3k_eval_636d
Precomputed model outputs for evaluation.
Evaluation Results
Summary
Metric
AIME24
AMC23
MATH500
MMLUPro
JEEBench
GPQADiamond
LiveCodeBench
CodeElo
CodeForces
Accuracy
19.7
60.0
73.8
30.2
44.6
43.3
33.1
10.6
14.4
AIME24
Average Accuracy: 19.67% ± 2.42%
Number of Runs: 10
Run
Accuracy
Questions Solved
Total Questions
1
10.00%
3
30
2
33.33%
10
30
3… See the full description on the dataset page: https://huggingface.co/datasets/mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_3k_eval_636d.leetcode-contests-431-467-mutatedvgrout-leetcode-teacher-demos
vGROUT LeetCode teacher demonstrations
Cached teacher demonstrations used to warm up the
vGROUT gradient-routing experiments on the
ariahw/rl-rewardhacking LeetCode
environment. Each row is a full problem-specific completion. The kind column gives the
two demonstration types:
hack (215 rows): verified exploits of the run_tests loophole (hacked=True,
gt_pass=False).
solve (126 rows): correct solutions verified against the ground-truth tests
(gt_pass=True).
Why fewer… See the full description on the dataset page: https://huggingface.co/datasets/wassname/vgrout-leetcode-teacher-demos.LeetCode_UserSubmissionsScraped User solutions of Leetcode 50 solutions per problem.
I do not own the copyright of the data itself. If you want the data removed please contact me.
leetcode_with_youtube_captionsb2_code_fasttext_pos_leetcode_neg_sqlb2_code_fasttext_pos_leetcode_neg_sql_0.3k_eval_636d
mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_0.3k_eval_636d
Precomputed model outputs for evaluation.
Evaluation Results
Summary
Metric
AIME24
AMC23
MATH500
MMLUPro
JEEBench
GPQADiamond
LiveCodeBench
CodeElo
CodeForces
Accuracy
17.7
56.0
73.6
29.0
43.1
37.7
29.0
8.3
9.9
AIME24
Average Accuracy: 17.67% ± 1.77%
Number of Runs: 10
Run
Accuracy
Questions Solved
Total Questions
1
10.00%
3
30
2
16.67%
5
30
3… See the full description on the dataset page: https://huggingface.co/datasets/mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_0.3k_eval_636d.b2_code_fasttext_pos_leetcode_neg_sql_1k_eval_636d
mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_1k_eval_636d
Precomputed model outputs for evaluation.
Evaluation Results
Summary
Metric
AIME24
AMC23
MATH500
MMLUPro
JEEBench
GPQADiamond
LiveCodeBench
CodeElo
CodeForces
Accuracy
17.7
51.8
71.4
27.0
39.8
42.8
28.8
6.9
10.4
AIME24
Average Accuracy: 17.67% ± 1.16%
Number of Runs: 10
Run
Accuracy
Questions Solved
Total Questions
1
16.67%
5
30
2
23.33%
7
30
3… See the full description on the dataset page: https://huggingface.co/datasets/mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_1k_eval_636d.leetcode-no-depsb2_code_fasttext_pos_leetcode_neg_sql_10k_eval_636d
mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_10k_eval_636d
Precomputed model outputs for evaluation.
Evaluation Results
Summary
Metric
AIME24
AMC23
MATH500
MMLUPro
JEEBench
GPQADiamond
LiveCodeBench
CodeElo
CodeForces
Accuracy
18.7
59.5
77.8
28.6
42.9
39.9
38.5
11.7
16.2
AIME24
Average Accuracy: 18.67% ± 0.97%
Number of Runs: 10
Run
Accuracy
Questions Solved
Total Questions
1
20.00%
6
30
2
20.00%
6
30
3… See the full description on the dataset page: https://huggingface.co/datasets/mlfoundations-dev/b2_code_fasttext_pos_leetcode_neg_sql_10k_eval_636d.leetcode-contests-431-467b2_code_fasttext_pos_leetcode_neg_sql_10k
