Skip to content

Commit

Permalink
add input for model type
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum committed Sep 15, 2023
1 parent 477f01c commit 2b0d08e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: train

on: [workflow_dispatch]
on:
workflow_dispatch:
inputs:
model:
type: choice
description: Model type to train
default: 'small'
options:
- full
- small

permissions:
id-token: write
Expand Down Expand Up @@ -37,5 +46,5 @@ jobs:
run: |
pip install --upgrade -r requirements.txt
dvc exp run --pull --allow-missing -S model=full
dvc exp run --pull --allow-missing -S model=${{ github.event.inputs.model }}
dvc exp push -v --rev HEAD origin

0 comments on commit 2b0d08e

Please sign in to comment.