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.239.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbea625ed82bbdd5d216ebb4af734b20c22cebcd30065d175807c4b29a7959b5 |
|
MD5 | 3ec40f3d47e0c66f9afd90a3fa97ec42 |
|
BLAKE2b-256 | 16d803a7071b9f3293fbd9b69e29c3bd3d02450468a24161fab502a7f38d5b8d |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.239-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d736e84b9b51c9662a0c1ebc2fd2db981e4be27e03da03b8ae4ae2050da295d4 |
|
MD5 | 0bf81ec7873a5066431512a71531f8da |
|
BLAKE2b-256 | 51b4c4e4cf5d77b6a511b63c795de22040640992d0015f6ef411d899aa9a3a87 |