Open CrazyBoyM opened 2 months ago
+1
+1
hi, currently, due to some limitations, we may not release the training code. But you can refer to: https://github.com/Lightning-AI/litgpt/blob/main/litgpt/pretrain.py, we modify training code based on this.
hi, currently, due to some limitations, we may not release the training code. But you can refer to: https://github.com/Lightning-AI/litgpt/blob/main/litgpt/pretrain.py, we modify training code based on this.
Hi @mini-omni ,Thanks for your information, it's really important for reimpl training code. May I kindly require the commit hash of litgpt which your implementation based on? since that repo has been updated these days.
For example, When I use litgpt==0.4.12, runlitgpt pretrain --config mini-omni/checkpoint/model_config.yaml
, it raise errors:
usage: litgpt [-h] [--config CONFIG] [--print_config[=flags]]
{download,chat,finetune,finetune_lora,finetune_full,finetune_adapter,finetune_adapter_v2,pretrain,generate,generate_full,generate_adapter,generate_adapter_v2,generate_sequentially,generate_tp,convert_to_litgpt,convert_from_litgpt,convert_pretrained_checkpoint,merge_lora,evaluate,serve}
...
error: Validation failed: Key "pretrain.model_name" is required but not included in config object or its value is None
I guess this is caused by the updating of litgpt source code.
+1
@vra, hi, we started from commit d367a1199a
and modified from it.And the model_config may not be compatible.
@mini-omni 感谢分享,近期在复现中有更多问题,能否麻烦您再回答一下:
@mini-omni better to release the actual training code for mini omni, it's very much helpful to expand for other languages also
@vra hi,
@vra hi,
- Train tts_adapter: tts_text_in --> tts_audio_out. asr_adapter: asr_audio_in --> asr_text_out. You can also not train tts_adapter, and use question_audio_in --> question_audio_out to train voice output capabilities in the final stage.
- The essence of stage2 is to train question_audio_in --> answer_text_out. Here, question_audio is synthesized based on question_text.
@mini-omni could you please provide the Actual training scripts using litgpt?
@miyashita-code hi, due to some limitations, we may not release the exact training code.
hi, is there any training script or doc for reproduce our great repo? thanks for your reply.