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.226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf956b07de002a8ede459f44b7c3681fd93284089f55a965b3bedb7ce115b430 |
|
MD5 | e30331c7157a23dd7333544ce13aadf2 |
|
BLAKE2b-256 | 2ebdcf487e58e36e3afee2615493c3ef0a3fe23002ae10ca9b792f0158bcbb5e |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858d55f85d31e5dbd9d705a023588fd73eecd6192fcaae2476195f11596f1050 |
|
MD5 | b7b22f933cfd8d1d5de7ed90a911ed3a |
|
BLAKE2b-256 | 9962532ec98155a8f4f8a62665ff7a353298fb5961a12bb01f2977310d0b99a1 |