瀏覽代碼

update variables

Hamid Shojanazeri 1 年之前
父節點
當前提交
22e566b763
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tutorials/chatbot/data_pipelines/config.yaml

+ 3 - 3
tutorials/chatbot/data_pipelines/config.yaml

@@ -1,9 +1,9 @@
-question_generator: >
+question_prompt_template: >
   You are a quiz expert, you will be provided with a document,
   read it and generate question and answer pairs
   that are most likely be asked by a use of llama that just want to start, 
   please make sure you follow those rules,
-  1. Generate only {num_data} question answer pairs.
+  1. Generate only {total_questions} question answer pairs.
   2. Generate in {language}.
   3. The questions can be answered based *solely* on the given passage. 
   4. Avoid asking questions with similar meaning.
@@ -26,4 +26,4 @@ data_dir: "./data"
 
 language: "English"
 
-num_data_default: 2
+total_questions: 2