Skip to content

Commit

Permalink
Fix format (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix authored Jan 31, 2024
1 parent 788e458 commit 0ca9447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum/intel/ipex/modeling_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import logging
import os
from functools import wraps
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import Optional, Tuple, Union
Expand Down Expand Up @@ -290,7 +289,8 @@ class IPEXModelForQuestionAnswering(IPEXModel):
auto_model_class = AutoModelForQuestionAnswering
export_feature = "question-answering"

def forward(self,
def forward(
self,
input_ids: torch.Tensor,
attention_mask: torch.Tensor,
token_type_ids: torch.Tensor = None,
Expand Down

0 comments on commit 0ca9447

Please sign in to comment.