cartman/api
2023-06-22 18:14:37 -04:00
..
src m 2023-03-02 02:12:02 -05:00
test be free 2023-02-10 09:33:49 -05:00
.dockerignore better model 2023-02-12 20:14:11 -05:00
build m 2023-03-02 02:12:02 -05:00
Dockerfile docker 2023-06-22 18:14:37 -04:00
main.py docker 2023-06-22 18:14:37 -04:00
readme.md readme 2023-02-12 21:45:21 -05:00
requirements.txt better model 2023-02-12 20:14:11 -05:00
run use ensurepip to ensure pip 2023-05-04 18:11:40 -04:00

Chatbots API

FastAPI and PyTorch

To build one yourself you'll need to first train a model, place the entire directory (checkpoints aren't needed) containing pytorch_model.bin in bots, then edit or duplicate cartman.py.

Cartman Docker images are availible for x86_64 (1.6GB) and aarch64 (1.4GB)

See run and test to interact with it

Live demo here