rome

(โ˜… 775)

Locating and editing factual associations in GPT (NeurIPS 2022)

  • .gitattributes
  • .gitignore
  • CITATION.cff
  • globals.yml
  • LICENSE
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/kmeng01/rome

Downloads the entire project code from GitHub to your computer.

cd rome

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
python -m rome.layer_stats --layer_num=17 --model_name=gpt2-xl

Runs the Python script (or module).

python -m rome.layer_stats --layer_num=10 --model_name=EleutherAI/gpt-j-6B

Runs the Python script (or module).

python3 -m experiments.evaluate \

Runs the Python script (or module).

python3 -m experiments.summarize --dir_name=ROME --runs=run_<run_id>

Runs the Python script (or module).

python3 -m experiments.summarize --dir_name=X --runs=run_<run_id>

Runs the Python script (or module).

โœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation