Run LLaMA and Alpaca on your computer.
- Powered by llama.cpp, llama-dl CDN, and alpaca.cpp
- Hackable web app included
- Ships with JavaScript API
- Ships with Socket.io API
Dalai runs on all of the following operating systems:
- Linux
- Mac
- Windows
Runs on most modern computers. Unless your computer is very very old, it should work.
According to a llama.cpp discussion thread, here are the memory requirements:
- 7B => ~4 GB
- 13B => ~8 GB
- 30B => ~16 GB
- 65B => ~32 GB
Currently 7B and 13B models are available via alpaca.cpp
Alpaca comes fully quantized (compressed), and the only space you need for the 7B model is 4.21GB:
Alpaca comes fully quantized (compressed), and the only space you need for the 13B model is 8.14GB:
You need a lot of space for storing the models. The model name must be one of: 7B, 13B, 30B, and 65B.
You do NOT have to install all models, you can install one by one. Let's take a look at how much space each model takes up:
NOTE
The following numbers assume that you DO NOT touch the original model files and keep BOTH the original model files AND the quantized versions.
You can optimize this if you delete the original models (which are much larger) after installation and keep only the quantized versions.
- Full: The model takes up 31.17GB
- Quantized: 4.21GB
- Full: The model takes up 60.21GB
- Quantized: 4.07GB * 2 = 8.14GB
- Full: The model takes up 150.48GB
- Quantized: 5.09GB * 4 = 20.36GB
- Full: The model takes up 432.64GB
- Quantized: 5.11GB * 8 = 40.88GB