GenSim  by liruiw

Task generation via LLMs for robotic simulation

created 2 years ago
329 stars

Top 84.2% on sourcepulse

GitHubView on GitHub
Project Summary

GenSim enables the automated generation of diverse robotic simulation tasks and expert goals using large language models. It targets researchers and engineers in robotics and reinforcement learning, aiming to accelerate the creation of complex simulation environments and reduce manual effort.

How It Works

GenSim leverages a pipeline that utilizes LLMs, specifically GPT-4, to generate simulation environments and expert goals. It supports various prompting strategies, including bottom-up, top-down, and chain-of-thought generation, allowing for flexible task creation. The system can also fine-tune models like Code-LLaMA for improved performance.

Quick Start & Requirements

  • Install: pip install -r requirements.txt and python setup.py develop
  • Prerequisites: OpenAI API key (GPT-4 required for generation).
  • Setup: Requires setting GENSIM_ROOT and OPENAI_KEY environment variables.
  • Links: Project Page, Arxiv, Gradio Demo, Huggingface Dataset

Highlighted Details

  • Supports task generation via various LLM prompting techniques.
  • Includes scripts for adding, removing, and visualizing generated tasks.
  • Provides a framework for training agents, evaluating performance, and benchmarking policies.
  • Offers fine-tuning scripts for OpenAI models and Code-LLaMA.

Maintenance & Community

  • Project led by Lirui Wang.
  • Citation available for research use.
  • Bug reporting via GitHub issue tracker.

Licensing & Compatibility

  • License not explicitly stated in the README.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project relies heavily on OpenAI's API, incurring costs and potential rate limits. The effectiveness of generated tasks is dependent on the quality of prompts and the LLM's capabilities. The README does not specify the license, which may impact commercial adoption.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
8 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.