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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db909b3025abc3c3bb7c5513791ba5f97c685744f8d750288ff0216c60e0dc10 |
|
MD5 | a54a41c23d10945304fd931fa8ffd1a5 |
|
BLAKE2b-256 | 367ef9dc331599dc0f4a918af982eca4d8c594b2589439fba977967216988d33 |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a20f6a2b068da2a43c26f4987cdd14ea1ca4614ef48980f97119b347c06e697 |
|
MD5 | b38f42ee3339c45f47e249243849dddd |
|
BLAKE2b-256 | d4f619e5704f7e26cf3482b07995e49b403f4830591828ac2dac28c276a325e7 |