Setup AiTown with Pinokio and run with your own models

  • Download pinokio and Setup AiTown
cd $HOME/pinokio/api/aitown.git/app
eval "$(conda shell.bash hook)" && conda deactivate && conda deactivate && conda deactivate && conda activate $HOME/pinokio/api/aitown.git/app/node18
  • Shell 1:
./convex-local-backend
  • Shell 2:
npm run dev
  • Switch model

First backup Llama3

ollama cp llama3:latest llama3-backup:latest

Switch model

ollama rm llama3:latest; ollama cp openhermes:latest llama3:latest

Restore llama3 from backup

ollama rm llama3:latest; ollama cp llama3-backup:latest llama3:latest

Verify

ollama list