adaseq-0.6.0
توضیحات
AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | adaseq-0.6.0 |
| نام | adaseq |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alibaba Damo Academy NLP foundation team |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/modelscope/adaseq |
| آدرس اینترنتی | https://pypi.org/project/adaseq/ |
| مجوز | Apache License 2.0 |
# AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models
<div align="center">
[](./LICENSE)
[](https://modelscope.cn/)

[](https://github.com/modelscope/AdaSeq/issues)
[](https://github.com/modelscope/AdaSeq/stargazers)
[](https://pypi.org/project/adaseq)
[](./CONTRIBUTING.md)
</div>
<div align="center">
English | [简体中文](./README_zh.md)
</div>
## Introduction
***AdaSeq*** (**A**libaba **D**amo **A**cademy **Seq**uence Understanding Toolkit) is an easy-to-use all-in-one library, built on [ModelScope](https://modelscope.cn/home), that allows researchers and developers to train custom models for sequence understanding tasks, including part-of-speech tagging (POS Tagging), chunking, named entity recognition (NER), entity typing, relation extraction (RE), etc.

<details open>
<summary>🌟 <b>Features:</b></summary>
- **Plentiful Models**:
AdaSeq provide plenty of cutting-edge models, training methods and useful toolkits for sequence understanding tasks.
- **State-of-the-Art**:
Our aim to develop the best implementation, which can beat many off-the-shelf frameworks on performance.
- **Easy-to-Use**:
One line of command is all you need to obtain the best model.
- **Extensible**:
It's easy to register a module, or build a customized sequence understanding model by assembling the predefined modules.
</details>
⚠️**Notice:** This project is under quick development. This means some interfaces could be changed in the future.
## 📢 What's New
- 2022-12: [[EMNLP 2022] Retrieval-augmented Multimodal Entity Understanding Model (MoRe)](./examples/MoRe)
- 2022-11: [[EMNLP 2022] Ultra-Fine Entity Typing Model (NPCRF)](./examples/NPCRF)
- 2022-11: [[EMNLP 2022] Unsupervised Boundary-Aware Language Model (BABERT)](./examples/babert)
## ⚡ Quick Experience
You can try out our models via online demos built on ModelScope:
[[English NER]](https://modelscope.cn/models/damo/nlp_raner_named-entity-recognition_english-large-news/summary)
[[Chinese NER]](https://modelscope.cn/models/damo/nlp_raner_named-entity-recognition_chinese-base-news/summary)
[[CWS]](https://modelscope.cn/models/damo/nlp_structbert_word-segmentation_chinese-base/summary)
More tasks, more languages, more domains: All modelcards we released can be found in this page [Modelcards](./docs/modelcards.md).
## 🛠️ Model Zoo
<details open>
<summary><b>Supported models:</b></summary>
- [Transformer-based CRF](./examples/bert_crf)
- [Partial CRF](./examples/partial_bert_crf)
- [Retrieval Augmented NER](./examples/RaNER)
- [Biaffine NER](./examples/biaffine_ner)
- [Global-Pointer](./examples/global_pointer)
- [Multi-label Entity Typing](./examples/entity_typing)
- ...
</details>
## 💾 Dataset Zoo
We collected many datasets for sequence understanding tasks. All can be found in this page [Datasets](./docs/datasets.md).
## 📦 Installation
AdaSeq project is based on `Python version >= 3.7` and `PyTorch version >= 1.8`.
- installation via pip:
```
pip install adaseq
```
- installation from source:
```
git clone https://github.com/modelscope/adaseq.git
cd adaseq
pip install -r requirements.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
```
## 📖 Tutorials
- [Quick Start](./docs/tutorials/quick_start.md)
- Basics
- [Learning about Configs](./docs/tutorials/learning_about_configs.md)
- [Customizing Dataset](./docs/tutorials/customizing_dataset.md)
- [TODO] Common Architectures
- [TODO] Useful Hooks
- [Hyperparameter Optimization](./docs/tutorials/hyperparameter_optimization.md)
- [Training with Multiple GPUs](./docs/tutorials/training_with_multiple_gpus.md)
- Best Practice
- [Training a Model with Custom Dataset](./docs/tutorials/training_a_model.md)
- [Reproducing Results in Published Papers](./docs/tutorials/reproducing_papers.md)
- [TODO] Uploading Saved Model to ModelScope
- [TODO] Customizing your Model
- [TODO] Serving with AdaLA
## 📝 Contributing
All contributions are welcome to improve AdaSeq. Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for the contributing guideline.
## 📄 License
This project is licensed under the Apache License (Version 2.0).
نیازمندی
| مقدار | نام |
|---|---|
| - | addict |
| - | datasets |
| >=1.2.0 | modelscope |
| - | pyyaml |
| - | seqeval |
| <1.13.0,>=1.11.0 | torch |
| >=4.64.0 | tqdm |
| >=4.21.0 | transformers |
| >=1.26.0 | urllib3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7.0 | Python |
نحوه نصب
نصب پکیج whl adaseq-0.6.0:
pip install adaseq-0.6.0.whl
نصب پکیج tar.gz adaseq-0.6.0:
pip install adaseq-0.6.0.tar.gz