/forc

Framework for Cost-Effective Language Model Choice

Primary LanguagePythonMIT LicenseMIT

FORC

This repository contains the cost-effective framework for language model choice, described in Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modeling.

@inproceedings{šakota2024flyswat,
      title={Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modeling}, 
      author={Marija Šakota and Maxime Peyrard and Robert West},
      booktitle={Proceedings of The International ACM Conference on Web Search and Data Mining (WSDM)}
      year={2024}
}

Please consider citing our work, if you found the provided resources useful.

Setup instructions

Start by cloning the repository:

git clone https://github.com/epfl-dlab/forc.git

Environment setup

We recomment creating a new conda virtual environment:

conda env create -n forc
conda activate forc

Install the packages using:

pip install -r pip_requirements.txt

License

Distributed under the MIT License. See LICENSE for more information.