Your own private JavaScript chat GPT with API.
- Node <= v18
- Python >= v3.10
Download and create an executable for the model from here Alpaca 7B
After you finish with the instructions from antimatter go into the repo folder and do: npm i
Depending on what model you download you might have to go into the node_modules folder > dalai > index.js
and change this line:
let e = await exists(path.resolve(modelsPath, modelFolder, 'ggml-model-q4_0.bin'))
Go wild.