Code Monkey home page Code Monkey logo

leeroy's Introduction

Leeroy

一个基于pytorch-lightning和🤗transformers的NLP模型训练框架。pytorch-lightning trainer能极大简化训练的代码,🤗transformers提供了几乎完备的transformer模型库,结合两者实现常见的任务(如分类、序列标注、MRC等),能节省大量训练流程和模型设计的编码时间,能有更多的时间关注业务和数据。

features

  • 支持多分类任务
  • 支持多标签分类任务
  • 支持UIE式的抽取任务,能直接加载UIE参数
  • 支持seq2seq生成任务

fixed bugs

TODO

  • 增加checkpoint恢复训练(集群抢占资源必备)
  • 增加loss配置机制,支持Focal loss等,方便炼丹
  • 增加其他任务(持续工作)

协作共建

建议采用分支管理

leeroy's People

Contributors

huanglk avatar

Stargazers

 avatar  avatar  avatar JY-Ren avatar weilan avatar charon____ avatar

Watchers

 avatar charon____ avatar Kostas Georgiou avatar

leeroy's Issues

辛苦啦!

HI 老铁:
你的工作很有意义,谢谢你的分享,期待能持续更新!

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.