Analyzing limits for in-context learning
After cloning the repository, follow the steps below.
-
To install the dependencies, use CONDA. You may need to adjust the environment YAML file depending on your setup.
conda env create -f environment.yml conda activate in-context-learning -
You can use our trained models in
src\models\polynomial_regression -
[Optional] Or you can also train your own models. If you plan to train, populate
conf/wandb.yamlwith you wandb info.
test_over_xandy.pycontains code of tests, you can load our own pre-trained model, you can change parameters and test it for all modelstrain.pytakes as argument a configuration.yamland trains the corresponding model.- Example command :
python train.py --config src/conf/polynomial_regression.yaml