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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 186578e061819987bafc69d30636c375656fabe91ab77986257a153c3c052044 |
|
MD5 | 75c42e58caf817eea278ff9116cb4419 |
|
BLAKE2b-256 | 8af295376a7714fa2b863dab33780ebf10796035d4eca73ab76fb8f23c5822f4 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05278cdc94fc42f8a2e7d634255d5bbf799bfba8aa0c258a5edf42509aa767fd |
|
MD5 | 0e9e69c2d6daf50f33ff1f1a90ca7b13 |
|
BLAKE2b-256 | 06f1606fea877d9c910ef1fc8459382d621c8c74efd81148bc1be2638678678b |