Skip to content

Commit

Permalink
Fix import order
Browse files Browse the repository at this point in the history
  • Loading branch information
William committed Jan 8, 2024
1 parent 3dcba56 commit c514013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapters/models/mt5/adapter_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import torch

from transformers.modeling_utils import PreTrainedModel
from transformers.models.mt5.modeling_mt5 import (
MT5_INPUTS_DOCSTRING,
MT5_START_DOCSTRING,
MT5Model,
MT5PreTrainedModel,
)
from transformers.utils import add_start_docstrings, add_start_docstrings_to_model_forward
from transformers.modeling_utils import PreTrainedModel

from ...composition import adjust_tensors_for_parallel
from ...heads import (
Expand All @@ -19,9 +19,9 @@
QuestionAnsweringHead,
Seq2SeqLMHead,
)
from ...loading import PredictionHeadLoader
from ...model_mixin import EmbeddingAdaptersWrapperMixin
from ...wrappers import init
from ...loading import PredictionHeadLoader


logger = logging.getLogger(__name__)
Expand Down

0 comments on commit c514013

Please sign in to comment.