Skip to content

Commit

Permalink
Update OFA to compat with latest huggingface.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzr1996 committed Oct 11, 2023
1 parent 3bcf7e2 commit b0a792e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmpretrain/models/multimodal/ofa/ofa_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b0a792e

Please sign in to comment.