Params, FromParams, Registrable, Lazy classes from AllenNLP
Project description
AllenAI-Common
This repository is a copy-paste of the common components
from the 1.1.0 version of AllenNLP library.
The following classes were extracted:
FromParamsParamsLazyRegistrable
And freed from ML/DL/NLP dependencies (e.g. scikit-learn, torch, nltk, spacy, tensorboardX, transformers).
Usage
pip install allenai-common
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allenai-common-1.1.2.tar.gz.
File metadata
- Download URL: allenai-common-1.1.2.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.8 Darwin/20.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae82947201c6c120dc954843fc0dc4a1e4b03f838283d62e2f11349ff9213004
|
|
| MD5 |
3c9845d3d2773c81a4e95d935d36ab6e
|
|
| BLAKE2b-256 |
ccc3fb2646f6cd546fd7528cb304926a9f586b7b7eaad529abd71230b7220cac
|
File details
Details for the file allenai_common-1.1.2-py3-none-any.whl.
File metadata
- Download URL: allenai_common-1.1.2-py3-none-any.whl
- Upload date:
- Size: 32.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.8 Darwin/20.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
112559f6bc5a53d65f333cb3fb9748bb053c22241572ae177fd685520cce080a
|
|
| MD5 |
6cde20b7eb9c7469d3e70a67dfcf94ca
|
|
| BLAKE2b-256 |
a1a37201ed8a8d539b4b9d84508c3769dcff38eb62a755552d5653ade0d9e4fd
|