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.58.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e810a3bc504a2ab63d46879a540d8410a0a7528af638b827db5009bd22e1a3b3 |
|
MD5 | 0ffdeb82231bfabb1747a26fc5d1781f |
|
BLAKE2b-256 | 073517ce11bdb86072e77e3916b4521a4a9251cc949bc0aead4f779a30a64f47 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5367b35d951ba7d5ea78c8261eba297d87d381168219069a3d287c7676bd7d2a |
|
MD5 | 06b925c659f985bcaf74166e2a968d76 |
|
BLAKE2b-256 | ea4561147518b27f54397c8274371f69d0c21e10feb203d9666644bff67d7620 |