spadeMIA/pmc_finetune_corpus_1024-2040_tokens
PMC 1024-2040 Biomedical Fine-Tuning Corpus Summary This is a cleaned biomedical long-text corpus for autoregressive language-model fine-tuning and held-out evaluation. split rows role train 10,000 fine-tuning test 1,000 held-out evaluation The public schema is text-only: text: string No PMCID, date, license, URL, or provenance fields are included in the public dataset files. Token Contract The corpus is built for… See the full description on the dataset page: https://huggingface.co/datasets/spadeMIA/pmc_finetune_corpus_1024-2040_tokens.
PMC 1024-2040 Biomedical Fine-Tuning Corpus
Summary
This is a cleaned biomedical long-text corpus for autoregressive language-model fine-tuning and held-out evaluation.
The public schema is text-only:
text: stringNo PMCID, date, license, URL, or provenance fields are included in the public dataset files.
Token Contract
The corpus is built for EleutherAI/pythia-2.8b.
Token counts were computed with:
tokenizer.encode(text, add_special_tokens=False)Final token-count statistics:
Source
Source dataset:
common-pile/pubmed_filteredRows were filtered to:
The Hugging Face metadata uses license: other because the corpus contains a mixture of CC-BY, CC-BY-SA, and CC0 rows.
Cleaning
Cleaning was deterministic and designed to remove PMC serialization artifacts without damaging biomedical prose, chemistry, units, or real math notation.
Removed or normalized artifact classes include:
Ambiguous doubled backslashes and escaped parentheses are deliberately not auto-stripped because they can be legitimate LaTeX, math, or prose notation.
Truncation
Each selected row is a deterministic prefix of the cleaned parent document. The pipeline uses a three-tier boundary hierarchy:
Processing Summary
Date Distribution
Minimum selected publication date:
2020-09-01License Distribution
Verification
The local review notebook re-scans every exported row. All strict artifact detectors pass with zero affected rows in both train and test:
Ordered sequence hashes over the public text column:
train_text_sequence_sha256 = 3f5767c782aca43da42cce8b456afb1e95e100b73c0abf4d4406e7d3b273338a
test_text_sequence_sha256 = e5207234ecbd3e80a41348a10da42a6c3ad36bba1e3c612e70f3dbbded77d37dReproducibility
Use this corpus only under the token and cleaning contract documented above.
