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.116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e727235738c7478867fa176e11a948d7518fdab796ca40af4e9a062da074190 |
|
MD5 | fe2c0ec3f0b8038f90bfcc5d82d3859d |
|
BLAKE2b-256 | d7ffe36197802e9aee445a245a2f93f534ffe2a5807cda03d486546fc05b9739 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81e37915678234a192b07334e769dea8631d35ef8d0c8530b6c6b11045ae8bd0 |
|
MD5 | 139d110e191e17785229b08bfd246b45 |
|
BLAKE2b-256 | c8559c7ff8a173aa58c3098c78bcc0f4b3214931b371ba9d29658614fde14e1d |