JiangYong2014 / AdaSeq

AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models

AdaSeq (Alibaba Damo Academy Sequence understanding toolkit) is an easy-to-use all-in-one library, built on ModelScope, that allows researchers and developers to train custom models for sequence understanding tasks, including word segmentation, POS tagging, chunking, NER, entity typing, relation extraction, etc.

⚠️Notice: This project is under quick development. This means some interfaces could be changed in the future.


Features:

  • State-of-the-Art: we provide plenty of cutting-edge models, training methods and useful toolkits for sequence understanding tasks.
  • Easy-to-Use: one line of command is all you need to obtain the best model.
  • Extensible: easily register new tasks, models, modules, criterions, optimizers, lr_schedulers and training methods.

What's New:

Previous updates

Supported Models

Quick Start

Requirements and Installation

Python version >= 3.7

git clone https://github.com/modelscope/adaseq.git
pip install -r requirements.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html

train a model

python scripts/train.py -c examples/bert_crf/configs/resume.yaml

test a model

python scripts/test.py -c examples/bert_crf/configs/resume.yaml -cp ${checkpoint_path}

Tutorials

License

This project is licensed under the Apache License (Version 2.0).

About

AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models

License:Apache License 2.0


Languages

Language:Python 95.8%Language:Perl 4.0%Language:Shell 0.1%