Self-contained PEP 723 scripts for OCR, classification, embeddings, and vision on Hugging Face Jobs.
Selected work
A selection of models, datasets, Spaces, tools, and teaching that reflect how I work with practical AI, data, and cultural collections. Everything else lives on my Hugging Face profile and GitHub.
Making AI tools easier to use
I build tools, libraries, and documentation that help people—and AI agents—work with models, datasets, and compute on Hugging Face Jobs and Storage Buckets, including the DataTrove Jobs executor, bucketbag, and contributions to the huggingface_hub CLI and Hub docs.
Adaptive-concurrency batch inference client with resumable Hugging Face dataset and Bucket sinks.
Document triage, OCR & evaluation
A recurring question in my work is whether a model or dataset is actually useful for the task someone needs to do—from my earlier research on how OCR quality affects downstream NLP tasks and Datasheets for Digital Cultural Heritage Datasets to small routing models and collection-specific benchmarks.
Small 0.8B decision model for routing PDF pages between embedded text extraction and OCR.
Fast CPU/ONNX page-level writing-script classifier (with higher-accuracy HGNet variant).
Build collection-specific OCR leaderboards on HF Jobs using VLM judges and human review.
Reference-based evaluation of open OCR models against expert transcriptions of historical books.
Cultural heritage & small GLAM models
I started BigLAM in 2022 to make library, archive, and museum collections easier to discover and reuse—sometimes years later in unexpected ways, like British Library book text becoming training data for a Victorian-language chatbot. With William Mattingly, I also co-maintain Small Models for GLAM for reusable, task-specific models.
Illustrated pages, segmentation masks, and captions from historic Encyclopaedia Britannica editions.
Over a million public-domain British Library book illustrations enriched with embeddings for search.
Reusable, task-specific models for catalogue cards, Iconclass tagging, illustrations, and Kraken OCR.
Keyword and semantic search over historical mission transcripts running on free CPU.
Community datasets & curation
Beyond cultural heritage, I contributed to BigScience’s collaborative data work on ROOTS and BLOOM, co-led Data is Better Together, and build small classifiers and distilled datasets for curating large collections (such as FinePDFs curation and DataTrove distillation).
Community-annotated multilingual educational-quality labels across web documents.
Continuously updated Parquet mirror of arXiv paper metadata.
Teaching, writing & research
I write practical guides and teaching materials to help information professionals and researchers apply machine learning to their own collections:
- AI Design Patterns for Information Professionals — a book in progress connecting practical techniques with decisions about data, evaluation, and use.
- Computer Vision for the Humanities — co-authored peer-reviewed lessons for The Programming Historian, alongside An Introduction to AI for GLAM.
- The Flyswot book — co-authored case study on building a machine-learning pipeline to identify mislabelled manuscript pages in a library workflow.
- Slides — decks from recent talks and workshops for libraries, archives, and digital humanities communities.