- 2023-10-18: Initial draft
- 0xSage
Proposed
There are a few issues with our current model installation method (hardcoding jsons in /models repo):
- Users want to add their own model binaries
- Maintaining /models is too manual
Let Users download models on their own & manually import them to Jan via a "add a model" UI
Links:
- Github issue: janhq#359
- Related issue: janhq#304
- Designs: https://www.figma.com/file/JdK7cNIBeVdYeHxKiYeWtk/JAN---Web?type=design&node-id=4092-58218&mode=design&t=8OmFSG0E6I8Y3IjY-0
Closed alternate solutions:
Thinking through the model selection experience, there are a few possibilities:
- [current] We hardcode models (via Github) to show up in Explore Models => unnecessarily manual, missing models users want
- We mirror HF models for a faster download => users can also do nitro add llama2
- [CHOSEN] Users download models on their own & manually import them to Jan via a "add a model" UI => I like this option actually
- [LATER] Users paste in a HF link and download the model in Explore Models => do we still render model cards for them?
- Users manage their own models folder, e.g. /Users/nicole/models, then they set folder path in Jan. => this one needs a lot of designs/fe work