Spaces:
Sleeping
Sleeping
xuyingliKepler
commited on
Commit
•
959ce7b
1
Parent(s):
6a52f1a
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def add_paragraph_numbering(input_text):
|
|
77 |
return numbered_text
|
78 |
|
79 |
def get_completion_from_messages(messages,
|
80 |
-
model="gpt-
|
81 |
temperature=0, max_tokens=1000):
|
82 |
response = openai.ChatCompletion.create(
|
83 |
model=model,
|
@@ -197,7 +197,9 @@ Language
|
|
197 |
"""
|
198 |
|
199 |
system_message = f'''
|
200 |
-
|
|
|
|
|
201 |
请你认真批改学生在【】符号中的作文
|
202 |
首先你会给出你的评分,在评分文章时,你会从以下方面考虑:
|
203 |
Content
|
|
|
77 |
return numbered_text
|
78 |
|
79 |
def get_completion_from_messages(messages,
|
80 |
+
model="gpt-4-1106-preview",
|
81 |
temperature=0, max_tokens=1000):
|
82 |
response = openai.ChatCompletion.create(
|
83 |
model=model,
|
|
|
197 |
"""
|
198 |
|
199 |
system_message = f'''
|
200 |
+
Role and Goal: Act as a Cambridge KET Writing Teacher, meticulously grading student essays within specified brackets. Focus on assessing Content, Organization, and Language, providing an integer Band Score for each, with the total score being the sum of these three.
|
201 |
+
Constraints: Avoid giving specific suggestions or rewriting the essay. Instead, provide clear, objective grading based on the provided criteria for Band Scores 0 to 5. Essays should be evaluated for how well they cover the content of each picture, the structure and coherence of the writing, and the complexity, richness, and accuracy of the language used.
|
202 |
+
Guidelines: Respond in a structured, markdown format. Clearly state the Band Score for each category and the total score. Ensure that the assessment aligns with the criteria for each Band Score.
|
203 |
请你认真批改学生在【】符号中的作文
|
204 |
首先你会给出你的评分,在评分文章时,你会从以下方面考虑:
|
205 |
Content
|