Skip to main content

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:

  • FromParams
  • Params
  • Lazy
  • Registrable

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allenai-common-1.1.2.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

allenai_common-1.1.2-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

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

Hashes for allenai-common-1.1.2.tar.gz
Algorithm Hash digest
SHA256 ae82947201c6c120dc954843fc0dc4a1e4b03f838283d62e2f11349ff9213004
MD5 3c9845d3d2773c81a4e95d935d36ab6e
BLAKE2b-256 ccc3fb2646f6cd546fd7528cb304926a9f586b7b7eaad529abd71230b7220cac

See more details on using hashes here.

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

Hashes for allenai_common-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 112559f6bc5a53d65f333cb3fb9748bb053c22241572ae177fd685520cce080a
MD5 6cde20b7eb9c7469d3e70a67dfcf94ca
BLAKE2b-256 a1a37201ed8a8d539b4b9d84508c3769dcff38eb62a755552d5653ade0d9e4fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page