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.190.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e52ed2f4837d28cb2104881c0db225c87f1c2358d3606e6cbdb6537dedbb594 |
|
MD5 | 29338d325d1cffb35c6ad813e0f8b715 |
|
BLAKE2b-256 | 5fe5fdf8f0710f072999081597e60411385c7a8a070094383a81139b9a1e393e |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.190-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1273e0f6af299f92c126f53bf169bc720f8e84c6ac3fa461d3bd32ed61deb1cb |
|
MD5 | e5f90684cdcd893f5fd8023350e6a670 |
|
BLAKE2b-256 | e3935b1de1e1951c27a8a322b14c928996554f1f9143f7808d72b8ce80aefdd3 |