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.196.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2565b5e39b5ce151efffac08e379ae12f9098c0eaa418c043fe385a8f2c9b7b2 |
|
MD5 | 6a5bfb8e733320d2b210009612d86940 |
|
BLAKE2b-256 | 76e1d6a5fedc84b4cc468687bead055f14df87c1915432ede5cb195ef8fe817f |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.196-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5927a613129a762b441da5a2d600e1997fc8f06fe45c0a3ec825b908f5332423 |
|
MD5 | e4b777b3ba19f1502efe87fb6e398643 |
|
BLAKE2b-256 | 369ccf7ea21e1f5efca0cc29281348627853319702faeb2041f7270e110e908d |