训练文本生成
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
437 B

2 years ago
from .common import (
load_pretrained,
prepare_args,
prepare_data,
preprocess_data
)
from .data_collator import DataCollatorForLLaMA
from .seq2seq import ComputeMetrics, Seq2SeqTrainerForLLaMA
from .pairwise import PairwiseDataCollatorForLLaMA, PairwiseTrainerForLLaMA
from .ppo import PPOTrainerForLLaMA
from .config import ModelArguments
from .other import auto_configure_device_map, get_logits_processor, plot_loss