News for hackers. Stuff that matters.

b10_bola

Re:Truss External Packages for Fun and Profit on Monday January 30, 2023 @06:57PM (#34588574)
Truss is a cool way to package ML models. This shows how to allow code re-use between truss's
Every time that you make a truss to package your model, you can add custom pre/post processing to every request/response. We've done our best to document it. https://truss.baseten.co/reference/structure#model https://truss.baseten.co/develop/processing

Take a look at `{truss_name}/model/model.py` to add the code.

Please open up an issue or PR if you think we can improve on the documentation!