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
exp = dm.Experiment(id='gpt2-3', base_path='runs', meta={
'model': 'gpt2',
'batch_size': 128
})
exp.log('loss', value=loss, step=step)
exp.log('accuracy', value=acc, step=step)
fig, ax = exp.plot('loss')
fig2, ax2 = exp.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 Distribution
demetric-0.1.2.tar.gz
(3.2 kB
view hashes)