Giter VIP home page Giter VIP logo

idcnn-crf-pytorch's Introduction

IDCNN-CRF-Pytorch

迭代膨胀卷积命名实体抽取
论文 Fast and Accurate Entity Recognition with Iterated Dilated Convolutions pytorch实现
Git翻了一圈竟然没有pytorch的实现,于是撸了一个。
这里有动态原理图
除了没有Pooling操作和加了dilation,和普通卷积基本相同,并不神秘

几点总结

  • 没有传说中的快,虽然每层是并行的,但是由于是多个CNN stacking结构(为了捕获长程信息),层与层之间还是串行的
  • 对于文本较长的,意味着block层数(N)需要越多,按log(N)增长,容易出现梯度消失。这里我加了层归一化和relu缓解这个问题。
  • 在长本文上(seq_length=256)试了一把,效果没有BILSTM好,谨慎使用

idcnn-crf-pytorch's People

Contributors

circlepi avatar

Watchers

James Cloos 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.