Simple and composable metric tracking and logging for ML
Project description
Demetric
Simple and composable metric tracking and logging for ML
import demetric as dm
run = dm.Run(id='gpt2-3', base_path='runs', meta={
'model': 'gpt2',
'batch_size': 128
})
run.log('loss', value=loss, step=step)
run.log('accuracy', value=acc, step=step)
fig, ax = run.plot('loss')
fig2, ax2 = run.plot_summary()
Creates:
runs/
gpt2-3/
meta.json
metrics/
loss.csv
accuracy.csv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.