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.4.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 087982df47f1c76aaeaa0088ebaf4179816cb4f7ef8b31d7c825bdcb66f17a4a |
|
MD5 | a899f64ec512702703337a6a2ecc52fe |
|
BLAKE2b-256 | 01fae034472c8b2d688c0c62a65c92b08154859d78434bc209b548ce7b00d278 |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6344f075d3a1a33c663293c37ff7706a3c11b904bc5d2a1604ab6825887bc3cc |
|
MD5 | d43b03064f9a37bab5f01e1b98708030 |
|
BLAKE2b-256 | 8608879d15fb27e46905bf2e08996c1d81bdf3d60020ed5654a3a8182099f15f |