Giter Site home page Giter Site logo

nerbart_-'s Introduction

NERBART_生成式的文章

A Unified Generative Framework for Various NER Subtasks ACL-ICJNLP2021 paper A Unified Generative Framework for Various NER Subtasks github:https://github.com/yhcc/BARTNER

三种ner的格式,该文章想统一一下解决,就想到了生成式。

模型的输入和输出格式
  • X = [x1, x2, ..., xn] 即一个普通的句子。

  • Y = [s11, e11, ..., s1j, e1j, t1, ..., si1, ei1, ..., sik, eik, ti],

    each entity is represented as [si1, ei1, ..., sij, eij, ti]

    也就是说ti i表示实体的个数,然后,它前面的s e 分别表示i这个实体的开始位置额结束位置,因为有实体是被其他词分开的,所以需要有多个。 (也就是期望模型输出的格式)

实现复杂的指针,修改decoder和encoder在这里:https://github.com/yhcc/BARTNER/blob/main/model/bart.py

nerbart_-'s People

Contributors

cs-liangchen-work avatar

Watchers

 avatar

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.