Update OFA to compat with latest huggingface.

pull/1802/head
mzr1996 2023-10-11 11:11:59 +08:00
parent 3bcf7e2d6e
commit b0a792eb08
1 changed files with 1 additions and 0 deletions

View File

@ -1301,6 +1301,7 @@ class OFAEncoderDecoder(BaseModule, GenerationMixin):
Defaults to an empty dict.
init_cfg (dict, optional): The initialization config. Defaults to None.
"""
base_model_prefix = ''
def __init__(
self,