|  | 
| 1 | 1 | defs: | 
| 2 | 2 |   teacher_sys_prompt: You are a very knowledgeable AI Assistant that will faithfully assist the user with their task. | 
| 3 |  | -  teacher_model: replicate/ibm-granite/granite-3.1-8b-instruct | 
|  | 3 | +  teacher_model: ollama_chat/granite3.2:8b | 
| 4 | 4 |   teacher_template: | 
| 5 | 5 |     function: | 
| 6 | 6 |       sys_prompt: str | 
| @@ -29,13 +29,13 @@ defs: | 
| 29 | 29 |           * The questions should not be template-based or generic, it should be very diverse. | 
| 30 | 30 |           * Simply return the questions, do not return any answers or explanations. | 
| 31 | 31 |           * Strictly adhere to the prompt and generate responses in the same style and format as the example. | 
| 32 |  | -          Use this format to generate the questions:  | 
| 33 |  | -          ### Question 1:  | 
|  | 32 | +          Use this format to generate the questions: | 
|  | 33 | +          ### Question 1: | 
| 34 | 34 |         examples: | | 
| 35 | 35 |           To better assist you with this task, here is an example: | 
| 36 | 36 |           ### Question 1: ${icl_question} | 
| 37 | 37 |         generation: | | 
| 38 |  | -          Now generate ${num_samples} such questions, remember to follow the principles mentioned above and use the same format as the examples. Remember to use the same style and format as the example above.  | 
|  | 38 | +          Now generate ${num_samples} such questions, remember to follow the principles mentioned above and use the same format as the examples. Remember to use the same style and format as the example above. | 
| 39 | 39 |         max_new_tokens: 10000 | 
| 40 | 40 | 
 | 
| 41 | 41 |   gen_questions_freeform_inner: | 
| @@ -203,7 +203,7 @@ defs: | 
| 203 | 203 |     spec: {introduction: str, principles: str, examples: str, generation: str, max_new_tokens: int, additional_stop_tokens: [str]} | 
| 204 | 204 |     return: | 
| 205 | 205 |       data: | 
| 206 |  | -        introduction: Your task is to faithfully follow the user's prompt and generate a response.  | 
|  | 206 | +        introduction: Your task is to faithfully follow the user's prompt and generate a response. | 
| 207 | 207 |         principles: | | 
| 208 | 208 |           Please follow these guiding principles when generating responses: | 
| 209 | 209 |           * Use proper grammar and punctuation. | 
| @@ -299,7 +299,7 @@ defs: | 
| 299 | 299 |         introduction: | | 
| 300 | 300 |           Please act as an impartial judge and evaluate the quality of the answer provided by an AI assistant to the questions displayed below. Evaluate whether or not the answer is a good example of how AI Assistant should respond to the user's instruction. Please assign a score using the following 3-point scale. | 
| 301 | 301 |         principles: | | 
| 302 |  | -          1: It means the answer is incorrect, irrelevant, unsafe or provides incomplete and garbage information. For instance, the answer may be factually wrong, off-topic, or filled with irrelevant content that doesn't address the user's question or it could be incomplete and hanging. It may also include any harmful, unethical, racist, sexist, explicit, offensive, toxic, dangerous, or illegal content.   | 
|  | 302 | +          1: It means the answer is incorrect, irrelevant, unsafe or provides incomplete and garbage information. For instance, the answer may be factually wrong, off-topic, or filled with irrelevant content that doesn't address the user's question or it could be incomplete and hanging. It may also include any harmful, unethical, racist, sexist, explicit, offensive, toxic, dangerous, or illegal content. | 
| 303 | 303 | 
 | 
| 304 | 304 |           2: It means the answer provides the correct answer, but it is brief and to the point without explanations. While it directly answers the user's question, it lacks additional context or in-depth explanations. | 
| 305 | 305 | 
 | 
| @@ -401,7 +401,7 @@ text: | 
| 401 | 401 | - def: qa_pairs | 
| 402 | 402 |   call: ${gen_answers} | 
| 403 | 403 |   args: | 
| 404 |  | -    questions: ${filtered_questions}  | 
|  | 404 | +    questions: ${filtered_questions} | 
| 405 | 405 | - "\n\n----- Filtering QA pairs -----\n\n" | 
| 406 | 406 | - call: ${filter_question_answer_pair} | 
| 407 | 407 |   args: | 
|  | 
0 commit comments