/IGE

Primary LanguagePython

Game Development as Human-LLM Interaction

Our paper: https://arxiv.org/pdf/2408.09386

🚀 Overview

We introduce the Interaction-driven Game Engine (IGE) powered by LLM, which allows everyone to develop a custom game using natural language through Human-LLM interaction.

🔧 Environment

pip install -r requirements.txt

The specific environment configuration can be found in the requirements.txt file. Our experiments were conducted on a machine with 8×A800 GPUs.

📂 Data Generation

first: cd src

config openai_key: modify utils.py to config openai key

bash pipeline.sh

📘 Train

bash sft.sh
bash sft_complete.sh

📊 Eval

eval our IGE

model=IGE_complete
CUDA_VISIBLE_DEVICES=0 python do_eval_interaction.py --model $model
python evaluate_interaction.py --model $model
python evaluate_wo_script.py --model $model

eval all

config the gpus in evaluate.sh and then:

bash evaluate.sh