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 of all metrics
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.6.tar.gz
(3.8 kB
view hashes)