~/talk

Hugging a Duck: Democratizing Data Access and Exploration with DuckDB and Hugging Face Hub

Talkat DuckCon #4 · on Friday, 2024-02-02· [databases, developer-experience]
links:none on file
slides:none on file

Hugging Face converts each public dataset to Parquet (up to first 5 GB), adds an index.ddb file containing a DuckDB database and full‑text index, and exposes searches and filters via a REST endpoint that downloads the index and runs a single SQL query. Features implemented: full‑text search, column filtering, and precomputed statistics (histograms, counts) stored in a DB. Pipeline runs at Hub scale (about 100k datasets, hundreds of thousands of daily users ~300k) and shipped in production for ~6 months before switching frameworks.

AI-written summary · about

  1. 0:00Hugging a Duck intro
  2. 1:49Hugging Face Hub mission
  3. 3:34Dataset access evolution
  4. 5:42Datasets to Parquet
  5. 7:28Full-text search with DuckDB
  6. 9:42Filtering datasets with DuckDB
  7. 11:50Precomputing stats with DuckDB
  8. 13:16DuckDB at scale
  9. 14:42Closing remarks
~/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.