Update OFA to compat with latest huggingface.
parent
3bcf7e2d6e
commit
b0a792eb08
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue