datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
leetcode_pythondeepseek-leetcodeDeepseek Leetcode dataset from https://github.com/deepseek-ai/DeepSeek-Coder/tree/main/Evaluation/LeetCode
Nemotron-LeetCode-coding-clean-3.2k
Nemotron + LeetCode Coding Clean 3.2k
3,200 distinct training problems, seed 42, intended for Python coding reinforcement learning. This is a training mix, not a held-out benchmark. It combines the pinned default train Parquet split of Nemotron-RL-coding-competitive_coding with the train JSONL of LeetCodeDataset.
Composition
Source
Questions
Selection
Nemotron / Codeforces
1,856
1000–1600, inclusive
Nemotron / AtCoder
366
300–2000 display difficulty… See the full description on the dataset page: https://huggingface.co/datasets/hi-todayis-jh/Nemotron-LeetCode-coding-clean-3.2k.doocs-leetcode-solutions
Doocs LeetCode Solutions
LeetCode problems with solutions in many programming languages, built from the Doocs LeetCode repository. Each solution comes with the approach name, the reasoning that leads to it, and an explanation with complexity analysis. The dataset is meant for fine-tuning and evaluating code generation models.
The dataset is regenerated monthly from the latest Doocs commit by the leetcode-dataset-generator tool.
Structure
The dataset has two… See the full description on the dataset page: https://huggingface.co/datasets/olegshulyakov/doocs-leetcode-solutions.leetcode-solutionsFrom: https://www.kaggle.com/datasets/jacobhds/leetcode-solutions-and-content-kpis
leetcode
License & Attribution
MTEB-format derivative of greengerong/leetcode. Query = problem title + statement; document = Python solution. Licensed under MIT (same as source).
leetcodesolutions_en_2kleetcode-python-solutions-with-exaplanationsleetcode-codegen-cpp
LeetCode Code-Gen Dataset — C++
4025 rows. Given a problem statement, its input/output examples, and a
required algorithm/technique, generate a correct C++ solution.
Part of a 4-language collection built from the same source: see the sibling
Python,
Java,
C++, and
JavaScript
datasets.
Verification
Not execution-verified. There is currently no compiler/runtime harness for this language in the build pipeline (only Python has one). Rows are extracted directly from… See the full description on the dataset page: https://huggingface.co/datasets/AmareshHebbar/leetcode-codegen-cpp.leetcode-codegen-javascript
LeetCode Code-Gen Dataset — JavaScript
631 rows. Given a problem statement, its input/output examples, and a
required algorithm/technique, generate a correct JavaScript solution.
Part of a 4-language collection built from the same source: see the sibling
Python,
Java,
C++, and
JavaScript
datasets.
Verification
Not execution-verified. There is currently no compiler/runtime harness for this language in the build pipeline (only Python has one). Rows are extracted… See the full description on the dataset page: https://huggingface.co/datasets/AmareshHebbar/leetcode-codegen-javascript.task956_leetcode_420_strong_password_check
Dataset Card for Natural Instructions (https://github.com/allenai/natural-instructions) Task: task956_leetcode_420_strong_password_check
Additional Information
Citation Information
The following paper introduces the corpus in detail. If you use the corpus in published work, please cite it:
@misc{wang2022supernaturalinstructionsgeneralizationdeclarativeinstructions,
title={Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP… See the full description on the dataset page: https://huggingface.co/datasets/Lots-of-LoRAs/task956_leetcode_420_strong_password_check.leetcode-codegen-java
LeetCode Code-Gen Dataset — Java
4068 rows. Given a problem statement, its input/output examples, and a
required algorithm/technique, generate a correct Java solution.
Part of a 4-language collection built from the same source: see the sibling
Python,
Java,
C++, and
JavaScript
datasets.
Verification
Not execution-verified. There is currently no compiler/runtime harness for this language in the build pipeline (only Python has one). Rows are extracted directly from… See the full description on the dataset page: https://huggingface.co/datasets/AmareshHebbar/leetcode-codegen-java.leetcode-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.multi_lang_leetcodeleetcode-solutions
LeetCode Solutions
Solutions to LeetCode problems in C++, Java, Python, SQL, and TypeScript, enriched
with problem metadata and test cases from a second source. Includes an
instruction-tuning variant for fine-tuning language models.
Sources
Derived from two open-access sources:
walkccc/LeetCode by @walkccc, licensed under MIT.
newfacade/LeetCodeDataset, licensed under Apache 2.0. Provides problem descriptions, difficulty labels, and input/output test cases.… See the full description on the dataset page: https://huggingface.co/datasets/tkeskin/leetcode-solutions.leetcode_solution_pythonThis dataset is a backup of the following dataset:
https://www.huggingface.co/datasets/mhhmm/leetcode-solutions-python
The original file can be found at:
https://huggingface.co/datasets/richardodliu/leetcode_solution_python/blob/main/leetcode-solutions.jsonl
What I have done:
Extract the main information
Transferred it to a more convenient version
Make it available again
leetcode-codegen-python
LeetCode Code-Gen Dataset — Python
2522 rows. Given a problem statement, its input/output examples, and a
required algorithm/technique, generate a correct Python solution.
Part of a 4-language collection built from the same source: see the sibling
Python,
Java,
C++, and
JavaScript
datasets.
Verification
Every row was extracted, then executed in a sandboxed subprocess against the problem's own stated examples. Only rows that passed all examples are included -- this… See the full description on the dataset page: https://huggingface.co/datasets/AmareshHebbar/leetcode-codegen-python.leetcode_solutionsLeetCode_Python_Solutions_DataBigger_Leetcode_Dataset-Pythoncode-r1-leetcode-1890leetcode-rosetta-processed-with-test-casesMAIR-LeetCode__mtebleetcode-deepseek-r1-qwen-7b
Dataset Card for leetcode-deepseek-r1-qwen-7b
This dataset has been created with distilabel.
Dataset Summary
This dataset contains a pipeline.yaml which can be used to reproduce the pipeline that generated it in distilabel using the distilabel CLI:
distilabel pipeline run --config "https://huggingface.co/datasets/chinmaydk99/leetcode-deepseek-r1-qwen-7b/raw/main/pipeline.yaml"
or explore the configuration:
distilabel pipeline info --config… See the full description on the dataset page: https://huggingface.co/datasets/chinmaydk99/leetcode-deepseek-r1-qwen-7b.code-r1-46k-leetcode2k-kodcodekic_D_leetcode-java-rawkic_D_leetcode-cpp-rawLeetCode_Python_Solutions_v2leetcode2000-rl
LeetCode2000-RL
LeetCode2000-RL contains 2000 LeetCode programming tasks with one Python solution per task, normalized correctness test cases, and speed-test inputs with measured runtimes. It is a curated derivative of newfacade/LeetCodeDataset. New LLM-generated solutions and runtime-focused test cases were used to benchmark candidate solutions, replace slower solutions when faster correct variants were found, and select the final solution for each task. The final dataset was then… See the full description on the dataset page: https://huggingface.co/datasets/avidanborisov/leetcode2000-rl.kic_D_leetcode-javascript-raw
