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.230.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9aa9ed7c143881df181ac82a4014c27f5cab708b2542b59b11361f3b65e146 |
|
MD5 | 083d4075e557a2021a6ee259996adea6 |
|
BLAKE2b-256 | 6aa7aac6ca91b8685cbb6b7108b1c71aa5ccb820857de56eee7238cf5fe5d3db |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.230-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd6e1c74cd3d73aa25640dcad6f7a7b3b956decf47253f12f34a0a3f78860ef |
|
MD5 | 3e489dd351db920175339dfb5e09d8e6 |
|
BLAKE2b-256 | a8900690f8e471cf016b801bc77bf9ad583313fca064ca02a91a0c84f21df942 |