Coder Social home page Coder Social logo

intelligent-go-explore's Introduction

Intelligent Go-Explore

arXiv Website Twitter

Intelligent Go-Explore (IGE) integrates the intelligence and internalized human notions of interestingness from giant pretrained foundation models into all stages of the Go-Explore algorithm, enabling foundation model agents to robustly explore in complex environments.

Intelligent Go-Explore: Standing on the Shoulders of Giant Foundation Models; Cong Lu, Shengran Hu, Jeff Clune.

View on arXiv

Setup

To install, clone the repository and run the following:

conda create -n ige python=3.11
conda activate ige
pip install -r requirements.txt

# BabyAI-Text Instructions
git clone https://github.com/flowersteam/Grounding_LLMs_with_online_RL.git
cd Grounding_LLMs_with_online_RL
pip install blosc; cd babyai-text/babyai; pip install -e .; cd ..
cd gym-minigrid; pip install -e.; cd ..
pip install -e .

# TextWorld Instructions (see https://github.com/microsoft/TextWorld for system libraries)
pip install textworld

Running Instructions

Notes

  • Each environment is one clean file, containing the environment, IGE, baselines, and prompts.
  • By default, all runs are enabled, comment out baselines that you don't want.
  • Ensure that OPENAI_API_KEY is set in the environment variables.
  • To add a new environment or domain: we recommend cloning a run.py file, ensuring the random agent baseline works without problem (no FM needed), and then moving onto IGE.

Game of 24

python3 game_of_24/run.py

BabyAI-Text

python3 babyai/run.py

TextWorld

# Run Coin Collector
python3 textworld/run_coin.py

# Run The Cooking Game
python3 textworld/run_cooking.py

# Run Treasure Hunter
python3 textworld/run_treasure.py

N.B. In order to generate the game files we used in TextWorld found in tw_games, we used the text_world/misc/make_*.py scripts.

Citation

If you find this project useful, please consider citing:

@article{lu2024IntelligentGoExplore,
title={{Intelligent Go-Explore}: Standing on the Shoulders of Giant Foundation Models},
author={Lu, Cong, and Hu, Shengran and Clune, Jeff},
journal={arXiv preprint arXiv:2405.15143},
year={2024}
}

Contact

Please contact Cong Lu for any queries.

intelligent-go-explore's People

Contributors

conglu1997 avatar

Stargazers

Reza Sayar avatar Ünver Çiftçi avatar Jonathan Zamora avatar Marshall Wang avatar  avatar Shyam Sudhakaran avatar shadow_of_ged avatar Corentin avatar Quentin Gallouédec avatar Jens Tuyls avatar  avatar Evan avatar Gibran Iqbal avatar Iron-Bound avatar Jose Cohenca avatar Bander Alsulami avatar  avatar Chentan avatar  avatar  avatar  avatar Markus Rauhalahti avatar  avatar  avatar  avatar  avatar Gil Klein avatar  avatar Bartek Cupiał avatar Sai Vemprala avatar 爱可可-爱生活 avatar lucas avatar Evolutionary-Intelligence avatar Rui Shao avatar Shun Kakinoki avatar Surya Dantuluri avatar Martin Salo avatar Josh Barber avatar Andrew Zhao avatar Shengran Hu avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

codeaudit

intelligent-go-explore's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.