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.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 064e5c2f16d5e3e4fa5d63a0204ada2304600f0f3f845e65f0060965f889040f |
|
MD5 | be61232cb5d7ec13e4291b8aed86e73f |
|
BLAKE2b-256 | a5f9ddfa024ed4c25b2bae9093192c077bb3a6f10920fb640c53c4b4f0738a91 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c803e4161ac49b9922aa4c49d67983aef81cdfbad071d6ea041b185dbd65035a |
|
MD5 | 353f0bf9b2dbb928141788937dbd67df |
|
BLAKE2b-256 | dc04a01f7e730c31b00c56bf760baac358be3c1d3fc88799e7c832b42ec25405 |