Loading a Model Checkpoint with Its Configuration

A checkpoint can record parameters or a fuller training state. The required configuration depends on whether the next operation is scoring or resuming training.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a vocabulary mismatch
  2. Verify a known result

Trace a vocabulary mismatch

The same learned embedding rows can mean different things with a changed token-ID mapping. Include that mapping or a compatible version identifier. See embedding row lookups.

Verify a known result

After loading, run a fixed synthetic input and compare the expected score under the intended evaluation mode. Versioned evaluation describes why this evidence needs the artifact identity.[1]

References

  1. Ian Goodfellow, Yoshua Bengio and Aaron Courville, Deep Learning ↩