forked from p04798526/LLaMA-Factory-Mirror
Update supervised.py
This commit is contained in:
parent
8cecade708
commit
788e8232fc
|
@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Tuple
|
||||||
|
|
||||||
from ...extras.constants import IGNORE_INDEX
|
from ...extras.constants import IGNORE_INDEX
|
||||||
from ...extras.logging import get_logger
|
from ...extras.logging import get_logger
|
||||||
from .mm_utils import get_paligemma_token_type_ids, get_pixel_values, greedy_knapsack
|
from .mm_utils import get_paligemma_token_type_ids, get_pixel_values
|
||||||
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
|
Loading…
Reference in New Issue