rename files

Former-commit-id: 74f96efef9
This commit is contained in:
hiyouga
2024-06-07 00:09:06 +08:00
parent fd2c64315b
commit 8da149ba40
43 changed files with 53 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ from trl import KTOTrainer
from trl.trainer import disable_dropout_in_model
from ...extras.constants import IGNORE_INDEX
from ..utils import create_custom_optimzer, create_custom_scheduler, get_ref_context
from ..trainer_utils import create_custom_optimzer, create_custom_scheduler, get_ref_context
if TYPE_CHECKING:

View File

@@ -5,7 +5,7 @@ from ...extras.constants import IGNORE_INDEX
from ...extras.ploting import plot_loss
from ...hparams import ModelArguments
from ...model import load_model, load_tokenizer
from ..utils import create_modelcard_and_push, create_ref_model
from ..trainer_utils import create_modelcard_and_push, create_ref_model
from .trainer import CustomKTOTrainer