Skip to content

Commit 6f696b6

Browse files
authored
Merge pull request #70 from mlcommons/parameterize-col-names
Parameterize column names
2 parents 149cb5e + 81f9169 commit 6f696b6

File tree

10 files changed

+326
-410
lines changed

10 files changed

+326
-410
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ jobs:
3838
run: |
3939
poetry env remove python || true
4040
41-
# TODO: get rid of the POETRY_INSTALLER_MAX_WORKERS env var once we get rid of plugins
4241
- name: Install dependencies
4342
run: |
4443
poetry cache clear --no-interaction --all .
45-
POETRY_INSTALLER_MAX_WORKERS=1 poetry install --with test --no-cache
44+
poetry install --with test --no-cache
4645
4746
- name: Run all tests
4847
run: MLFLOW_TRACKING_URI=http://localhost:8080 poetry run pytest

flightpaths/Annotator Development Template.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"source": [
148148
"## Run the model\n",
149149
"\n",
150-
"This step will get responses to the prompts from the given SUT.\n",
150+
"This step will get responses to the prompts from the given SUT. You can optionally pass arguments `prompt_uid_col` and `prompt_text_col` if your prompts dataset has different column names than the default ones.\n",
151151
"\n",
152152
"Save this run_id to avoid having to re-run the model later. The results are saved as an artifact in mlflow.\n",
153153
"\n",

poetry.lock

Lines changed: 14 additions & 207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages = [
1313
python = ">=3.10,!=3.12.5,<3.13"
1414
click = "^8"
1515
dvc = {extras = ["gs"], version = "^3.60"}
16-
modelbench = {git = "https://github.com/mlcommons/modelbench.git", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
16+
modelbench = {git = "https://github.com/mlcommons/modelbench.git", rev = "a71a902ef2e503569696ea76d56ac40fad9ee97b" }
1717
mlflow = "^3.1.1"
1818
python-dotenv = "^1"
1919
requests = "^2"
@@ -25,18 +25,7 @@ jupyter = "^1"
2525
jupyterlab-git = "*"
2626
scikit-learn = "^1.5.0"
2727
pandas = "^2.2.2"
28-
# plugins (would like to figure out a better way to manage these)
29-
modelgauge_anthropic = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/anthropic", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
30-
modelgauge-azure = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/azure", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
31-
modelgauge_baseten = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/baseten", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
32-
modelgauge_demo_plugin = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "demo_plugin", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
33-
modelgauge_nvidia = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/nvidia", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
34-
modelgauge_perspective_api = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/perspective_api", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
35-
modelgauge_google = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/google", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
36-
modelgauge_vertexai = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/vertexai", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
37-
modelgauge_mistral = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/mistral", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
38-
modelgauge_amazon = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/amazon", rev = "ba582ed35a58cf6219786624c83e6915a9bcf98a" }
39-
modelbench-private = { git = "[email protected]:mlcommons/modelbench-private.git", rev = "ecac4cfd343411c8011c0bba875d638fc22e9478", optional = true }
28+
modelbench-private = { git = "[email protected]:mlcommons/modelbench-private.git", rev = "c1e4f214f8a4ac3466a8a428a668e7847c94ee4d", optional = true }
4029

4130
[tool.poetry.extras]
4231
modelbench-private = ["modelbench-private"]

0 commit comments

Comments
 (0)