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.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8725f8e707c8f7dd6d2f4263da688d9e23c4caa22a0ab7cbc48f261a52265dd |
|
MD5 | f4658708fe5c9162f2b1646b620006c2 |
|
BLAKE2b-256 | e6d1770e0a603ea8d6103daf8307352ad7ed83d1ce16657f545d3ce5b4291930 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e206cbcc2802cc1569e6d96d861e6d67227f4a0dcd60ebb1f53e1723037c6607 |
|
MD5 | f5d24f6f78612626e3de9ba42c2ef08a |
|
BLAKE2b-256 | eb523cab118dc8f0a07f7c0babae0b7bc32547a14818319f1f1ecd0752b2822c |