Home

Awesome

leveraging-llms-for-mcqa

Overview

This is the code for the ICLR 2023 paper "Leveraging Large Language Models for Multiple Choice Question Answering." It can be used to reproduce results in the paper and is designed to be extensible.

Setup

Running Experiments

To run experiments and reproduce the results from the paper you will use main.py.

The positional command line arguments are:

The optional command line arguments are:

Running main.py will save a pickle file with experiment results.

Analyzing Results

To analyze the results of an experiment (from its saved pickle file) you will use analyze.py. The positional and optional command line arguments are the same except for you don't need to supply the name of an API key to use. These arguments will be used to look up the saved experiment pickle file.

Other Functionality