OliveSensorAPI/datasets/processed/Book_QA_Process.md
2024-05-09 02:18:07 +08:00

604 B
Executable File
Raw Blame History

Book_QA_process

共两个python文件分别为Book_QA_process_Step_1.py和Book_QA_process_Step_2.py

Book_QA_process_Step_1.py

  • 该代码是将我们生成的QA对jsonl数据转换为json格式

Book_QA_process_Step_2.py

  • 该代码是将第一步生成的json格式数据转化为可用于指令微调的数据格式并添加system

      {
          "conversation": [
              {
                  "system": "你由EmoLLM团队打造的心理健康助手......",
                  "input": "Question",
                  "output": "Answer"
              }
          ]
      }