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.142.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1370fa8d774abb6988920ed89f101f11ba92ccf7f44507abd90d3b7e6bd59f8 |
|
MD5 | d23983b642ba6dad223aba186965bed4 |
|
BLAKE2b-256 | a6b0689c41d7d903a3a90cb9fec59a05a92566d8609c0b5cca3ae304fd07ac1a |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.142-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298e6044d2c090513b7b3a7eb1ce0df66e56f70a81bbcd5549860d1a19d3176a |
|
MD5 | 579fa6342a89ab8f1257303f619c81d0 |
|
BLAKE2b-256 | 75f035e82e97af5f7147ac220dce0efc3706f16d8676f08f0fb4d437ed8ed37d |