PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

Add TPLinkerPlus

Open linjieccc opened this issue 3 years ago • 1 comments

PR types

New features

PR changes

Models

Description

  • 新增信息抽取封闭域模型
    • 提供了一套统一的数据格式,适配实体抽取、关系抽取、事件抽取、观点抽取等抽取类型任务。

    • 本项目提供了各任务训练、评估、静态图导出以及python端部署的具体示例。

      主要代码结构如下:

      ├── deploy
      │   └── python
      │       └── predict.py # python端部署脚本
      ├── train.py # 训练脚本
      ├── convert.py # 数据转换脚本
      ├── evaluate.py # 评估脚本
      ├── metric.py # 指标计算
      ├── export_model.py # 动态图参数导出静态图参数脚本
      ├── utils.py # 工具函数脚本
      ├── criterion.py # 损失函数
      ├── model.py # 模型组网
      ├── components.py # 模型组件
      └── README.md # 使用说明
      
    • 实验结果 (验证集)

      task_type dataset pretrained_model_name f1 precision recall Note
      entity_extraction CLUENER ernie-3.0-base-zh 80.77 79.73 81.84 -
      relation_extraction DuIE2.0 ernie-3.0-base-zh 71.23 73.86 68.78 SPO三元组完全一致
      event_extraction DuEE1.0 ernie-3.0-base-zh 76.35 69.16 72.58 事件类型和角色相同且论元正确
      opinion_extraction 自建数据集 ernie-3.0-base-zh 77.90 81.31 74.77 ASO三元组完全一致

linjieccc avatar Jul 11 '22 08:07 linjieccc

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: linjieccc
:x: lcneyc
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Nov 02 '22 07:11 CLAassistant

This Pull Request is stale because it has been open for 60 days with no activity. 当前Pull Request 60天内无活动,被标记为stale。

github-actions[bot] avatar Jan 02 '23 00:01 github-actions[bot]

Automatically closed by Paddle-bot.

paddle-bot[bot] avatar Feb 06 '24 06:02 paddle-bot[bot]