This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
0.4.0 🐶
What's new
- Now you can serve your models with Streamlit:
mlem serve streamlit --model mymodel
. Streamlit app is built automatically based onsample_data
you provide tomlem.api.save()
call. - Now you can add pre- and post-processors for your models.
mlem.api.save(..., preprocess=..., postprocess=...)
will applypreprocess
before the model andpostprocess
after the model like this:postprocess(model(preprocess(x)))
. - Since the two above break backward compatibility (
.mlem
files have a different structure now), we implementedmlem migrate
command that will re-write.mlem
files to adhere to new format.
Changes
- Fix broken links in README.md by @aguschin in #518
- Streamlit serving by @mike0sv in #512
- Add fastapi to
pip install mlem[streamlit]
by @aguschin in #527 - Model stages/pre/post processors prototype by @mike0sv in #485
- Find correct package names by @aguschin in #525
- Migrations (for 0.4.0) by @mike0sv in #515
- Fixes for blogposts by @mike0sv in #531
- importlib_metadata dependency by @mike0sv in #534
Full Changelog: 0.3.2...0.4.0