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.182.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f5c26e9d4c3753d9df7b8e02819d4729942985fed46b9795f09484c326b676d |
|
MD5 | d7a5dd0cb70630a20d8da0f340460e5e |
|
BLAKE2b-256 | 58b25d458cccba67fba2da1a374ccc7a6f6a2f288c3b644f9e456e6c25313968 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.182-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9892fbdf89a49173745cdf59719433669cc302abbef63c2446e4226d3769735 |
|
MD5 | 598b119c467e12aa6672e22ed1729e8c |
|
BLAKE2b-256 | ec7e3881f58cfb370c551c97f902c5f96a5dbb75aeaebaa9bd570d649b10ecc0 |