cartman/api/readme.md

16 lines
630 B
Markdown
Raw Permalink Normal View History

2023-02-10 11:07:15 -05:00
# Chatbots API
2023-02-12 21:40:39 -05:00
[FastAPI](https://fastapi.tiangolo.com/) and [PyTorch](https://pytorch.org/)
2023-02-10 11:07:15 -05:00
2023-02-12 21:45:21 -05:00
To build one yourself you'll need to first [train a model](../train),
2023-02-12 21:40:39 -05:00
place the entire directory (checkpoints aren't needed) containing pytorch_model.bin in [bots](./src/bots),
then edit or duplicate [cartman.py](./src/bots/cartman.py).
2023-02-10 11:07:15 -05:00
2023-02-12 21:45:21 -05:00
Cartman Docker images are availible for
2023-02-12 21:40:39 -05:00
[x86_64](https://doordesk.net/files/chatbots_api_x86_64.tar.gz) (1.6GB) and
[aarch64](https://doordesk.net/files/chatbots_api_x86_64.tar.gz) (1.4GB)
2023-02-10 11:07:15 -05:00
2023-02-12 21:40:39 -05:00
See [run](./run) and [test](./test) to interact with it
Live demo [here](https://doordesk.net/cartman)