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.224.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82c8a24876f5162dd86557f52f9fbcc1d0d9216dd58c198c4da44843acb9ffe |
|
MD5 | 4e293ceabbaa4072b0c5100e29dbc9da |
|
BLAKE2b-256 | b25e1b2725b0c6e475c59e336a37af796ab2ee41dc2ade242c7f4a1580840b0a |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.224-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffac676dcae1ba86936eb52954c93ef42b2b6bba1f62c73a1ebf5893bde351ef |
|
MD5 | e64200d6273c662ded29f87f78ee205e |
|
BLAKE2b-256 | bb00c91d97ccbd1b1daf099aaf92c243a3036ecb5973f580f26d103e288d2249 |