Skip to content

Commit e8e185a

Browse files
fix: fix typo
1 parent 87b0cc3 commit e8e185a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

graphgen/bases/base_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ def format_generation_results(
8585
]
8686
}
8787
)
88-
)
8988
else:
9089
raise ValueError(
9190
f"Unknown output data format: {output_data_format}"

graphgen/templates/generation/multi_choice_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
{context}
9292
9393
Please generate {num_of_questions} questions for the following context:
94-
Please generate {num_of_questions} questions for the following context:"""
94+
"""
9595

9696

9797
MCQ_GENERATION_PROMPT = {"zh": TEMPLATE_GENERATION_ZH, "en": TEMPLATE_GENERATION_EN}

0 commit comments

Comments
 (0)