Skip to content

About

Reproducing task vector papers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Task Vectors for In-Context-Learning

Reproducing In-Context Learning Creates Task Vectors by Roee Hendel, Mor Geva and Amir Globerson (2023).

Reproduce results

poetry install

Before running the script, get access to the huggingface/llama models. You'll have to request access here. Make sure to add an affiliation to your request as your request might be denied without it. You can then download the models after huggingface-cli login and providing a read access token (not a fine-grained one).

Then, reproduce the results with this command:

bash bash_scripts/main.sh

About

Reproducing task vector papers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages