Dear Jack, thank you for such a wonderful job! I have a small question, when you have time to answer, about getting metrics for corrector models. So, the code below works great for inversion models:
I added paths and arguments of inversion and corrector models into CHECKPOINT_FOLDERS_DICT and ARGS_DICT correspondingly. However, when I am trying to estimate my custom corrector model, the code fails, since corrector model has no attribute "call_embedding_model": assert hasattr(model, "call_embedding_model"). This code executes since I want to use frozen embeddings and has self.model_args.use_frozen_embeddings_as_input = True. When I set this flag to False, everything works. Is it some kind of a small bug or I am doing something wrong?
Thanks in any case!
Best Regards, Viktoriia Zinkovich.
Dear Jack, thank you for such a wonderful job! I have a small question, when you have time to answer, about getting metrics for corrector models. So, the code below works great for inversion models:
I added paths and arguments of inversion and corrector models into
CHECKPOINT_FOLDERS_DICT
andARGS_DICT
correspondingly. However, when I am trying to estimate my custom corrector model, the code fails, since corrector model has no attribute "call_embedding_model":assert hasattr(model, "call_embedding_model")
. This code executes since I want to use frozen embeddings and hasself.model_args.use_frozen_embeddings_as_input = True
. When I set this flag toFalse
, everything works. Is it some kind of a small bug or I am doing something wrong?Thanks in any case! Best Regards, Viktoriia Zinkovich.