Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
repo_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
# Supervised game: Run DVC repro
dvc repro benchmark/supervised/local/dvc.yaml
dvc repro benchmark/supervised/local/dvc.yaml --single-item

# Zero-shot game: Run DVC repro
dvc repro benchmark/zero_shot/local/dvc.yaml
dvc repro benchmark/zero_shot/local/dvc.yaml --single-item

# Create report with metrics
# Pick one supervised model
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,19 @@ for dataset in datasets:

You can benchmark a group of supervised models:
```shell
dvc repro benchmark/supervised/local/dvc.yaml
dvc repro benchmark/supervised/local/dvc.yaml --single-item
```

#### Zero-shot

You can benchmark a group of zero-shot models:
```shell
dvc repro benchmark/zero_shot/local/dvc.yaml
dvc repro benchmark/zero_shot/local/dvc.yaml --single-item
```

> [!NOTE]
> Based on https://dvc.org/doc/command-reference/repro#-s, `--single-item` turns off the recursive search for all `dvc.yaml` changed dependencies. Only the current executed `dvc.yaml` will be searched.

### AWS environment

There are two environments in which to run benchmark: one is the local environment, the other is the AWS environment.
Expand Down Expand Up @@ -84,12 +87,12 @@ The difference of the AWS environment is that:

You can benchmark a group of supervised models:
```shell
AWS_ACCOUNT_ID=xxx AWS_PROFILE=yyy dvc repro benchmark/supervised/aws/dvc.yaml
AWS_ACCOUNT_ID=xxx AWS_PROFILE=yyy dvc repro benchmark/supervised/aws/dvc.yaml --single-item
```

#### Zero-shot

You can benchmark a group of zero-shot models:
```shell
AWS_ACCOUNT_ID=xxx AWS_PROFILE=yyy dvc repro benchmark/zero_shot/aws/dvc.yaml
AWS_ACCOUNT_ID=xxx AWS_PROFILE=yyy dvc repro benchmark/zero_shot/aws/dvc.yaml --single-item
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ aws:
instance_type: "ml.m5.xlarge"
volume_size: 5

git:
git_cache_bust: 1

source:
datasets_dir: ../../../datasets
models_dir: ../../../models

destination:
output_dir: output
metric_dir: metric
output:
prediction: output
metric: metric
195 changes: 0 additions & 195 deletions benchmark/supervised/aws/dvc.lock

This file was deleted.

Loading