Read-only mirror of https://github.com/epfl-dlab/forc — EPFL Data Science & AI Lab (dlab). Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-12-12 16:58:23 +01:00
configs add files 2023-08-23 11:37:33 +02:00
scripts add files 2023-08-23 11:37:33 +02:00
src add files 2023-08-23 11:37:33 +02:00
.gitignore add files 2023-08-23 11:37:33 +02:00
LICENSE Create LICENSE 2023-10-31 12:51:23 +01:00
pip_requirements.txt add files 2023-08-23 11:37:33 +02:00
README.md Update README.md 2023-12-12 16:58:23 +01:00
run_inference.py add files 2023-08-23 11:37:33 +02:00
run_train.py add files 2023-08-23 11:37:33 +02:00

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.