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.241.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da78703fa09a7b90f76793cc209f93adbdd6490f1e1c882d49c0305fe780ab51 |
|
MD5 | 11fb39d208a6446367fa7fe4949d9192 |
|
BLAKE2b-256 | 08ac3592778042c2f6fa923cc72c46b40f17c2b3bc859d9aa0ba45c080d928d7 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.241-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca98ec5ba8a4f905d2d109bbe8445bd7840cf0cffb2752412f9f68f0af38235 |
|
MD5 | f2add6be8ae58d75320d191b77407ce8 |
|
BLAKE2b-256 | 9fdc4b15c978c082a849184cdc62cdd612586cc03b2991e92e868a470d008c8c |