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.113.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5bca4da02937ada90eecd4b9fdf1137848b1525581405c05ba52577aa2d262 |
|
MD5 | 0057b6808f70e2f800c367b04ec1b4da |
|
BLAKE2b-256 | 544d4822e565984889f6e0c7533d03d040aceae2ab74c4d739f8922fef6ad3aa |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.113-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f278675e305a9be660a527a9b8688e1f48011d8fab95d5b579c0583039afacf8 |
|
MD5 | 64b2c38a1aedcc22261aec1733c11f4e |
|
BLAKE2b-256 | 5ef745bc41b517f2a48289023257a9243dc5c949dba4c494eca0ed9843558f7e |