Spaces:
Runtime error
Runtime error
app.py
Browse files
app.py
CHANGED
@@ -292,7 +292,7 @@ gradio-app h2, .gradio-app h2 {
|
|
292 |
with gr.Blocks(css=CSS) as demo:
|
293 |
gr.HTML(read_content("header.html"))
|
294 |
gr.Markdown(
|
295 |
-
"Open-sourced by PaddleNLP, **UIE-X 🧾
|
296 |
"UIE-X performs well on a zero-shot settings, which is enabled by a flexible schema that allows you to specify extraction targets with simple natural language."
|
297 |
"Moreover, on PaddleNLP, we provide a comprehensive and easy-to-use fine-tuning and few-shot customization workflow."
|
298 |
"For more details, please visit our [GitHub](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction)"
|
@@ -337,12 +337,12 @@ with gr.Blocks(css=CSS) as demo:
|
|
337 |
|
338 |
with gr.Column():
|
339 |
gr.Markdown("## 2. Information Extraction 信息抽取 ")
|
340 |
-
gr.Markdown("###
|
341 |
gr.Markdown("Entity extraction: entity type should be separated by ';', e.g. **Person;Organization**")
|
342 |
gr.Markdown("实体抽取:实体类别之间以';'分割,例如 **人物;组织机构**")
|
343 |
gr.Markdown("Relation extraction: set the subject and relation type, separated by '|', e.g. **Person|Date;Person|Email**")
|
344 |
gr.Markdown("关系抽取:需配置主体和关系类别,中间以'|'分割,例如 **人物|出生时间;人物|邮箱**")
|
345 |
-
gr.Markdown("###
|
346 |
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)")
|
347 |
gr.Markdown("我们建议通过[数据标注+微调](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction/document)的流程进一步增强模型在特定场景的效果")
|
348 |
|
|
|
292 |
with gr.Blocks(css=CSS) as demo:
|
293 |
gr.HTML(read_content("header.html"))
|
294 |
gr.Markdown(
|
295 |
+
"Open-sourced by PaddleNLP, **UIE-X 🧾 ** is a universal information extraction engine for both scanned document and text inputs. It supports Entity Extraction, Relation Extraction and Event Extraction tasks."
|
296 |
"UIE-X performs well on a zero-shot settings, which is enabled by a flexible schema that allows you to specify extraction targets with simple natural language."
|
297 |
"Moreover, on PaddleNLP, we provide a comprehensive and easy-to-use fine-tuning and few-shot customization workflow."
|
298 |
"For more details, please visit our [GitHub](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction)"
|
|
|
337 |
|
338 |
with gr.Column():
|
339 |
gr.Markdown("## 2. Information Extraction 信息抽取 ")
|
340 |
+
gr.Markdown("### 👉 Set a schema 设置schema")
|
341 |
gr.Markdown("Entity extraction: entity type should be separated by ';', e.g. **Person;Organization**")
|
342 |
gr.Markdown("实体抽取:实体类别之间以';'分割,例如 **人物;组织机构**")
|
343 |
gr.Markdown("Relation extraction: set the subject and relation type, separated by '|', e.g. **Person|Date;Person|Email**")
|
344 |
gr.Markdown("关系抽取:需配置主体和关系类别,中间以'|'分割,例如 **人物|出生时间;人物|邮箱**")
|
345 |
+
gr.Markdown("### 👉 Model customization 模型定制")
|
346 |
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)")
|
347 |
gr.Markdown("我们建议通过[数据标注+微调](https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/information_extraction/document)的流程进一步增强模型在特定场景的效果")
|
348 |
|