add finetune script

This commit is contained in:
pengzhendong
2025-12-24 13:49:09 +08:00
parent 2b79dffe3e
commit 78619da40c
5 changed files with 116 additions and 10 deletions

1
data/train_example.jsonl Normal file
View File

@ -0,0 +1 @@
{"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "语音转写:<|startofspeech|>!/path/to/wav<|endofspeech|>"}, {"role": "assistant", "content": "content of /path/to/wav"}], "speech_length": 42, "text_length": 42}