Browse Source

update variables

Hamid Shojanazeri 1 year ago
parent
commit
22e566b763
1 changed files with 3 additions and 3 deletions
  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