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.244.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f055e9412bcc2433e1f70493ab7700fef519267dcf708b18c38c5b0ed177e829 |
|
MD5 | dd1c4ea36dda6e9f5618a878d4bcff4c |
|
BLAKE2b-256 | dc486965e4ea9d323b5315d7bc133af86247bbe3d20b04bfc07d971d3f8e36ac |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.244-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a11b57753165cc5b498a601ded6c59c46eec1edde8d47e13e89dcf73c12014d3 |
|
MD5 | cfaa0f16c283df088d77de44141a1363 |
|
BLAKE2b-256 | 010177dcd03cb445b1f3d93e9982c659a1c1dd27cddfb6fd064ba4b8afe3dde4 |