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.220.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1b3b301ecf50a952deed0d8edbca350cacf6f3a031a25e278f7c50effe0257 |
|
MD5 | b5a9804ddab6185fe8cc395c7cee2e71 |
|
BLAKE2b-256 | d3c05c323c422d80de5df445e787efe2b14add0a371cf4faed04170b9ab9530a |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92f128616c1553894ea026238e974a4f0c4080c08bf9935ba32d3ceee57fc4b |
|
MD5 | f52071f1f25b7cadf2192d7a43a0accf |
|
BLAKE2b-256 | 318a393ccfc67c615171de2fc7c63de48fe0fcdffbad9bcc8d6c433056bbf1c2 |