Giter VIP home page Giter VIP logo

Comments (2)

StCross avatar StCross commented on August 30, 2024 4

好的,非常感谢您详细的回答,会持续关注贵实验室的工作

from openue.

zxlzr avatar zxlzr commented on August 30, 2024

关于事件抽取openue做的比较简单,我们做的实验是先classification 做事件分类,再用序列标注做argument抽取。
比如输入句子S, 三元组抽取是输出多个(头实体、关系、尾实体),事件抽取是输出多个多元组(多元组的个数和schema定义有关,如四元组)(事件类型,论元1(时间),论元2(地点),论元3(目标)),有个线上demo用此技术实现的,您可以看下demo帮助理解http://openue.zjukg.org/ (事件抽取部分)

当时处理事件抽取的预处理代码因历史原因遗失了,您可以按照这个格式预处理数据把事件抽取当成多元组抽取任务:

{
"text": "事件句子",
“event_list": [{
"predicate": “事件类型1”, “arguments”:[{“role”:”时间”, “argument”:”论元1"},{“role””:”地点”, “argument”:”论元2"}]},
"predicate": “事件类型2”, “arguments”:[{“role”:”时间", “argument”:”论元1"},{“role””:”地点”, “argument”:”论元2"}]},
}
可以参考百度的数据集,我们当时开发工具时候格式参考了百度数据集例子的https://aistudio.baidu.com/aistudio/competition/detail/32/0/task-definition。

Openue相对是个轻量的小工具,另外我们会在下半年在实验室开发的另一个工具DeepKE https://github.com/zjunlp/deepke 开源一个重量的完整事件抽取框架。您可以后续关注。

from openue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.