Spaces:
Runtime error
Runtime error
metadata
title: Open Library Atlas
emoji: 🗺️
colorFrom: blue
colorTo: purple
sdk: docker
datasets:
- open-index/open-library
tags:
- embedding-atlas
- visualization
- books
- hf-jobs
- hf-buckets
🗺️ Open Library Atlas
Interactive embedding visualization of 2 million book titles from Open Library — "one web page for every book ever published."
Each point is a book title, colored by subject category (Fiction, History, Science, Religion, and more).
How it was built
This atlas was built entirely on Hugging Face infrastructure using the new Storage Buckets feature:
- Prep (24s): DuckDB queried 40M Open Library works remotely via
hf://, filtered to 2M books with subjects, and wrote enriched parquet to a Storage Bucket - Build (~40 min): An HF Job on A100 computed text embeddings + GPU-accelerated UMAP (via cuml.accel), writing results to the same bucket
- Serve: This Docker Space mounts the bucket read-only and runs Embedding Atlas in server mode with DuckDB
No uploads, no CORS workarounds — the bucket is the shared storage between Jobs and Spaces.
Features
- 2,000,000 embedded book titles with UMAP projections
- Color by category: Fiction, History, Science, Religion, Biography, and more
- Interactive scatter plot with WebGPU acceleration
- Real-time search and filtering
- SQL queries via DuckDB server mode
Categories
Books are categorized by subject into: Fiction, History, Science, Religion, Biography, Literature, Tech & Engineering, Art & Design, Law & Politics, Business & Economics, Education, Philosophy, Medicine, Children, Travel, Society, Military, Music, Food & Agriculture, Sports.
Credits
- Data: Open Library via open-index/open-library (CC0)
- Visualization: Embedding Atlas by Apple
- GPU UMAP: cuML
- Infrastructure: HF Jobs + Storage Buckets + Spaces