30 lines
1.1 KiB
Python
30 lines
1.1 KiB
Python
# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you smay not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
from ..transformers.dpo_criterion import AutoDPOCriterion, DPOCriterion
|
|
from ..transformers.kto_criterion import KTOCriterion
|
|
from .dislora_trainer import *
|
|
from .dpo_auto_trainer import DPOAutoTrainer
|
|
from .dpo_trainer import DPOTrainer
|
|
from .embedding_trainer import EmbeddingTrainer
|
|
from .kto_trainer import KTOTrainer
|
|
from .model_config import *
|
|
from .quant_config import *
|
|
from .sft_auto_trainer import *
|
|
from .sft_config import *
|
|
from .sft_trainer import *
|
|
from .sftdata_config import *
|
|
from .trl_data import *
|
|
from .trl_utils import *
|