Skip to content

fastNLP 0.3.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@FengZiYjun FengZiYjun released this 06 Feb 02:42
· 1837 commits to master since this release
13faa2b

New features:

  • 添加一系列callbacks: EarlyStopCallback, LRFinder, LRScheduler, etc.
  • 添加padder, 允许自定义pad方法 (EngChar2dPadder 解决二维padding)
  • 拓展DataSet初始化接受的类型
  • 多进程batch
  • 升级中文分词/词性标注/句法分析 APIs
  • 添加BERT和预训练模型加载接口

Bugs fixed:

  • validation step counts
  • remove GPU id when saving
  • refactor type system in FieldArray
  • ...

Code structure refined:

  • reduced dependency on reproduction/
  • renaming folders
  • optimized Trainer methods

Testing:

  • add tests for callbacks
  • more tests for processors

Tutorials:

  • 添加一份padding教程
  • 添加一份测试指南