Skip to main content

Annotator based on Huggingface transformers zero-shot classification pipeline

Project description

pyannotators_zeroshotclassifier

license tests codecov docs version PyPI - Python Version

Annotator based on Facebook's ZeroShotClassifier

Installation

You can simply pip install pyannotators_zeroshotclassifier.

Developing

Pre-requesites

You will need to install flit (for building the package) and tox (for orchestrating testing and documentation building):

python3 -m pip install flit tox

Clone the repository:

git clone https://github.com/oterrier/pyannotators_zeroshotclassifier

Running the test suite

You can run the full test suite against all supported versions of Python (3.8) with:

tox

Building the documentation

You can build the HTML documentation with:

tox -e docs

The built documentation is available at `docs/_build/index.html.

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

pyannotators_zeroshotclassifier-0.5.246.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file pyannotators_zeroshotclassifier-0.5.246.tar.gz.

File metadata

File hashes

Hashes for pyannotators_zeroshotclassifier-0.5.246.tar.gz
Algorithm Hash digest
SHA256 6a0a678bd5e2fa41e9164140e50489cd8ac8731d424957df3b14ff88e9c7d10f
MD5 065d2dadbbcf4af722bce687d012d288
BLAKE2b-256 5f94c4853957e72032b4960d4901561ae0471949f62a256a43914427e8952bb8

See more details on using hashes here.

File details

Details for the file pyannotators_zeroshotclassifier-0.5.246-py3-none-any.whl.

File metadata

File hashes

Hashes for pyannotators_zeroshotclassifier-0.5.246-py3-none-any.whl
Algorithm Hash digest
SHA256 b46d97151f2ea30d68fa8c2c3354444ff7afb2dabb729bb1536bae62ccaec934
MD5 6b82d12fe19d1a640bd1047febb077b2
BLAKE2b-256 0e7119d0f6de6863f722acb399a92e299bc3fe0f07220926bed0fa95a35ed01d

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