Open christobill opened 4 months ago
It seems this is exactly what is done in train_with_template
here: https://github.com/lm-sys/FastChat/blob/3bef934b9da68e3e9a8decee472e484cca4df1ad/fastchat/train/train_with_template.py#L238
This file was added recently by this PR: https://github.com/lm-sys/FastChat/pull/2951 by @congchan :muscle: but no documentation about it. Willing to give a hand here if needed :smiley:
It seems this is exactly what is done in
train_with_template
here:This file was added recently by this PR: #2951 by @congchan 💪 but no documentation about it. Willing to give a hand here if needed 😃
Hi, it will be great if you can help on documenting!😄
When using:
The fine-tuning is processed with the following system prompt/message: "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."
It would be interesting to specify the prompt to be used, This what it would look like, inspired by https://github.com/lm-sys/FastChat/blob/main/data/dummy_conversation.json no prompt would fallback to default prompt:
I can do a pull request for this, if this is considered an interesting feature