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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89825926e458df304129acba137a9fcfeaf8e689d9b58c831ade57144f42b8a0 |
|
MD5 | 79daf774c19efd3cae8ce33896a473ae |
|
BLAKE2b-256 | 931c703cc721047d5184987e00389b81888c814bd9e17028f3b11c79c43f3ec2 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9077856f93951662727cafe56ccf66e216898b8f0eefeff4d9adbec0732a5428 |
|
MD5 | c7f492a415fabe2a8f27af5d8f7bdcf5 |
|
BLAKE2b-256 | 030336868a882907dc05a36e0abf7e46baa184d1754b78e47da6da9692881526 |