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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37fb84b2e53759da539ca20154919f5d527d5232352542a8f55e8a27c3a0985c |
|
MD5 | 1039db25443c7c27c21b6caf83362f1f |
|
BLAKE2b-256 | f18bda7659e6d9abe0973534feffd2be07d8f5b9bcfd544e7612d694ce45a49d |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68114f76b33ec5dcff64190c0fc9ceb60864ba3a382f0f040114e8ed986fd557 |
|
MD5 | b0958aeb74f0b34fdd7c69c9c58a5778 |
|
BLAKE2b-256 | ce86b4b9a057080ff7f2d4b03be61fbb0bbc8d3771302753661c54acc72705b4 |