Skip to content

Repository for the paper Large Language Models in Reinforcement Learning - A Comparison of Methods

Notifications You must be signed in to change notification settings

jonatan-hanssen/in5490-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Large Language Models in Reinforcement Learning - A Comparison of Methods

Repository for the paper produced for the course IN5490.

Project paper can be found at doc/paper.pdf.

Installation

Requires python>=3.10. To install the necessary packages, do the following after cloning the repository:

$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt

You will also need the LLM model Llama2-7B-chat. To do this, you need a get an access key from Meta. This can be aquired by filling out this form. After receiving the email, run download.sh and select 7B-chat.

Quickstart

Change the parameters in src/hyperparams.json to what you want to test. Run ./start.sh ppo.py. Run python3 plot_rewards.py to see the results afterwards. You need a GPU with 24GB of VRAM.

Results

Empty

DoorKey

UnlockPickup

About

Repository for the paper Large Language Models in Reinforcement Learning - A Comparison of Methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published