You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code does not currently support loading from a checkpoint. To add this functionality, we would need to modify the surrogate config file by adding an extra argument, load_checkpoint.
if load_checkpoint != null:
model = load_model(load_checkpoint)
The load_checkpoint argument contains the name of the checkpoint which will be downloaded from HuggingFace.
The text was updated successfully, but these errors were encountered:
@surana01
Please also update the readme with the required config changes necessary to load a checkpont.
Along with an example of how to use a checkpoint model for inference only.
The code does not currently support loading from a checkpoint. To add this functionality, we would need to modify the surrogate config file by adding an extra argument,
load_checkpoint.
The
load_checkpoint
argument contains the name of the checkpoint which will be downloaded from HuggingFace.The text was updated successfully, but these errors were encountered: