Skip to content

Instantly share code, notes, and snippets.

@arimbr
Last active January 30, 2020 10:51
Show Gist options
  • Select an option

  • Save arimbr/80609b549e900f5611098c10f720ee16 to your computer and use it in GitHub Desktop.

Select an option

Save arimbr/80609b549e900f5611098c10f720ee16 to your computer and use it in GitHub Desktop.
- step:
name: autotune
image: arimbr/valohai-fasttext-example
command: python cli.py classification autotune {parameters}
inputs:
- name: train
- name: validation
parameters:
- name: metric
description: metric objective {f1, f1:labelname}
type: string
default: f1
- name: k
description: number of predictions used for evaluation
type: integer
default: 1
- name: duration
description: maximum duration in seconds
type: integer
default: 1200
- name: model_size
description: constraint model file size (empty = do not quantize)
type: string
default: 2000M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment