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.126.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972b7ea4d8f76275d6f34e8f8d571b33eb823e7dafd4863f458255d7981e31c7 |
|
MD5 | d9e047f22627539464e17d2f102956fb |
|
BLAKE2b-256 | 14ac6fb356750a6bf1bacffe15a1e6f5107e60eae3f5f57cc2e17f11d44919d1 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.126-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2b9b6d527216774e6ea92f939e26d97b2e161cf9412470df0ea9976431bc79 |
|
MD5 | 4b0dc50a3e11b8b785be41b6f7bf7758 |
|
BLAKE2b-256 | 63ad7deffa9d8b2ad5c3ca31d30256d464029323096d4006a9bacf5604a3b95b |