shibing624 / MedicalGPT

MedicalGPT: Training Your Own Medical GPT Model with ChatGPT Training Pipeline. 训练医疗大模型,实现了包括增量预训练(PT)、有监督微调(SFT)、RLHF、DPO、ORPO。
Apache License 2.0
2.94k stars 451 forks source link

add max_length and max_prompt_length #367

Closed ZhuangXialie closed 2 months ago

ZhuangXialie commented 2 months ago

If you don't have a set, you can only use the default values