freedomgpt
v1.1.2
Published
Our goal is to illustrate that AI Safety cannot be achieved through censorship. Let information flow freely, no matter how discomforting - because the truth shall set us free.
Downloads
4
Readme
Freedom GPT
Installing Node.js for an Electron App
To run an Electron app, you'll need to have Node.js installed on your computer. If you don't already have Node.js installed, you can download it from the official website:
Once you've downloaded and installed Node.js, you can start the Electron app using either Yarn or npm.
Using Yarn
If yarn is not installed you can install with
npm install -g yarn
After you have Yarn installed, you can start the Electron app by running the following command in your terminal:
yarn install
Changing src/index.ts file
src/index.ts
Go ahead and change the CHAT_APP_LOCATION to map it to your chat executable which you can install from
Changing PORT
We are using port 3000
for the express server
you can change it in the same file
src/index.ts
ggml-alpaca-7b-q4.bin
Download the zip file corresponding to your operating system from the latest release. On Windows, download alpaca-win.zip
, on Mac (both Intel or ARM) download alpaca-mac.zip
, and on Linux (x64) download alpaca-linux.zip
.
Download ggml-alpaca-7b-q4.bin and place it in the same folder as the chat
executable in the zip file. There are several options:
Once you've downloaded the model weights and placed them into the same directory as the chat
or chat.exe
executable, run:
Running application
If you followed all the steps, you can run the program by giving the following command
yarn start