Show HN: Weightlift – the missing package manager for downloading model weights
Weightlift is a small library that streamlines model weight downloading, caching, and progress display for on-device web-based AI apps, supporting transformers.js, ONNX, prakeet, and more.
If you’re building an on-device web-based AI app, you’ve probably built this 50 times already:
Something that tells your users which models are available to download or already cached, then shows progress as they’re being downloaded.
While building Rescript (see https://github.com/wassgha/rescript ), I had to build this exact same pattern.
So I built it into a tiny library that streamlines that across transformers.js, onnx, prakeet and pretty much any model provider.
Give it a try :)