| Kind | dataset | dataset |
|---|
| Published | 2025 | 2025 |
|---|
| License | Apache-2.0 | HF card YAML has no license field. Treat as Unknown; per-file upstream OSS licenses still apply to the source text. |
|---|
| License family | Permissive | Other |
|---|
| Access | free | free |
|---|
| Language codes | en | code, go |
|---|
| Modalities | text | code, text |
|---|
| Size | 1M to 10M rows | 100K to 1M rows |
|---|
| Downloads (last month) | 364 | 27 |
|---|
| Likes | 95 | 3 |
|---|
| Last updated | 2025-06-24 | 2025-04-11 |
|---|
| Tasks | question-answering, text-generation | — |
|---|
| Formats | json | parquet |
|---|
| Scale | Paper/card 370K unique QA with CoT + summaries, distilled from 1.75M raw paths over 194,925 unique source questions (MedMCQA train 182,822 largest). Hub/datasets-server default train 1,111,555 / 3 columns / shard_lengths 370,022 + 369,983 + 371,550 (CoTMed.json 1.19 GB + ReasonMed.json 1.48 GB + ResponseMed.json 405.3 MB). LFS ~3.07 GB original / parquet convert 1.22 GB / usedStorage 4,293,059,756 bytes (~4.29 GB). YAML size_categories 100K<n<1M vs Hub tag 1M<n<10M — catalog unique ~370k / Hub concat 1,111,555. Hub overview 520 downloads / 93 likes at check. gated=false. | HF: 237,681 train rows; size_categories 100K<n<1M. YAML dataset_size 1,195,185,254 bytes (~1.20 GB); download_size 335,796,156 (~335.8 MB); usedStorage 487,535,044 (~487.5 MB); 3 parquet shards (149.6 + 94.0 + 92.1 MB). Hub 724 downloads / 2 likes at check (API last-month downloads 25). Character stats on full split: prefix mean 2,686 / median 1,372 (max 38,973); suffix mean 2,381 / median 1,097 (max 36,070); middle mean 202 / median 50 (max 29,398); file_name mean 14 chars. |
|---|
| Format | JSON (ReasonMed.json / CoTMed.json / ResponseMed.json) plus Hub parquet convert. Columns: instruction, input, output. Single default config concatenates the three files as train. Card formats: ReasonMed (<think>CoT</think>response), CoTMed (CoT only), ResponseMed (response only). | parquet (file_name, prefix, suffix, middle, fim_type) |
|---|
| Type | Annotated medical-reasoning SFT / instruction + empty input + CoT or response output | Code FIM / infill training corpus (prefix, suffix, middle, fim_type, file_name) |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (card language:en). Preview is English medical MCQs (Indian exam-bank style: poisoning, Rett, Dentist Act, IGNDPS, OPV, BBT, Vitamin A units). No LID table. Per-language percents N/A. | Programming languages (natural-language comments mixed in). 800-row offset sample of file_name (n=800): .py 40.6% (325); .rs 24.0% (192); .js 16.9% (135); .ts 10.8% (86); .go 6.5% (52); .tsx 1.3% (10). Full-corpus extension mix not tabulated on the card. |
|---|
| Modality | Text-only (English medical MCQ + CoT). No images. Not the Lingshu multimodal paper dump. | Text + source code |
|---|
| Domain | medical reasoning; biology; multi-choice clinical QA; chain-of-thought SFT | code fill-in-the-middle; infilling SFT; Rust/Python/JS/TS/Go source |
|---|
| Time period | Paper arXiv 2506.09513 (Hub publishedAt 2025-06-11T08:36:55Z; Daily Papers 2025-06-13). HF createdAt 2025-06-10; lastModified 2025-06-24T10:05:02Z. Seed MedQA/MedMCQA/PubMedQA/MMLU-medical. One-shot multi-agent distillation, not a live clinic crawl. | HF createdAt 2025-04-11T08:41:12Z; lastModified 2025-04-11T11:47:02Z. Source files older than the FIM packaging (unverified per-file dates). |
|---|
| Purpose | Largest open medical-reasoning SFT dump (370k unique questions) distilled from 1.75M LLM CoT paths so sub-10B models can match larger medical chat models | Prefix–suffix–middle FIM examples (four span types) for training code infill models |
|---|
| Used for | Paper ReasonMed-7B / CoTMed-7B / ResponseMed-7B (Qwen2.5-7B SFT; card 69.6% total acc). Sibling paper Lingshu (arXiv 2506.07044). Hub overview 520 downloads / 93 likes at check. Paper 103 upvotes / GitHub YuSun-Work/ReasonMed 122 stars at paper-metadata check. | None listed on this repo (0 Hub models with dataset:Etherll/CodeFIM-Data). Sibling CodeFIM-Rust-Mellum (56,920 rows) trains Etherll/Mellum-4b-sft-rust. Earlier Etherll/code-fim-v2 (63,968) has Hub models. |
|---|
| Authors | Sun, Qian, Xu, Zhang, Xiao, Li, Rong, Huang, Bai, Xu (LASA / DAMO; arXiv 2506.09513). CoT teachers Qwen-2.5-72B, DeepSeek-R1-Distill-Llama-70B, HuatuoGPT-o1-70B; verifier Qwen-2.5-72B; Error Refiner GPT-4o-mini; difficult-tier regenerator GPT-o1. Human authors of MedQA/MedMCQA/PubMedQA/MMLU seeds. | Etherll packaged FIM spans from existing source files (viewer includes OSS-style Rust crates and Python scripts). Per-file original authors unverified. No human annotation of spans. |
|---|
| Bias | MedMCQA-heavy (182,822/194,925). Indian undergraduate/PG exam register (Dentist Act 1948, IGNDPS rupees, OPV). Easy/medium/difficult tiers from verifier error counts (0–4 / 5–7 / 8–9). Distinct from already-cataloged Medical-Reasoning-SFT-Mega / MIRIAD 5.8M (retrieval notes) / FineMath (math). CoTMed and ResponseMed are output-style variants of the same questions — not extra unique n. | FIM-span types are not uniform. 800-row sample is Python+Rust heavy vs other languages. Multiple FIM views of the same file (e.g. repeated main.rs) over-weight long files. Source mix and license of upstream files not documented. |
|---|
| Text quality | Preview row 0 (factory worker: salivation + Burton's lines + tremors) is a well-known MCQ whose gold is usually Lead; the CoT argues Mercury because of ptyalism/erethism and waves off Burton's lines — residual teacher error. Row 1 (Rett's syndrome due to deficiency of Niacin/Biotin/Carotene/Vit D) correctly notes MECP2 genetics then still picks Biotin if forced. Row 2 (Dentist Act 29 March 1948) is a clean historical item. Card Score Evaluator: ReasonMed 8.45 vs medical-o1-reasoning-SFT 8.03 / Medical-R1-Distill-Data 8.18 on 1k samples. Residual: exam-bank artifacts; GPT-4o-mini/o1 terms; not independently re-scored beyond preview 0–2 here. | Real source files split into prefix/suffix/middle; comments and tests included. Residual local paths (e.g. /home/hom/alfred) and duplicated whole-file contexts across span types. No card quality filter. |
|---|
| Sample size | Hub default train 1,111,555 is CoTMed 370,022 + ReasonMed 369,983 + ResponseMed 371,550 — three styles, ~370k unique questions. No val/test on Hub. Paper source table is unique seeds not extra n. Do not concat Fadil369/EtoUbivaetMnya1997 mirrors. | Single default train split 237,681. Full-split fim_type: random_line_split 77,693 (32.7%); identifier_name 60,419 (25.4%); identifier_body 54,679 (23.0%); conditional_block 44,890 (18.9%). Companion CodeFIM-Data-trim and CodeFIM-Rust-Mellum are separate repos, not configs here. |
|---|
| Long context | Mixed (short MCQ stem; CoT/ReasonMed outputs are long — paper CoTMed ~555 tok / ReasonMed ~626 tok vs ResponseMed ~225). Exact token histogram Unknown without aggregating. | Mixed (median prefix+suffix ~2.5k chars; tails to ~39k prefix / ~36k suffix). |
|---|
| Intermediate steps | Yes (194,925 seeds; 3 teachers × 3 temps → 1.75M paths; Qwen-2.5-72B verify; Quality Ranker / GPT-4o-mini Error Refiner / GPT-o1 regenerate; GPT-4o-mini summarize). Code at github.com/YuSun-Work/ReasonMed. | Yes (span extraction into four fim_type classes). Pipeline code and source-repo list are not on the card. |
|---|
| Idea quality | High | Medium |
|---|
| Novelty | High (public 370k verified medical CoT dump vs already-cataloged Medical-Reasoning-SFT-Mega / math-heavy OpenThoughts) | Medium (standard PSM FIM packaging; undocumented scrape) |
|---|
| Text conversion | Ready JSON/parquet; load_dataset('lingshu-medical-mllm/ReasonMed', split='train') concatenates all three files (~1.11M). Filter/shard if you want one style only. ~3.07 GB JSON / ~1.22 GB parquet — streaming optional. Do not treat Hub 1,111,555 as 1.11M unique questions. | Ready parquet; load_dataset("Etherll/CodeFIM-Data") |
|---|
| Collection method | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-06-24; one-shot). | Unknown (HF lastModified 2025-04-11; one-shot upload) |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | ReasonMed is the largest open-source medical reasoning dataset to date, containing 370K high-quality question-answer examples with multi-step chain-of-thought (CoT) rationales and concise summaries. The examples were distilled from 1.75M initial reasoning paths generated by three competitive LLMs (Qwen-2.5-72B, DeepSeek-R1-Distill-Llama-70B, and HuatuoGPT-o1-70B) through a rigorous multi-agent verification and refinement pipeline with an Error Refiner. The full dataset contains 1.11M rows across three variants (ReasonMed, CoTMed, ResponseMed). Models trained on ReasonMed (ReasonMed-7B) surpass prior best sub-10B models by 4.17% and exceed LLaMA3.1-70B on PubMedQA by 4.60%. | CodeFIM-Data is a HuggingFace dataset of 238,000 rows formatted for fill-in-the-middle (FIM) code completion training. Each row contains a file name, a code prefix, a code suffix, the missing middle segment, and a FIM type label. The data is drawn from multiple programming languages (primarily Rust, but also TypeScript, Python, and Go) and is used to fine-tune code completion models such as Etherll's Qwen2.5-CodeFIM series for IDE-style autocomplete via Continue. |
|---|