Spaces:
Sleeping
Sleeping
# Check if it is a reasonable essay or paragraph before grading
Browse files
app.py
CHANGED
@@ -2816,12 +2816,11 @@ with gr.Blocks(theme=THEME, css=CSS) as demo:
|
|
2816 |
chinese_full_paragraph_sys_content_input = gr.Textbox(label="System Prompt", value="You are a Chinese teacher who is practicing with me to improve my Chinese writing skill.")
|
2817 |
default_user_generate_chinese_full_paragraph_evaluate_prompt = """
|
2818 |
# 請嚴格根據 instructions
|
2819 |
-
|
2820 |
-
#
|
2821 |
-
|
2822 |
-
|
2823 |
-
|
2824 |
-
- 任何不屬於以上三個範疇的狀況都請給🟡
|
2825 |
|
2826 |
# Output rules:
|
2827 |
1. 先給 整體評分、綜合回饋、評分標準與回饋、修改範例
|
@@ -2829,7 +2828,7 @@ with gr.Blocks(theme=THEME, css=CSS) as demo:
|
|
2829 |
3. please use Chinese language (ZH-TW) to evaluate the paragraph and output use JSON format:
|
2830 |
|
2831 |
EXAMPLE:
|
2832 |
-
#
|
2833 |
|
2834 |
# 綜合回饋
|
2835 |
你的文章...............(寫出一段話,來總結這篇作文的好壞)
|
@@ -2926,12 +2925,12 @@ with gr.Blocks(theme=THEME, css=CSS) as demo:
|
|
2926 |
default_user_generate_chinese_full_paragraph_refine_evaluate_prompt = """
|
2927 |
# 請嚴格根據 instructions
|
2928 |
我給你兩篇文章,請進行比較跟批改,並給出建議。
|
2929 |
-
|
2930 |
-
#
|
2931 |
-
|
2932 |
-
|
2933 |
-
|
2934 |
-
|
2935 |
|
2936 |
# Output rules:
|
2937 |
1. 先給 整體評分、綜合回饋、評分標準與回饋、修改範例
|
@@ -2939,7 +2938,7 @@ with gr.Blocks(theme=THEME, css=CSS) as demo:
|
|
2939 |
3. please use Chinese language (ZH-TW) to evaluate the paragraph and output use JSON format:
|
2940 |
|
2941 |
EXAMPLE:
|
2942 |
-
#
|
2943 |
|
2944 |
# 綜合回饋(前後比較)
|
2945 |
你的文章...............(寫出一段話,比較兩篇作文的差異)
|
|
|
2816 |
chinese_full_paragraph_sys_content_input = gr.Textbox(label="System Prompt", value="You are a Chinese teacher who is practicing with me to improve my Chinese writing skill.")
|
2817 |
default_user_generate_chinese_full_paragraph_evaluate_prompt = """
|
2818 |
# 請嚴格根據 instructions
|
2819 |
+
|
2820 |
+
# 先檢查是否是合理的作文或是段落,再進行評分
|
2821 |
+
# 請確保作文或段落的內容完整,並且符合中文語法
|
2822 |
+
# 如果是一篇亂打的文章請直接給予回饋:「這篇文章內容不完整,無法進行評分。」
|
2823 |
+
# 如果無法進行評分 評分標準與回饋的內容跟等級,則為 X
|
|
|
2824 |
|
2825 |
# Output rules:
|
2826 |
1. 先給 整體評分、綜合回饋、評分標準與回饋、修改範例
|
|
|
2828 |
3. please use Chinese language (ZH-TW) to evaluate the paragraph and output use JSON format:
|
2829 |
|
2830 |
EXAMPLE:
|
2831 |
+
# 整體評分:(紅?黃?綠?)
|
2832 |
|
2833 |
# 綜合回饋
|
2834 |
你的文章...............(寫出一段話,來總結這篇作文的好壞)
|
|
|
2925 |
default_user_generate_chinese_full_paragraph_refine_evaluate_prompt = """
|
2926 |
# 請嚴格根據 instructions
|
2927 |
我給你兩篇文章,請進行比較跟批改,並給出建議。
|
2928 |
+
|
2929 |
+
# Check if it is a reasonable essay or paragraph before grading
|
2930 |
+
1. 先檢查是否是合理的作文或是段落,再進行評分
|
2931 |
+
2. 請確保作文或段落的內容完整,並且符合中文語法
|
2932 |
+
3. 如果是一篇亂打的文章請直接給予回饋:「這篇文章內容不完整,無法進行評分。」
|
2933 |
+
4. 如果無法進行評分 評分標準與回饋的內容跟等級,則為 X
|
2934 |
|
2935 |
# Output rules:
|
2936 |
1. 先給 整體評分、綜合回饋、評分標準與回饋、修改範例
|
|
|
2938 |
3. please use Chinese language (ZH-TW) to evaluate the paragraph and output use JSON format:
|
2939 |
|
2940 |
EXAMPLE:
|
2941 |
+
# 整體評分: (紅?黃?綠?)
|
2942 |
|
2943 |
# 綜合回饋(前後比較)
|
2944 |
你的文章...............(寫出一段話,比較兩篇作文的差異)
|