← Datasets

Compare

HTRC BookNLP Dataset for English-Language Fiction - Documentation - HathiTrust Research Center
#60 · remove
smoltalk2
#56 · remove
AceReason-1.1-SFT
#55 · remove
Kinddatasetdatasetdataset
Published—20252025
LicenseCC BY 4.0Mixed. Card: newly generated subsets Apache-2.0; Hub cardData.license unset. Upstream licenses still apply (OpenThoughts3 Apache-2.0; Llama-Nemotron-Post-Training CC-BY-4.0; OpenHermes/Tulu/SmolTalk/LongAlign/Aya/Table-GPT/s1K/Mixture-of-Thoughts per those cards). Treat as Apache-2.0 for HF-new rows only; Unknown for the concat as a whole.cc-by-4.0
License familyPermissiveOtherPermissive
Accessfreefreefree
Language codes——en
Modalitiesimage, texttextcode, text
Size—1M to 10M rows1M to 10M rows
Downloads (last month)—33,8622,774
Likes—173101
Last updated—2025-10-312025-06-18
Tasks——text-generation
Formats—parquetarrow
Scale~213,000 volumes; typically 3 derived files per volume (entity / token-or-supersense / character families per docs)YAML+card: 8,610,022 rows across 3 configs (Mid 4,779,894 / SFT 3,383,242 / Preference 446,886). size_categories 1M<n<10M. YAML download_size 87,748,124,143 bytes (~87.75 GB) matching usedStorage 87,748,124,143; uncompressed dataset_size ~189.97 GB (Mid 117.95 + SFT 65.99 + Preference 6.04). Card token tables: Mid 35,172.1M tokens; SFT 19,292.4M; Preference chosen 850.62M. 400 parquet shards. Hub 175.3K downloads / 164 likes at check.Card: 2,668,741 math + 1,301,591 code = 3,970,332 samples. Source table unique questions 514,807 (math 349,414 / code 165,393). Viewer numRows 3,958,018 (partial; ~12k below the card). usedStorage 95,457,781,002 bytes (~95.46 GB). 187 Arrow shards under sft_data.parquet/ plus dataset_info.json/state.json. size_categories 1M<n<10M. Hub 62.0K downloads / 101 likes at check. gated=false. Paper SFT v7 is ~2.2M (1.2M math + 1.0M code) after extra difficulty rebalancing — slightly smaller than this released 3.97M file.
FormatPer-volume derived files via Illinois Data Bank / HTRC distribution (see docs)parquet. Configs Mid/SFT/Preference. Mid/SFT columns: messages (list of {content, role}) + source; SFT also chat_template_kwargs (custom_instructions, enable_thinking, python_tools, xml_tools). Preference: prompt, chosen, rejected, chat_template_kwargs, source.Arrow (HuggingFace datasets save_to_disk layout under sft_data.parquet/; fields category, source, input, output). Not native parquet despite the folder name.
TypeNon-consumptive derived literary NLP datasetPost-training mix / mid-train + SFT + preferenceAnnotated reasoning SFT corpus / math+code question–R1-trace pairs
CostFreeFreeFree
LanguagesEnglish-language fiction volumesEnglish-dominant. SFT multilingual splits cover 8 languages (fr, es, it, pt, de, ar, ru, zh) via Qwen translation of SmolTalk prompts (Qwen 2.5 report recipe). Aya think split is multilingual. Mid (Nemotron reasoning + OpenThoughts3) and most SFT/Preference rows are English. No LID table.English 100% (card language:en). Math prompts English; code prompts English with Python solutions (card). No LID table.
ModalityText-derived features (not raw page images in the release)Text-onlyText + Python source code
DomainEnglish-language fiction; computational literary studies; character/entity NLPpost-training; math/code/science reasoning; multilingual instruction; tool-calling; long-context SFT; preference alignmentmath and competitive-code reasoning SFT; long CoT distillation
Time periodUnderlying NovelTM fiction volumes roughly 1700–2009; HTRC docs updated 2023-12-08.HF createdAt 2025-07-10; lastModified 2025-10-31. Mid/SFT/Preference mix for SmolLM3 (blog 2025). Teacher traces from Qwen3-32B / Qwen3-235B-A22B / DeepSeek-V3-0324 / Llama-Nemotron post-training / OpenThoughts3 (QwQ-32B). Upstream Tulu 3 / OpenHermes-2.5 / SmolTalk / LongAlign / Aya / Table-GPT / s1K-1.1.HF createdAt 2025-06-16; lastModified 2025-06-18. Card release date 2025-06-16. Paper 2025-06-16 (arXiv 2506.13284). Teacher DeepSeek-R1 (2025). Prompt sources (OpenMathReasoning, NuminaMath-CoT, OpenCodeReasoning, Magicoder, opc-sft-stage2, leetcode, TACO, APPS) are older. Discord posted 2025-06-19.
PurposeRelease rich non-consumptive BookNLP derivatives (entities, words/supersenses, characters) for ~213k HTDL fiction volumes without reconstructing full textThree-stage SmolLM3-3B post-training mix (mid-train reasoning, dual think/no_think SFT, APO preference)SFT blend for AceReason-Nemotron-1.1-7B: scale unique prompts and responses-per-prompt, then stage-wise math/code RL. Math+code only; no general-domain chat.
Used forCultural analytics / BookNLP-style literary NLP (HTRC derived datasets program)HuggingFaceTB/SmolLM3-3B (and SmolLM3-3B-Base long-context/reasoning stages). papers_local 631. Hub 175.3K downloads / 164 likes at check. Discord posted the HF URL.AceReason-Nemotron-1.1-7B (SFT then math-only RL 8k→16k→24k→32k and code-only RL). Paper Table 1: 72.6 AIME24 / 64.8 AIME25 avg@64; LiveCodeBench v5 57.2 / v6 52.1 avg@8. Sibling nvidia/AceReason-Math is the 49,585-row math RL prompt set, not this SFT dump. OpenCodeReasoning (already cataloged) is one prompt source.
AuthorsHistorical fiction authors in HathiTrust. Dataset producers: Ryan Dubnicek and HTRC collaborators (Capitanu, Layne-Worthey, Christie, Walsh, et al.).HuggingFaceTB curated. Mix of upstream public datasets (nvidia/Llama-Nemotron-Post-Training-Dataset, open-thoughts/OpenThoughts3-1.2M, open-r1/Mixture-of-Thoughts science, teknium/OpenHermes-2.5, allenai Tulu 3, HuggingFaceTB/smoltalk, THUDM/LongAlign, CohereLabs/aya_dataset, LipengCS/Table-GPT, open-r1/s1K-1.1, NousResearch/hermes-function-calling-v1, xlam traces) plus new Qwen3-32B / Qwen3-235B-A22B / DeepSeek-V3-0324 generations. Preference think split: chosen Qwen3-32B vs rejected Qwen3-0.6B.Human contest/forum authors in the eight sources. Traces: DeepSeek-R1. NVIDIA (Liu / Yang / Chen / Lee / Shoeybi / Catanzaro / Ping; correspondence zihanl@nvidia.com, wping@nvidia.com).
BiasHathiTrust + NovelTM fiction classifier biases (canon, language, OCR-era gaps); English-only fiction focusReasoning-heavy: Mid is 76.25% Llama-Nemotron-Post-Training reasoning_r1 vs 23.75% OpenThoughts3 by rows (53%/47% by tokens). SFT think is dominated by OpenThoughts3-1.2M_think (33.5% of SFT rows / 86.7% of SFT tokens). Dual think/no_think copies of several sources. Decontaminated vs SmolLM3 evals; emoji rows dropped in SFT. Preference think uses a weak Qwen3-0.6B rejector. Multilingual coverage is 8 languages, not web-scale LID.Math-heavy 67.2% of samples (OpenMathReasoning alone 2,147,570 / 54.1%). Code 32.8% (OpenCodeReasoning 763,495 / 19.2%). Per-source samples: OpenMathReasoning 2,147,570; OpenCodeReasoning 763,495; NuminaMath-CoT 521,171; opc-sft-stage2 323,163; leetcode 126,878; TACO 56,694; MagicoderEvolInstruct 27,625; apps 3,736. Paper filtered out many short (<2k-token) easy traces to rebalance difficulty. Python-centric code. 9-gram decontam vs the authors’ math/code benchmarks only.
Text qualityDerived NLP features from OCR’d library volumes; non-consumptive outputs intentionally incomplete vs full textChatML messages (SFT/Mid) and chosen/rejected preference triples. Card: decontaminated against SmolLM3 benchmarks; SFT also dropped emoji samples. Think traces from Qwen3-32B / OT3 QwQ-32B / Nemotron R1; no_think variants strip traces. Preview not independently verified beyond Hub schema. Quality inherits upstream (OT3, Nemotron, OpenHermes, Tulu).R1 long CoT. 9-gram overlap filter vs math and coding test sets. No execution filter claimed on this SFT dump (OpenCodeReasoning similarly kept unverified traces). Residual teacher errors and source-license mix. datasets-server partial 213k: input chars mean 590 / median 269 / max 22,378; output chars mean 22,638 / median 19,367 / max 85,916.
Sample sizeOne derived bundle per volume; no ML train/val/test3 configs / 29 named splits. Mid: Llama_Nemotron_Post_Training_Dataset_reasoning_r1 3,644,790 (124 shards, 27.1 GB) + OpenThoughts3_1.2M 1,135,104 (113 shards, 26.6 GB). SFT 25 splits: 10 think (1.5M rows) + 15 no_think (1.9M); largest OpenThoughts3_1.2M_think 1,133,524 / OpenThoughts3_1.2M_no_think 435,193 / smol_magpie_ultra_no_think 406,843 / OpenHermes_2.5_no_think 384,900. Preference: tulu_3 no_think 230,501 + think 216,385. Training uses per-split Weight column (not a uniform concat).Single default train split. Card source table as above. Partial viewer slice 213,320 rows: math 143,165 / code 70,155; OpenMathReasoning 115,216; OpenCodeReasoning 41,154; NuminaMath-CoT 27,949; opc-sft-stage2 17,551; leetcode 6,822; TACO 3,060; MagicoderEvolInstruct 1,374; apps 194. No val/test in this repo. nvidia/AceReason-Math (49,585) is the RL set.
Long contextYes at book level (features aggregate over volumes)Mixed. LongAlign-64k splits (7,526 think / 6,249 no_think) are 64k-token documents (avg ~15–18k tokens). OpenThoughts3 think avg ~14.8k tokens/example. Everyday convs are short multi-turn.Yes (long R1 CoT; paper SFT context 128k after rope_theta change; RL response budgets 8k–32k; output median ~19k chars in the 213k viewer slice).
Intermediate stepsYes (NovelTM fiction set → BookNLP pipeline → non-consumptive filter)Yes (upstream concat; benchmark decontam; SFT emoji filter; chat_template_kwargs extracted from system/tool text; think vs no_think splits; Multi-IF 2-turn generation; Qwen3 rewrite of SmolTalk/Aya/Table-GPT/LongAlign prompts; APO preference with Qwen3-32B chosen vs Qwen3-0.6B rejected). Recipe: github.com/huggingface/alignment-handbook/tree/main/recipes/smollm3.Yes (collect AceMath/Numina/OpenMathReasoning math + TACO/APPS/OpenCoder-stage2/OpenCodeReasoning code; exact-prompt dedup; 9-gram decontam; drop many short/easy traces; R1 multi-sample; SFT 5–6 epochs on Qwen2.5-Math-7B). RL stages use a separate AceReason-Math prompt set.
Idea qualityHighHighHigh
NoveltyHigh (large public BookNLP derivatives under HTRC policy)High (public 8.6M-row SmolLM3 post-train recipe with dual think/no_think and documented stage weights)High (3.97M R1 math+code SFT used to show prompt-count scaling beats responses-per-prompt; public recipe for AceReason-1.1)
Text conversionDownload from HTRC/Illinois Data Bank; schema documented on ConfluenceReady parquet; load_dataset('HuggingFaceTB/smoltalk2', '<Mid|SFT|Preference>', split='<split>'). Streaming recommended (~87.75 GB). SFT-ready ChatML.Ready Arrow; load_dataset("nvidia/AceReason-1.1-SFT"). Stream or snapshot; full dump ~95 GB. Folder name sft_data.parquet is misleading (files are .arrow).
Collection methodDownloadDownloadDownload
StaticYes (derived snapshot)Unknown (HF lastModified 2025-10-31; one-shot SmolLM3 recipe dump)Unknown (HF lastModified 2025-06-18; one-shot SFT release)
ProcessedYesUnknownUnknown
SummaryHTRC BookNLP Dataset for English-Language Fiction - Documentation - HathiTrust Research CenterThis dataset contains three subsets (Mid, SFT, Preference) that correspond to the three phases of Post-Training for [SmolLM3-3B](https://huggingface.co/HuggingFaceTB/SmolLM3-3B). You can find more details in our [blog post](https://huggingface.co/blog/smollm3) about how we used the data in each of the stages [SmolLM3](https://huggingface.co/HuggingFaceTB/SmolLM3-3B).[![Technical Report](https://img.shields.io/badge/2506.13284-Technical_Report-blue)](https://arxiv.org/abs/2506.13284)