Skip to content

BorealisAI/llm-world-abs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Do LLMs Build World Representations? Probing through the Lens of State Abstraction

Setup environment

pip install -r requirements.txt

Hardware requirement: all experiments can be done with one A100 GPU.

Synthesize dataset

python llm_world_abs/src/{gripper, cook}/syndata/generate_dataset.py

Fine-tuning LLMs

sh llm_world_abs/src/{gripper, cook}/scripts/run_ft.sh

Training and testing probing models

sh llm_world_abs/src/{gripper, cook}/scripts/run_probe.sh

Making plots

  • make sure you install latex
  • check viz/make_plots.ipynb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published