This is the offical repository for the FreedomGPT application. It is built using Electron and React and allows users to run LLM models on their local machine.
Join our Discord server to get the latest updates and to interact with the community.
git clone --recursive https://github.com/ohmplatform/FreedomGPT.git freedom-gpt
cd freedom-gpt
npx yarn installcd llama.cpp
make- Download and install CMake: https://cmake.org/download/
- Run the following commands:
cd llama.cpp
cmake .
cmake --build . --config ReleaseYou should now have a Release folder with a main.exe file inside it. You can run this file to test the chat client.
To run the app, run the following command in your terminal from the root directory of the project:
npx yarn startIf needed, ports can be changed in:
src/ports.ts
To get started, you need to install several required packages. Run the following commands:
sudo apt install nodejs
sudo apt install yarn
sudo apt install git
sudo apt install make
sudo apt install g++
sudo apt install npmNavigate to the project directory and build it:
cd freedom-gpt/llama.cpp
make
cd ..
npm install
npm run
npm startYou can manually download the Liberty Edge models and set the paths to these files from the AI Models screen.
To enable mining earnings, follow these steps:
- Download the XMRig Linux Static, CPU-only version from xmrig.com/download
- Extract the archive and copy the
xmrigbinary to thefreedom-gpt/miner/mac/fgptminerdirectory:
# Assuming you have extracted xmrig in the current directory
cp xmrig freedom-gpt/miner/mac/fgptminerThis project utilizes several open-source packages and libraries, without which this project would not have been possible:
"llama.cpp" - C++ library. https://github.com/ggerganov/llama.cpp
"LLAMA" by Facebook Research - a low-latency, large-scale approximate nearest neighbor search algorithm. https://github.com/facebookresearch/llama
"Chatbot UI" - https://github.com/mckaywrigley/chatbot-ui
We would like to express our gratitude to the developers of these packages and their contributors for making their work available to the public under open source licenses. Their contributions have enabled us to build a more robust and efficient project.
See the LICENSE file.