~/talk

Preparing Data for LLM pretraining using open source Data Prep Kit

Talkat PyData NYC 2024 · 2024-11-06..11-08· [large-language-models]
links:none on file
slides:none on file

Starts from Common Crawl and other sources and shows actual steps: PDF→par extraction, paragraph chunking, exact and fuzzy deduplication that drops ~60–70% duplicates, language ID (11 languages), LLM as judge scoring for hate/abuse, code‑quality checks, and embeddings with sentence‑transformers saved to a vector DB. Shows config knobs, Ray/Spark scaling, checkpointing, and that 28.7 TB of input falls to ~8 TB after filtering so viewers can judge tool coverage and measurable impact.

AI-written summary · about

  1. 0:00LLM data preparation intro
  2. 1:07Why data quality matters
  3. 3:58Data as crude oil
  4. 7:13Internet-sourced data challenges
  5. 12:33Data quality assessment
  6. 16:33IBM Granite 3.0 pipeline
  7. 21:23Introducing Data Prep Kit
  8. 26:00Data Prep Kit features
  9. 33:29Lab setup first transform
  10. 42:09PDF to Parquet demo
  11. 50:12Chunking documents
  12. 1:00:12Dirty PDFs handling
  13. 1:03:04Chunk array transform
  14. 1:08:26Adding document IDs
  15. 1:10:15Exact duplicate removal
  16. 1:12:50Fuzzy duplicate detection
  17. 1:15:07Generating embeddings
  18. 1:16:53Code data prep intro
  19. 1:18:40Preparing GitHub code
  20. 1:21:11Code dataset processing
  21. 1:24:12Extending with custom transforms
  22. 1:26:48Code quality filtering
  23. 1:28:33Semantic alignment
  24. 1:29:20Summary and contribution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.