Dual-Contrastive-Learning icon indicating copy to clipboard operation
Dual-Contrastive-Learning copied to clipboard

Problem when saving the model !

Open SoDehghan opened this issue 1 year ago • 0 comments

Hi, thank you for your exciting work. When I want to save model get this error: Transformer object has no "save_pretrained"

How to save the model after we train it with your code? In fact, I want to save the model and upload it in Huggingface so that I can load and use it later.

SoDehghan avatar Aug 02 '23 07:08 SoDehghan