← Datasets

Compare

KodCode-V1
#1166 · remove
Viet-Handwriting-OCR-v2
#391 · remove
Kinddatasetdataset
Published20252026
LicenseCC BY-NC 4.0 (HF card YAML cc-by-nc-4.0). Non-commercial. GPT-4o-0513 / Qwen2.5-Coder / DeepSeek-R1 terms may still apply if used to train a distributed model. Upstream LeetCode/Codeforces/APPS/TACO/CodeContests seed licenses remain.CC-BY-NC-4.0
License familyNon-commercialNon-commercial
AccessFreerestricted
Language codesenvi
Modalitiestextimage, text
Size100K to 1M rows10K to 100K rows
Downloads (last month)13,960389
Likes11991
Last updated2025-03-172026-09-16
Tasks—image-to-text
Formatsparquetparquet
ScalePaper 447K verified triplets after style rewrite (279K after self-verification + 168K Complete/function-signature reformats). YAML default train 484,097 / use_with_caution 3,335 (sum 487,432) / download_size 2,642,644,096 bytes (~2.64 GB) / dataset_size 7,496,353,254 bytes (~7.50 GB). Hub/datasets-server train 484.1K / 19 columns / 15 parquet ~2.6 GB plus use_with_caution 3.3K / 1 parquet 21.0 MB. size_categories 100K<n<1M. Card subset counts (≈446K, not extra overlapping n): Prefill 43K; Leetcode 27K; Codeforces 33K; Apps 21K; Taco 81K; Code Contests 36K; Algorithm 31K; Data Structure 34K; Docs 43K; Filter 77K; Package 7K; Evol 13K. HF train 484k vs paper 447k is v1.0+v1.1 Online Judge restyle — catalog YAML 484,097. Hub overview 42.1K downloads / 114 likes at check. gated=false.60,247 images (59,247 train / 1,000 test); ~3.5 GB Hub
Formatparquet under data/train-* and data/use_with_caution-*. Columns: version, style, subset, question_id, question, solution, test, test_info, gpt_pass_sequence, gpt_pass_trial_num, gpt_difficulty, gpt_pass_percentage, trials, chosen_trial, metadata, benchmark_similarity, benchmark_instruction, benchmark_task_id, filter_reason. Single default config; train + use_with_caution.Parquet image+text splits (train/test)
TypeAnnotated synthetic code SFT/RL / question + verified solution + unit testscurated crawled + human-annotated HTR
CostFreeFree with Hub gate; NC restriction
LanguagesEnglish questions + Python solutions/tests (card language:en). Preview is English instruct + pytest. No LID table. Per-language percents N/A.Vietnamese
ModalityText-only (English + Python). No images.Image + text
Domaincode generation; Python interview/contest/DSA; verifiable unit tests; SFT and RLVietnamese handwritten text recognition
Time periodPaper arXiv 2503.02951 (Hub publishedAt 2025-03-04T19:17:36Z; Daily Papers 2025-03-06). HF createdAt 2025-02-28; lastModified 2025-03-17T07:56:27Z. Card v1.1 adds Online Judge style. Teacher GPT-4o-0513; SFT sibling uses DeepSeek R1. One-shot synthetic release, not a live GitHub scrape.Hub May–Jul 2026; Discord 2026-05-21
PurposeLargest fully-synthetic open question–solution–test dump for coding SFT and RL, with self-verified pytest/stdio testsHigh-quality human-verified Vietnamese HTR image-text pairs
Used forPaper KodCode-tuned models reported above Qwen2.5-Coder-32B-Instruct and DeepSeek-R1-Distill-Llama-70B on HumanEval(+)/MBPP(+)/BigCodeBench/LiveCodeBench. Hub siblings KodCode-V1-SFT-R1 / KodCode-V1-SFT-4o are post-training rewrites — not extra n of this RL dump. Hub overview 42.1K downloads / 114 likes at check; owner listing 3,854 downloads. Paper 34 upvotes / GitHub 321 stars at paper-metadata check.HTR/OCR training; Vietnamese document AI; MLLM OCR finetune
AuthorsXu (UW; Microsoft GenAI internship), Liu (Microsoft GenAI), Yin/Zhou (UT Austin), Poovendran (UW); arXiv 2503.02951. Questions synthesized from Magpie-Prefill (Qwen2.5-Coder-7B-Instruct), GPT-4o-0513 expansions of LeetCode/Codeforces/APPS/TACO/CodeContests seeds, DSA snippets, package docs, Magpie Filter, Package Instruct, Evol Instruct. Solutions/tests by GPT-4o-0513. Not human contest authors for the synthesized slice.5CD-AI labelers; images crawled from public internet then human-annotated
BiasFully synthetic GPT-4o Python. Contest-assessment subsets (Taco 81K largest) plus Magpie Prefill/Filter and package Docs. gpt_difficulty is pass-rate over ≤10 self-verification trials (easy/medium/hard), not human contest rating. benchmark_similarity vs HumanEval/MBPP/BigCodeBench/LiveCodeBench is a column. Distinct from already-cataloged TACO / OpenCodeInstruct / OpenCodeReasoning / CodeForces-CoTs / rStar-Coder. SFT-R1/SFT-4o/Light-RL-10K are siblings — not extra n.Public-web crawl styles; school/admin handwriting common in examples; Vietnamese-only
Text qualityPreview row 0 (v1.0 instruct Leetcode_3_I max product of two distinct elements) is a well-posed Python function with pytest tests; chosen trial_gpt4o_7 passed at 100% branch coverage after 9 fails (gpt_pass_percentage 0.1 → gpt_difficulty hard). Paper self-verification vs human tests: 97.5% MBPP val / 99.47% LiveCodeBench-V5 after format/precision review. Residual: this item is interview-easy despite the hard pass-rate label; benchmark_similarity 0.746 is high vs the contamination set; CC BY-NC; GPT-4o terms; not independently re-executed here.Manual human transcription claimed; one bbox per image
Sample sizedefault train 484,097 / use_with_caution 3,335. subset/style/version/gpt_difficulty are columns not Hub configs. Paper 447K is the v1.0 verified set before the v1.1 Online Judge restyle. Do not add KodCode-V1-SFT-R1 (483,437) / KodCode-V1-SFT-4o (409,552) / KodCode-Light-RL-10K (10,000) as extra n. Do not concat with already-cataloged TACO or OpenCodeInstruct.Train-heavy (~98% train)
Long contextMixed (short Prefill vs contest/Docs items; YAML ~7.50 GB / 487,432 ≈ ~15 KB uncompressed/row including trials). Exact token histogram Unknown without aggregating.Low (single-line/region handwriting)
Intermediate stepsYes (12-subset question synthesis; GPT-4o-0513 solution+test generation with pytest-cov 100% branch coverage; up to 10 retries on hard items; Complete/Online-Judge restyle; DeepSeek-R1 test-based reject sampling lives on the SFT-R1 sibling). Code MIT-style at github.com/KodCode-AI/kodcode.N/A
Idea qualityHighHigh for Vietnamese local-data gap
NoveltyHigh (public 447–484k self-verified Python question–solution–test triplets vs already-cataloged TACO 26k human contests / OpenCodeInstruct Genetic-Instruct)Medium–high for scale of verified Vietnamese handwriting
Text conversionReady parquet; load_dataset('KodCode/KodCode-V1', split='train'). ~2.64 GB download — streaming optional. use_with_caution is the filtered split. Do not concat SFT-R1 / SFT-4o / Light-RL-10K as extra n of this RL dump.Easy (paired text)
Collection methodDownloadHF login + accept gate; load_dataset
StaticUnknown (HF lastModified 2025-03-17; v1.1 Online Judge add; one-shot).Yes at Jul 2026 snapshot (authors say scaling further)
ProcessedUnknownYes (bbox crop selection + human labels)
SummaryLargest fully-synthetic open question–solution–test dump for coding SFT and RL, with self-verified pytest/stdio testsA dataset of 60,247 Vietnamese handwritten text images collected and curated for handwritten text recognition research, with images crawled from public internet sources and manually annotated by human labelers to ensure high diversity and transcription accuracy. The v2 release adds 35,844 new training samples compared to v1, significantly expanding the diversity and coverage of Vietnamese handwriting styles. All images are cropped to individual lines or single sentences with no personally identifiable information, and the dataset is released under a non-commercial license for academic purposes and Vietnamese OCR/AI technology research.