A common repo of the MATS 3.0 stream on Aligning Language Models
Note: I couldn't get
tensorflow-text
, a dependency of BIG-Bench, to build on an Apple Silicon Mac. It's possible but takes a bit more time, so I suggest not using an Apple Silicon Mac for this project if you can. If you come up with a way to make it work, please share! This issue is a good place to start.
- Install via pip:
pip install -e .
- Create an
.env
file with your OpenAI API key to use it in scripts (see.env.example
for inspiration).
Below is an example of running three gpt3 models on the emoji-movie
and temporal-sequences
tasks, storing the results in JSON files in results/test_run/emoji_movie
etc.
python src/main.py --exp-dir test_run --task-names temporal_sequences emoji_movie --models ada babbage curie