transformers icon indicating copy to clipboard operation
transformers copied to clipboard

from_pretrained callback?

Open lucasjinreal opened this issue 1 year ago • 2 comments

I have a model implement from PretrainModel, how can I set a from_pretrianed call back in my model class?

I want call some weigths re-initialize when MyModel.from_pretrained

lucasjinreal avatar Sep 17 '24 14:09 lucasjinreal

Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests. Could you ask your question on the forum instead?

Thanks!

LysandreJik avatar Sep 18 '24 14:09 LysandreJik

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Oct 18 '24 08:10 github-actions[bot]