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.222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 555f9d5b589c7d2321b698451546bcd40747ad8dfea1c970015fa43dc462e499 |
|
MD5 | 85692ea739e59b0e1fcce35fc7e28085 |
|
BLAKE2b-256 | fe1a5647df9180afdc809cf6dbc27ccd05fb9ad1297c35f73115640d803af212 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a7ebc08e7ea9e23eb3f614187570304709d37b7b5f3382370a839643e3c3fb |
|
MD5 | 24ad77bc4d540e886e11d3f79e18d7d1 |
|
BLAKE2b-256 | 6eb2ba2a81c8e89b720fc2b00c9b0753fc43f0e3df8d9caef222cec5ffe93d40 |