- Create a virutalenv:
python -m venv .venv
- Activate the virtualenv:
source .venv/bin/activate
- Install modelbench and huggingface plugins:
pip install modelbench modelgauge-huggingface
- Install this package:
pip install -e .
- Ensure your configuration file has appropriate keys: https://github.com/mlcommons/modelbench?tab=readme-ov-file#trying-it-out
- Run modelbench with new SUT:
modelbench benchmark -s openai-gpt -m 10
- Clone ModelBench:
git clone git@github.com:mlcommons/modelbench.git
- Install ModelBench: https://github.com/mlcommons/modelbench?tab=readme-ov-file#installation
- Install huggingface plugin:
poetry add modelgauge-huggingface
- Ensure your configuration file has appropriate keys: https://github.com/mlcommons/modelbench?tab=readme-ov-file#trying-it-out
- Copy this repo's
modelgauge
directory into ModelBench'ssrc
directory. - Run ModelBench from the
modelbench
repository:poetry run modelbench benchmark -s openai-gpt -m 10
- Clone ModelBench:
git clone git@github.com:mlcommons/modelbench.git
- Install ModelBench: https://github.com/mlcommons/modelbench?tab=readme-ov-file#installation
- Install huggingface plugin and this package:
poetry add git+ssh://git@github.com:dhosterman/simplest-modelbench-sut.git modelgauge-huggingface
- Ensure your configuration file has appropriate keys: https://github.com/mlcommons/modelbench?tab=readme-ov-file#trying-it-out
- Run ModelBench from the
modelbench
repository:poetry run modelbench benchmark -s openai-gpt -m 10