Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 860 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 860 Bytes

genai-gamelist

genai-gamelist is a Command Line tool for creating retropie gamelist.xml and game resources using llama2 and stable diffusion.

Local Development

Setup

  1. clone this repo
  2. install nodejs 18.x
  3. npm install
  4. optional compile node-llama-cpp for CUDA
  5. download meta's llama2 LLM
  6. convert llama2's to gguf file using llama-cpp

Building

npm run format
npm run build

Running

node dist/index.js \
    --modelPath <modelPath> \
    --inputDir <inputDir> \
    --outDir <outDir>

Debugging

A vscode debugging file is pushed with this repo. The Launch Program profile will launch the cli with default switches and allow you to debug the cli.