generate_paragraph_evaluate_button = gr.Button("Save and Evaluate") 564a847 youngtsai commited on Feb 19, 2024
{ "original": "# original_sentence1", "Correction": "#correction_1", "Explanation": "#explanation_1(in_traditional_chinese)" }, bab4c75 youngtsai commited on Feb 19, 2024
- When explaining, use Traditional Chinese (Taiwan, 繁體中文) for clarity. But others in English. 5226d04 youngtsai commited on Feb 19, 2024
paragraph_save_output = gr.Textbox(label="Save and Share") 6e5cbf8 youngtsai commited on Feb 19, 2024
- When explaining, use Traditional Chinese (Taiwan, 繁體中文) for clarity. e722779 youngtsai commited on Feb 19, 2024
paragraph_refine_output = gr.Textbox(label="Refine Paragraph 段落改善建議") f35c083 youngtsai commited on Feb 19, 2024
def generate_paragraph_evaluate(paragraph, user_generate_paragraph_evaluate_prompt): c1ee647 youngtsai commited on Feb 19, 2024
def generate_paragraph(topic_sentence, supporting_sentences, conclusion_sentence): 12a83ad youngtsai commited on Feb 19, 2024
no more explanation either no more extra non-relation sentences. bbacb5a youngtsai commited on Feb 19, 2024
supporting_sentences_output = gr.Textbox(label="Generated Supporting Sentences 支持句") d27fd39 youngtsai commited on Feb 19, 2024
def generate_supporting_sentences(model, max_tokens, sys_content, scenario, eng_level, topic, points, topic_sentence, user_generate_supporting_sentences_prompt): daa5f8e youngtsai commited on Feb 19, 2024
def generate_topic_sentences(model, max_tokens, sys_content, scenario, eng_level, topic, points, user_generate_topic_sentences_prompt): 11b1dbb youngtsai commited on Feb 18, 2024
def generate_points(model, max_tokens, sys_content, scenario, eng_level, topic, user_generate_points_prompt): 8a473de youngtsai commited on Feb 18, 2024
max_tokens = gr.Slider(minimum=50, maximum=4000, value=1000, label="Max Tokens") 8c415e0 youngtsai commited on Feb 18, 2024
def generate_topic_sentences(model, max_tokens, sys_content, scenario, eng_level, user_generate_topics_prompt): 24f22bb youngtsai commited on Feb 18, 2024
user_generate_topics_prompt = gr.Textbox(label="User Prompt", value="Give me 10 topics relevant to Scenario, for a paragraph. Just the topics, no explanation, use simple English language. Make sure the vocabulary you use is at english level.") f1630aa youngtsai commited on Feb 18, 2024