Commit
•
d27316a
1
Parent(s):
76f6013
Update README.md
Browse files
README.md
CHANGED
@@ -150,16 +150,16 @@ stopping_criteria = ListOfTokensStoppingCriteria(tokenizer, stop_tokens)
|
|
150 |
stopping_criteria_list = StoppingCriteriaList([stopping_criteria])
|
151 |
|
152 |
|
153 |
-
|
154 |
|
155 |
#EXAMPLE #1
|
156 |
-
input_text = '''<bos><start_of_turn>system
|
157 |
You are a prompt evaluator response format json.
|
158 |
ngrams_length: "8" | cluster_length: "15".
|
159 |
lista de codigos linguisticos disponibles: ["en", "en"].<end_of_turn>
|
160 |
<start_of_turn>user
|
161 |
### |detect_prompt|:
|
162 |
-
|
163 |
<start_of_turn>model
|
164 |
'''
|
165 |
|
|
|
150 |
stopping_criteria_list = StoppingCriteriaList([stopping_criteria])
|
151 |
|
152 |
|
153 |
+
prompt="""What were the main contributions of Eratosthenes to the development of mathematics in ancient Greece?"""
|
154 |
|
155 |
#EXAMPLE #1
|
156 |
+
input_text = f'''<bos><start_of_turn>system
|
157 |
You are a prompt evaluator response format json.
|
158 |
ngrams_length: "8" | cluster_length: "15".
|
159 |
lista de codigos linguisticos disponibles: ["en", "en"].<end_of_turn>
|
160 |
<start_of_turn>user
|
161 |
### |detect_prompt|:
|
162 |
+
{prompt}<end_of_turn>
|
163 |
<start_of_turn>model
|
164 |
'''
|
165 |
|