Text and language data
Textbook and Educational Text Data for LLM Training
Quick answer
Textbook data for LLM training is explanatory text written to teach: definitions, derivations, worked examples and graded exercises. Buyers get it three ways: openly licensed educational resources already folded into open corpora, classifier-filtered "educational" web text, and licensed publisher or course content. Usually only the licensed route adds material you cannot already download. Specify chapter-level structure, keep exercises and answer keys in separate fields to avoid benchmark contamination, exclude student work, and get a written grant that names pre-training and fine-tuning.
By SourceX Editorial · Updated
- 01Your data spec
- 02Matched to businesses
- 03Rights and samples reviewed
- 04Licensed delivery
Why textbook-quality text matters for pre-training and SFT
Textbook-style text carries more reasoning per token than typical web text, which is why model builders select for it deliberately. FineWeb-Edu made the preference explicit at web scale, scoring pages with an educational-value classifier and keeping the high scorers, which improved knowledge and reasoning benchmarks over the broader FineWeb set [2]. The same paper's ablations are a useful template for testing whether a licensed educational sample moves your own benchmarks before you commit to the full corpus.
The lesson for buyers is that the property you pay for is pedagogical structure, not the word "textbook" on a cover. A licensed corpus earns its cost when it adds what filtered web text lacks: complete derivations, consistent notation across a whole book, prerequisite ordering, and worked solutions checked by an editor. For mid-training, these sequences give the model long, coherent arguments. For SFT, worked examples can be reshaped into instruction-response pairs, provided the license covers derivative formatting.
Three supply routes and where each stops
Each route trades rights certainty against novelty, so most programs combine them rather than pick one.
Openly licensed educational resources. The Common Pile v0.1 assembles about 8TB of public-domain and openly licensed text from roughly 30 sources, and educational materials are among them [1]. If your team already trains on such a corpus, assume that open textbooks are in your mix. Check each item's license variant: CC BY permits commercial training with attribution, while NC and ND variants raise questions your counsel must answer. Our guide to openly licensed text corpora for commercial training covers those limits.
Classifier-filtered web text. FineWeb-Edu-style filtering is cheap and scales to trillions of tokens [2], but it inherits crawl provenance. It also tends to favor explainer-style pages over complete books, so long-range structure (chapter 9 building on chapter 3) is thin.
Licensed publisher and course content. Academic publishers are reported to license journal content to AI developers [3], which signals a commercial route buyers can also pursue for higher-education and professional titles. This is where you get full books in source formats, editorial QA and answer keys, along with negotiated restrictions. For the rights grant itself, see the pre-training rights you need in a data license.
Decision table: matching content type to training use
Match each content type to the training phase it actually helps, and flag the specific risk before you price it.
Illustrative example: invented to show structure; it does not describe an available dataset.
| Content type | Best training use | Main risk | Buyer control |
|---|---|---|---|
| Expository chapters (prose, definitions, derivations) | Pre-training, mid-training | Overlap with open copies already in your mix | Near-duplicate check (MinHash) against your current corpus before pricing |
| Worked examples with solutions | Mid-training, SFT reformatting | License may bar derivative restructuring | Grant must name reformatting into prompt-response pairs |
| End-of-chapter exercises | SFT, synthetic-data seeds | Overlap with public benchmarks drawn from textbooks | Separate field; n-gram overlap scan against your eval suites |
| Answer keys and instructor manuals | Reward modeling, verification | Often under stricter terms than the student edition | Separate file and separate license line |
| Lecture notes and syllabi | Pre-training breadth | Mixed authorship (faculty, institution, guest material) | Per-document rights attestation |
| Student submissions, graded work | Generally excluded | FERPA and consent exposure | Exclude by default |
| Figures, diagrams, plots | Not this page | Text-only pipelines drop meaning | Route to interleaved image-text documents |
Formats and fields to require
Ask for source formats before PDFs, because the extraction step is where educational text loses most of its value. Math in a PDF often comes out as broken Unicode or reordered glyphs; in LaTeX source, MathML inside EPUB 3, or XML such as NISO BITS (the book variant of JATS), equations and cross-references survive. If only PDF exists, require the supplier to state the extraction tool and share a parse sample with equations, tables and footnotes intact.
Per-document metadata should let you filter by subject, level and rights without re-reading content. The fields below extend the general list in our guide to metadata fields for licensed text corpora.
Illustrative example: invented to show structure; it does not describe an available dataset.
{
"doc_id": "edu-000412-ch07",
"work_title": "Introductory Thermodynamics",
"edition": "3",
"unit": "chapter",
"unit_seq": 7,
"prerequisite_units": [3, 5],
"subject_code": "physics.thermo",
"level": "undergraduate_lower",
"language": "en-US",
"source_format": "latex",
"segments": {
"exposition": "...",
"worked_examples": ["..."],
"exercises": ["..."],
"solutions_ref": "solutions/edu-000412-ch07.json"
},
"authorship": "publisher_editorial",
"contains_student_work": false,
"third_party_material": ["fig_7_3_excluded"],
"license_scope": ["pretraining", "fine_tuning"],
"attribution_required": false,
"token_count_est": 18450
}
Note the third_party_material field. Textbooks routinely reproduce excerpts, figures and problems licensed from other rights holders, and a publisher's AI grant may not cover them. Ask the supplier to flag or strip those passages rather than discovering them after training.
Keeping exercises away from your evals
Store exercises and answers apart from exposition, because many public benchmarks are built from textbook-style questions and overlap silently inflates scores. Run n-gram or embedding-similarity checks between the exercise field and every eval set you report, and drop matches before training. BIG-bench embeds a canary GUID in its task files so corpus builders can filter it out [4]; scan for that string and any canaries your own evals use.
Separation also helps the training mix. You may want exposition in pre-training, worked examples in mid-training and exercises held out as synthetic-data seeds. That only works if the supplier delivers them as distinct fields, not as one flattened text blob. Broader contamination controls are covered in training data quality assessment.
Rights, student records and disclosure
Educational text is copyright-heavy, so the license grant is the asset; the files are secondary. In the US, the Copyright Office's report on generative AI training (Part 3) remains a pre-publication version as of October 2026 [6], and courts have not settled fair use for generative training. A licensed grant naming pre-training, fine-tuning and evaluation avoids depending on that outcome. In the UK, the text and data analysis exception in CDPA s29A covers only non-commercial research [8], so commercial training that copies works in the UK needs a license or another legal basis.
Student work is a separate problem. Course-management exports can mix faculty materials with submissions, discussion posts and instructor feedback that identify students. FERPA allows release of de-identified records only after removal of all personally identifiable information and a reasonable determination that a student is not identifiable [5]. The cleaner default is to exclude student-authored content entirely and require a contains_student_work: false attestation per document.
Plan for disclosure too. California AB 2013 requires developers of generative AI systems offered to Californians to post documentation about training data sources [7]. Keep each licensed educational source's title list, license scope and acquisition date in a form you can summarize publicly.
This page is general information, not legal advice. Confirm requirements with counsel for your jurisdiction and use case.
Request template for educational text
A tight request names structure, level and rights up front, so suppliers can answer "do we hold this and can we license it" quickly.
Illustrative example: invented to show structure; it does not describe an available dataset.
- Content: Undergraduate STEM textbooks and lecture notes; exposition, worked examples, exercises; solutions optional, priced separately.
- Subjects and level: Calculus, linear algebra, probability, intro physics; lower-division undergraduate; US English.
- Formats: LaTeX, EPUB 3 with MathML, or BITS XML preferred; PDF only with extraction sample.
- Segmentation: Exposition, worked examples, exercises and solutions in separate fields; chapter order and prerequisite links preserved.
- Exclusions: Student submissions, third-party figures and excerpts without AI rights, test banks tied to live assessments.
- Volume check: Token estimate per title using our token count estimation method.
- Rights: Pre-training, fine-tuning and internal evaluation; model weights and outputs unrestricted by the content license; attribution terms stated.
- Diligence: Chain of title for each work, list of excluded third-party items, de-duplication against named open corpora.
For corporate training modules and LMS course content rather than academic titles, see the owner page on training materials and LMS content and the corporate training buyer page.
How SourceX fits educational text requests
SourceX is a fit when the explanatory text you need sits inside US businesses rather than on the open web. SourceX sources operational datasets from US companies on request, including documents, engineering records and new recordings of hands-on work, and manages licensing and ongoing purchases. Nothing is held in stock, a request does not guarantee a match, and scraped web content is out of scope. You can describe the dataset on the SourceX buyers page; SourceX looks for companies that hold it, and every release is approved by the supplying company. More text options are listed in the text and language data hub.
Request explanatory text for LLM training
Describe the educational or explanatory text you need, including subjects, level, format and training use. SourceX rights-reviews each dataset, removes or replaces personal details before delivery, and delivers under a license that defines records, uses, term and delivery. Start at sourcex.si/buyers.
Sources
- arXiv (Kandpal et al.), "The Common Pile v0.1: An 8TB Dataset of Public Domain and Openly Licensed Text" (2025). https://arxiv.org/html/2506.05209v1
- arXiv (Penedo et al., Hugging Face), "The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale" (2024). https://arxiv.org/html/2406.17557v2
- infoDOCKET (Library Journal), "Report: Publishers Are Selling Papers to Train AIs and Making Millions of Dollars" (2024). https://www.infodocket.com/2024/12/09/report-publishers-are-selling-papers-to-train-ais-and-making-millions-of-dollars/
- arXiv (Srivastava et al.), "Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models" (2022). https://arxiv.org/pdf/2206.04615
- U.S. Government Publishing Office / U.S. Department of Education, "34 CFR 99.31 - Under what conditions is prior consent not required to disclose information?" (2018). https://www.govinfo.gov/content/pkg/CFR-2018-title34-vol1/pdf/CFR-2018-title34-vol1-sec99-31.pdf
- U.S. Copyright Office, "Copyright and Artificial Intelligence". https://www.copyright.gov/ai/
- California Legislature, "AB-2013 Generative artificial intelligence: training data transparency" (2024). https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=202320240AB2013
- UK Intellectual Property Office, "Copyright, Designs and Patents Act 1988 - Consolidated (section 29A)". https://assets.publishing.service.gov.uk/media/60180c2b8fa8f53fc62c5897/Copyright-designs-and-patents-act-1988.pdf
Tell us what your models need
Share scope, volume, language, format, timing and licensing requirements.