niuyazhe commited on
Commit
70e43e8
1 Parent(s): 0be3b23

polish(nyz): polish level2%4 questions

Browse files
llmriddles/questions/level2.py CHANGED
@@ -6,10 +6,10 @@ import sympy
6
  from .question import register_question
7
 
8
  CN_TEXT_1 = """
9
- 你需要提出一个字数是质数的问题,使回答的长度刚好是它的下一个质数。
10
  """
11
  EN_TEXT_1 = """
12
- You need to come up with a question that has a prime number of words, so the answer's length is exactly the next prime number.
13
  """
14
 
15
 
@@ -63,10 +63,10 @@ register_question({
63
  })
64
 
65
  CN_TEXT_2 = """
66
- 请输入一个大于一的正整数作为问题,使回答里包含至少比它大一千的数。
67
  """
68
  EN_TEXT_2 = """
69
- Please enter a positive integer greater than one as a question, so that the answer contains a number that is at least one thousand more than it.
70
  """
71
 
72
 
@@ -111,10 +111,10 @@ register_question({
111
  })
112
 
113
  CN_TEXT_3 = """
114
- 请输入一个大于一的正整数作为问题,使回答里包含至少10个不同的至少比它小一千的自然数。
115
  """
116
  EN_TEXT_3 = """
117
- Please enter a positive integer greater than one as a question, so that the answer contains at least 10 different natural numbers, each of them at least 1000 less than the question.
118
  """
119
 
120
 
@@ -170,10 +170,10 @@ register_question({
170
  })
171
 
172
  CN_TEXT_4 = """
173
- 请在不提及1,4,5这三个字符的情况下让模型回答114514,不要有多余的字符。
174
  """
175
  EN_TEXT_4 = """
176
- Please make the model answer "114514" without mentioning the characters 1, 4, and 5, and without any extra characters.
177
  """
178
 
179
 
@@ -200,10 +200,10 @@ register_question({
200
  })
201
 
202
  CN_TEXT_5 = """
203
- 请输入一个大于一的平方数作为问题,使回答里包含它的平方根对应的数。
204
  """
205
  EN_TEXT_5 = """
206
- Please provide a square number greater than one as the question, and the answer should include the number corresponding to its square root.
207
  """
208
 
209
 
@@ -254,10 +254,10 @@ register_question({
254
  })
255
 
256
  CN_TEXT_6 = """
257
- 请提一个不包含“狗”这个字的10个字以内的问题,使回答中“狗”这个字出现的次数至少是问题字数的2倍。
258
  """
259
  EN_TEXT_6 = """
260
- Please ask a question in under 10 words without the word "dog" and ensure that the word "dog" appears at least twice in the answer for each word in the question.
261
  """
262
 
263
 
 
6
  from .question import register_question
7
 
8
  CN_TEXT_1 = """
9
+ 第二章第一题(质数长度),你需要提出一个字数是质数的问题,使回答的长度刚好是它的下一个质数。
10
  """
11
  EN_TEXT_1 = """
12
+ For the first question in chapter 2, You need to come up with a question that has a prime number of words, so the answer's length is exactly the next prime number.
13
  """
14
 
15
 
 
63
  })
64
 
65
  CN_TEXT_2 = """
66
+ 第二章第二题(越说越大),请输入一个大于一的正整数作为问题,使回答里包含至少比它大一千的数。
67
  """
68
  EN_TEXT_2 = """
69
+ For the second question in chapter 2, Please enter a positive integer greater than one as a question, so that the answer contains a number that is at least one thousand more than it.
70
  """
71
 
72
 
 
111
  })
112
 
113
  CN_TEXT_3 = """
114
+ 第二章第三题(越说越小),请输入一个大于一的正整数作为问题,使回答里包含至少10个不同的至少比它小一千的自然数。
115
  """
116
  EN_TEXT_3 = """
117
+ For the third question in chapter 2, Please enter a positive integer greater than one as a question, so that the answer contains at least 10 different natural numbers, each of them at least 1000 less than the question.
118
  """
119
 
120
 
 
170
  })
171
 
172
  CN_TEXT_4 = """
173
+ 第二章第四题(警世名言),请在不提及1,4,5这三个字符的情况下让模型回答114514,不要有多余的字符。
174
  """
175
  EN_TEXT_4 = """
176
+ For the fourth question in chapter 2, Please make the model answer "114514" without mentioning the characters 1, 4, and 5, and without any extra characters.
177
  """
178
 
179
 
 
200
  })
201
 
202
  CN_TEXT_5 = """
203
+ 第二章第五题(开平方数),请输入一个大于一的平方数作为问题,使回答里包含它的平方根对应的数。
204
  """
205
  EN_TEXT_5 = """
206
+ For the fifth question in chapter 2, Please provide a square number greater than one as the question, and the answer should include the number corresponding to its square root.
207
  """
208
 
209
 
 
254
  })
255
 
256
  CN_TEXT_6 = """
257
+ 第二章第六题(得寸进狗),请提一个不包含“狗”这个字的10个字以内的问题,使回答中“狗”这个字出现的次数至少是问题字数的2倍。
258
  """
259
  EN_TEXT_6 = """
260
+ For the sixth question in chapter 2, Please ask a question in under 10 words without the word "dog" and ensure that the word "dog" appears at least twice in the answer for each word in the question.
261
  """
262
 
263
 
llmriddles/questions/level4.py CHANGED
@@ -65,13 +65,13 @@ def get_all_numbers_in_a_sentence(text: str):
65
 
66
 
67
  CN_TEXT_3 = """
68
- 第四章第三题(自然之密),请输入一个大于一的正整数作为问题,使回答里包含和它刚好相差1的数。
69
 
70
  请在下面的输入框内填写你构造并点击按钮提交。
71
  """
72
 
73
  EN_TEXT_3 = """
74
- For the third question in chapter 4, please enter a positive integer greater than one as the question so that the answer contains a number that is exactly 1 different from it.
75
 
76
  Please enter your query below and click the submit button
77
  """
 
65
 
66
 
67
  CN_TEXT_3 = """
68
+ 第四章第一题(自然之密),请输入一个大于一的正整数作为问题,使回答里包含和它刚好相差1的数。
69
 
70
  请在下面的输入框内填写你构造并点击按钮提交。
71
  """
72
 
73
  EN_TEXT_3 = """
74
+ For the first question in chapter 4, please enter a positive integer greater than one as the question so that the answer contains a number that is exactly 1 different from it.
75
 
76
  Please enter your query below and click the submit button
77
  """