rename files

This commit is contained in:
hiyouga committed 2024-06-07 00:09:06 +08:00
1 parent 45d8be8f93
commit 74f96efef9
43 files changed
+53 -53

No files matched your search

+1 -1
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:
+1 -1
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