1.1.2 • Published 1 year ago

freedomgpt v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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:

Download Node.js

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

CPP File Executable Download

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