dlk-0.0.9
توضیحات
dlk: Deep Learning Kit
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dlk-0.0.9 |
| نام | dlk |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | cstsunfu |
| ایمیل نویسنده | cstsunfu@gmail.com |
| آدرس صفحه اصلی | https://github.com/cstsunfu/dlk |
| آدرس اینترنتی | https://pypi.org/project/dlk/ |
| مجوز | Apache Software License |
# A Deep Learning ToolKit
This project is WIP.
[Read the Docs](https://dlk.readthedocs.io/en/latest/)
## Install
```
pip install dlk
or
git clone this repo and do
python setup.py install
```
## What's this?
* Provide a templete for deep learning (especially for nlp) training and deploy.
* Provide parameters search.
* Provide basic architecture search.
* Provide some basic modules and models.
* Provide reuse the pretrained model for predict.
## More Feature is Comming
* [ ] Tasks support
* [ ] NLP
* [X] Classification
* [X] Pair Classification
* [X] Regression
* [X] Pair Regression
* [X] Sequence Labeling
* [X] Span Classification
* [X] Relation Extraction
* [X] Token Rerank
* [ ] MRC SQuAD
* [ ] Translation
* [ ] Summary
* [ ] CV
* [ ] Classification
- [ ] Generate models.
- [ ] Distill structure.
- [ ] Ensemble models for NLU(and check how to do this in NLG)
- [ ] Training Strategy
- [X] Adversarial Training(FGM/PGD/FreeLB)
- [X] Schedule Loss(you can control the loss schedule)
- [X] Schedule MultiTask Loss(you can control the loss schedule for each task)
- [X] Focal Loss
- [ ] Online service by triton.
- [ ] Data Augment.
- [ ] ~~Support LightGBM. Will split to another package.~~
* [ ] Make most complexity modules like Beam Search, CRF to be scriptable.
* [X] Add UnitTest
* [X] Parser
* [X] Tokenizer
* [X] Config
* [X] Link
نیازمندی
| مقدار | نام |
|---|---|
| >=1.8.2 | torch |
| - | setuptools |
| >=20.9 | packaging |
| >=0.6.0 | loguru |
| >=6.0.0 | smart-open |
| >=1.4.2 | pyahocorasick |
| >=1.4.3 | jsoneditor |
| >=3.0.2 | hjson |
| >=1.18 | numpy |
| >=1.1.6 | pandas |
| >=1.5.2 | pandarallel |
| >=4.1.2 | gensim |
| >=2.7.0 | tensorboard |
| >=1.8.0 | google-auth |
| >=3.3.4 | markdown |
| >=1.3.0 | requests-oauthlib |
| >=0.12.0 | tokenizers |
| ==2.1.0 | datasets |
| >=0.8.9 | tabulate |
| ==4.17.0 | transformers |
| ==1.6.5 | pytorch-lightning |
| >=0.10.2 | torchmetrics |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dlk-0.0.9:
pip install dlk-0.0.9.whl
نصب پکیج tar.gz dlk-0.0.9:
pip install dlk-0.0.9.tar.gz