-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkey.cfg
29 lines (22 loc) · 1.1 KB
/
key.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[option]
#Setting for GPT model, if using chatGPT, base_url should be "https://api.openai.com/v1" or empty string
model_name = deepseek-chat
api_key = sk-710f0f9343934421923e4065ae4394f7
base_url = https://api.deepseek.com/beta/v1
task = 2
#Inputs essay file
essay_file = data/essay.txt
#Inputs essay topic file
topic_file = data/topic.txt
#Setting for prompt
prompt_prefix = prompts/ielts/ielts_writing_
aspects = ta,cc,lr,gra
short_names = {"ta":"Task Achievement","cc":"Coherence and Cohesion","lr":"Lexical Resource","gra":"Grammatical Range and Accuracy"}
#Please notice other prompt file name should for follow this rule.
#For example:
# Grading files: ielts_writing_1_prompt_ta.txt, ielts_writing_2_prompt_ta.txt
# ielts_writing_1_prompt_lr.txt, ... (prompt_prefix<task>_prompt_<aspect>.txt)
# Summary prompt file: ielts_writing_prompt_summary.txt
# Polish prompt file: ielts_writing_prompt_polish.txt
# Writing sample prompt file: ielts_writing_1_prompt_writing_sample.txt
# ielts_writing_2_prompt_writing_sample.txt