Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

CakeChat v1.3

Compare
Choose a tag to compare
@nicolas-ivanov nicolas-ivanov released this 30 Jul 12:42
· 12 commits to master since this release
d231b03

Two functions updated:

  • save_model preserves parameters' names while saving their values to a dump
  • load_weights restores saved weight separately for each model's parameter

Thus you can initialize all or some of your model's parameters with weights that could come from a model with different architecture. Your model's parameter will be initialized with a saved value if the parameter's name and shape are the same as for the saved parameter. Otherwise it will keep its default initialization weights.