eole-nlp / eole

Open language modeling toolkit based on PyTorch
https://eole-nlp.github.io/eole
MIT License
62 stars 12 forks source link

[patch] get_transforms_cls after update_config_with_checkpoint #110

Closed francoishernandez closed 2 months ago

francoishernandez commented 2 months ago

The transforms classes were initialized prior to the config update from checkpoint, preventing transparent loading of transforms from model config when finetuning.