Annotator based on Huggingface transformers zero-shot classification pipeline
Project description
pyannotators_zeroshotclassifier
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
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
Close
Hashes for pyannotators-zeroshotclassifier-0.5.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ddb310b6299d12422e7b46841517720eba08dabb09e60addd83339c6aa2044b |
|
MD5 | 4d2e2244225968eae0a6e3b4c945d254 |
|
BLAKE2b-256 | f6e6e99f5723deb81a9ae1218fd2a3cedd315f30515fafb3d8c8680ed7935341 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ddf0cd4df8f66513fcda33dc80400cc84107ac28469020a4ed64c9ee6c00b7 |
|
MD5 | de8bd89aa3238e30bd8e937c13baff13 |
|
BLAKE2b-256 | 008f04248fc9793085dc80522c3763023ae96e3b9a035f5030ec2fbdfeb589fb |