sijunhe commited on
Commit
d095e6e
1 Parent(s): 467d1c7
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -354,13 +354,12 @@ with gr.Blocks(css=CSS) as demo:
354
 
355
  with gr.Column():
356
  gr.Markdown("## 2. Information Extraction 信息抽取 ")
357
- gr.Markdown("### Set a schema")
358
  gr.Markdown("Entity extraction: entity type should be separated by ';', e.g. **Person;Organization**")
359
- gr.Markdown("Relation extraction: set the subject and relation type, separated by '|', e.g. **Person|Date;Person|Email**")
360
- gr.Markdown("### 设置schema")
361
  gr.Markdown("实体抽取:实体类别之间以';'分割,例如 **人物;组织机构**")
 
362
  gr.Markdown("关系抽取:需配置主体和关系类别,中间以'|'分割,例如 **人物|出生时间;人物|邮箱**")
363
- gr.Markdown("### Model customization 模型定制")
364
  gr.Markdown("We recommend to further improve the extraction performance in specific domain through the process of [data annotation & fine-tuning](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction/document)")
365
  gr.Markdown("我们建议通过[数据标注+微调](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction/document)的流程进一步增强模型在特定场景的效果")
366
 
@@ -447,7 +446,6 @@ with gr.Blocks(css=CSS) as demo:
447
  outputs=[document, schema, image, img_clear_button, output],
448
  )
449
 
450
- gr.Markdown("[![Stargazers repo roster for @PaddlePaddle/PaddleNLP](https://reporoster.com/stars/PaddlePaddle/PaddleNLP)](https://github.com/PaddlePaddle/PaddleNLP)")
451
  gr.HTML(read_content("footer.html"))
452
 
453
 
 
354
 
355
  with gr.Column():
356
  gr.Markdown("## 2. Information Extraction 信息抽取 ")
357
+ gr.Markdown("### - Set a schema 设置schema")
358
  gr.Markdown("Entity extraction: entity type should be separated by ';', e.g. **Person;Organization**")
 
 
359
  gr.Markdown("实体抽取:实体类别之间以';'分割,例如 **人物;组织机构**")
360
+ gr.Markdown("Relation extraction: set the subject and relation type, separated by '|', e.g. **Person|Date;Person|Email**")
361
  gr.Markdown("关系抽取:需配置主体和关系类别,中间以'|'分割,例如 **人物|出生时间;人物|邮箱**")
362
+ gr.Markdown("### - Model customization 模型定制")
363
  gr.Markdown("We recommend to further improve the extraction performance in specific domain through the process of [data annotation & fine-tuning](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction/document)")
364
  gr.Markdown("我们建议通过[数据标注+微调](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction/document)的流程进一步增强模型在特定场景的效果")
365
 
 
446
  outputs=[document, schema, image, img_clear_button, output],
447
  )
448
 
 
449
  gr.HTML(read_content("footer.html"))
450
 
451