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.109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4be95faf05dc7d8fd107264342a3c04997ab20955483c83fd4812e17bfc34478 |
|
MD5 | 49d4a7b07d3f82c082efbd08920cf392 |
|
BLAKE2b-256 | a5dc5c242a6147684102771f17f6df41bff10f4a59ac7730f6393c9b4192d00a |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.109-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd89532df0bf95aff9a48d985e288b31ac1e1fc26e4b32d6bfc8089ecd679653 |
|
MD5 | e63ed4bc8b35593770697f49a73062e4 |
|
BLAKE2b-256 | 80ea600de68234a716fa734e7d12b849204ab7e5acd3d1d4d8598856471146f3 |