Install FreedomGPT trial under windows

FreedomGPT

GitHub - ohmplatform/FreedomGPT: This codebase is for a React and Electron-based app that executes the FreedomGPT LLM locally (offline and private) on Mac and Windows using a chat-based interface (based on Alpaca Lora)This codebase is for a React and Electron-based app that executes the FreedomGPT LLM locally (offline and private) on Mac and Windows using a chat-based interface (based on Alpaca Lora) - GitHub - ohmplatform/FreedomGPT: This codebase is for a React and Electron-based app that executes the FreedomGPT LLM locally (offline and private) on Mac and Windows using a chat-based interface (based on Alpaca Lora)https://github.com/ohmplatform/FreedomGPT

I want to do it myself

​
git clone https://github.com/ohmplatform/FreedomGPT.git

​

then install

nodejs, nvm

Refer to the following article

How to switch nodejs version? Three steps

nvm list available

 Install the latest and activate it, open the cmd window with administrator privileges

nvm install 18.16.0
nvm use 18.16.0

install yarn 

npm install -g yarn

 

查看版本:

yarn --version
安装node.js,下载yarn的安装程序:
提供一个.msi文件,在运行时将引导您在Windows上安装Yarn
Yarn 淘宝源安装,分别复制粘贴以下代码行到黑窗口运行即可

yarn config set registry https://registry.npm.taobao.org -g 
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g

Install the package (note that yarn installl takes about half an hour, please be patient, when yarn start:prod starts to pull the model, the model is about 4G)

 

yarn install
yarn start:prod

 

 

Guess you like

Origin blog.csdn.net/babytiger/article/details/130326747