Spaces:
Paused
Paused
Update llm.py
Browse files
llm.py
CHANGED
@@ -25,6 +25,8 @@ model = HuggingFacePipeline.from_model_id(
|
|
25 |
"repetition_penalty":1.25, "max_new_tokens": 2000},
|
26 |
)
|
27 |
|
|
|
|
|
28 |
prompts = {
|
29 |
"t1": """
|
30 |
Based on the context, please choose six words and generate six multiple-choice questions for each word in a single JSON array. Each question must have exactly four options, and each option should be a 1 or 2-word phrase. Do not provide any code; just give me the questions and answers in the specified structure.
|
|
|
25 |
"repetition_penalty":1.25, "max_new_tokens": 2000},
|
26 |
)
|
27 |
|
28 |
+
print(model("if 2x = 4 + 10 what will be x"))
|
29 |
+
|
30 |
prompts = {
|
31 |
"t1": """
|
32 |
Based on the context, please choose six words and generate six multiple-choice questions for each word in a single JSON array. Each question must have exactly four options, and each option should be a 1 or 2-word phrase. Do not provide any code; just give me the questions and answers in the specified structure.
|