ZOYKU火线榜

mkturkcan/generative-agents技术文档

Working, locally-running, low-cost implementation of Generative Agents: Interactive Simulacra of Human Behavior.

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/mkturkcan/generative-agents.git

Generative Large Language Models for Human-Like Behavior

This repository includes a working version of the type of model described in Generative Agents: Interactive Simulacra of Human Behavior.

Setup

The models are distributed as notebooks that are easy to run locally, or on Google Colab. We recommend the use of Jupyter Lab if running locally. The notebook(s) should work as-is on Google Colab.

The current version of the repository works best with 16GB VRAM, and also supports <8GB VRAM edge/personal computer environments.

How to Use

Model

The current model is a simulation of the town of Phandalin from an introductory D&D 5e adventure. This setting is chosen as it is much more free form than the simple scenario described in the original paper.

Limitations

The model, as described in the paper, requires access to a very high quality instruction model such as GPT-3. However, the model also requires many high-context queries to work, making it expensive to run. As such, in this work we use low-parameter, locally runnable models instead.

We expect that with the advent of the next generation of instruction-tuned models, the model in this repo will perform better.

Future Steps

  • Summarize agent decisions as emojis.
  • Create a family of questions to compress agent contexts better.
  • Check if the agent contexts are compressed well with an another layer of prompts.
文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-08