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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee83e88fbb16957b3f85a32cb3cb9883a786d60b6e5e7d48fc2572d0342ea5fb |
|
MD5 | 6ebdbf87288b4615b761891e3bb9c83b |
|
BLAKE2b-256 | 5ddd1b6cfb41e113fec8f7e02f1359cba33fd13b061edb2196712fe31d9630aa |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05068de31bc7069444616aa3f2dfda75860220d10c0f6d001972919d6ecf3ce3 |
|
MD5 | 2ab40354380467c87e4a176bdc5e0f9a |
|
BLAKE2b-256 | ee90e4a1c08b4e11521817ba87218ec8585b60e9b1c196fb3b273829b84214d2 |