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.4.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e791226e33cb50d9d7e2291aaf5191511e9ea139ca73b2b19c3e2b21733699e4 |
|
MD5 | 4aeb6a64b34a23232a240830fa773419 |
|
BLAKE2b-256 | 84ed1b2ace7c07f3be128f18cebce625812fec36c6dc355aa696db25ae30da36 |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bea0646dc256194f6bb6ded6e8968ad154317167c4fa7c10c6f86a1095c447b8 |
|
MD5 | 69c9c6feaa5d194cbbd3d5bfda294b7e |
|
BLAKE2b-256 | 62218695277fad12514390ae759f20f28d2af0fbad41d59e29661f6a1697bb31 |