allenai-common-1.1.2
توضیحات
Params, FromParams, Registrable, Lazy classes from AllenNLP
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | allenai-common-1.1.2 |
| نام | allenai-common |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ivan Fursov |
| ایمیل نویسنده | fursovia@gmail.com |
| آدرس صفحه اصلی | https://github.com/fursovia/allenai-common |
| آدرس اینترنتی | https://pypi.org/project/allenai-common/ |
| مجوز | Apache-2.0 |
# AllenAI-Common
This repository is a copy-paste of the common components
from the `1.1.0` version of [AllenNLP library](https://github.com/allenai/allennlp).
The following classes were extracted:
* `FromParams`
* `Params`
* `Lazy`
* `Registrable`
And freed from ML/DL/NLP dependencies (e.g. `scikit-learn`, `torch`, `nltk`, `spacy`, `tensorboardX`, `transformers`).
## Usage
```bash
pip install allenai-common
```
```python
from allenai_common import Registrable, Params, Lazy, FromParams
# Do something you would normally do when solving NLP tasks using AllenNLP
# But at this time use imported modules for non-NLP tasks
```
نیازمندی
| مقدار | نام |
|---|---|
| ==3.1.0 | overrides |
| >=3.0.0,<4.0.0 | filelock |
| >=2.18.0,<3.0.0 | requests |
| >=4.19.0,<5.0.0 | tqdm |
| >=1.14.0,<2.0.0 | boto3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl allenai-common-1.1.2:
pip install allenai-common-1.1.2.whl
نصب پکیج tar.gz allenai-common-1.1.2:
pip install allenai-common-1.1.2.tar.gz