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.192.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 982d6511ebf82d57cbddca8a0207c8df32cee93e6c4e52d11cb1085446a4909a |
|
MD5 | 396b9331e415971fd1730b5b9a98dee0 |
|
BLAKE2b-256 | cd6d3ad9c146ec27f065c85220c22910b5c1cb38d5e9328791502f158731fcdb |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.192-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e4da8bae6ebed277fa59addb25bf91ace8a7db37b6ffe09c1da08f4642b0c6e |
|
MD5 | f33aa2543badd93c5b89ba8b3cbea8d2 |
|
BLAKE2b-256 | 3869c8ec13a640f81e9ae4d12fb1acb5e1fdbe7b34d9e588ff0cf09143afae22 |