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.201.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 334c197684f9966efd47a8279833b6397f4887ec6466e70e17d1235d28c19358 |
|
MD5 | 8eeecc3a178cab3fb98d0f6d39b31182 |
|
BLAKE2b-256 | 38146d17c7efcd229df1413f2e8a8128f71fbc7a80075ef1c64d15d361e9bd4a |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.201-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d5475f52cdd67c8b42821cd1c8530331b4b788689ddddd5d12c3d2b9364e86 |
|
MD5 | 6e2309b1ceee428be523cf67cc58f555 |
|
BLAKE2b-256 | 0858bc58f16211c44a6516028cd62d3ff5428c166f27a47f5058058f9c2537da |