Qwen icon indicating copy to clipboard operation
Qwen copied to clipboard

💡 [Question] - 您好,请教个问题,微调多轮对话的数据格式是什么样的?如何在微调中加history?

Open micronetboy opened this issue 2 years ago • 1 comments

起始日期 | Start Date

No response

实现PR | Implementation PR

No response

相关Issues | Reference Issues

No response

摘要 | Summary

您好,请教个问题,微调多轮对话的数据格式是什么样的?如何在微调中加history?

基本示例 | Basic Example

您好,请教个问题,微调多轮对话的数据格式是什么样的?如何在微调中加history?

缺陷 | Drawbacks

您好,请教个问题,微调多轮对话的数据格式是什么样的?如何在微调中加history?

未解决问题 | Unresolved questions

No response

micronetboy avatar Dec 07 '23 06:12 micronetboy

conversations是个列表,直接往后加就行

[
  {
    "id": "identity_0",
    "conversations": [
      {
        "from": "user",
        "value": "你好"
      },
      {
        "from": "assistant",
        "value": "我是一个语言模型,我叫通义千问。"
      },
      {
        "from": "user",
        "value": "你会干什么"
      },
      {
        "from": "assistant",
        "value": "我能理解人类语言、生成内容,是你生活和工作的智能助手。"
      }
    ]
  }
]

jklj077 avatar Dec 11 '23 07:12 jklj077