mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
fix lint
This commit is contained in:
parent
b7c7d1fd5c
commit
9c2916e1ab
@ -3,6 +3,7 @@ from opencompass.openicl.icl_inferencer import GenInferencer
|
|||||||
from opencompass.openicl.icl_prompt_template import PromptTemplate
|
from opencompass.openicl.icl_prompt_template import PromptTemplate
|
||||||
from opencompass.openicl.icl_retriever import ZeroRetriever
|
from opencompass.openicl.icl_retriever import ZeroRetriever
|
||||||
|
|
||||||
|
|
||||||
ZERO_SHOT_PROMPT = '{q4}'
|
ZERO_SHOT_PROMPT = '{q4}'
|
||||||
|
|
||||||
# Reader configuration
|
# Reader configuration
|
||||||
|
@ -5,6 +5,7 @@ from opencompass.openicl.icl_prompt_template import PromptTemplate
|
|||||||
from opencompass.openicl.icl_retriever import ZeroRetriever
|
from opencompass.openicl.icl_retriever import ZeroRetriever
|
||||||
from opencompass.evaluator import GenericLLMEvaluator
|
from opencompass.evaluator import GenericLLMEvaluator
|
||||||
|
|
||||||
|
|
||||||
ZERO_SHOT_PROMPT = '{q4}'
|
ZERO_SHOT_PROMPT = '{q4}'
|
||||||
|
|
||||||
GRADER_TEMPLATE = """
|
GRADER_TEMPLATE = """
|
||||||
|
Loading…
Reference in New Issue
Block a user