Skip to main content

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

Metadata

Release files for allenai-common 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allenai-common 1.1.2
File Size Uploaded
allenai-common-1.1.2.tar.gz 29.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for allenai-common 1.1.2
File Interpreter ABI Platform
allenai_common-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 61.5 kB

Release files / allenai-common-1.1.2.tar.gz

Download URL allenai-common-1.1.2.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ae82947201c6c120dc954843fc0dc4a1e4b03f838283d62e2f11349ff9213004
BLAKE2b-256 checksum
How to use checksums
ccc3fb2646f6cd546fd7528cb304926a9f586b7b7eaad529abd71230b7220cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.7.8 Darwin/20.3.0

Release files / allenai_common-1.1.2-py3-none-any.whl

Download URL allenai_common-1.1.2-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
112559f6bc5a53d65f333cb3fb9748bb053c22241572ae177fd685520cce080a
BLAKE2b-256 checksum
How to use checksums
a1a37201ed8a8d539b4b9d84508c3769dcff38eb62a755552d5653ade0d9e4fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.7.8 Darwin/20.3.0

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page