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.144.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc04c44987ac6f2894e8503937e109f2eb82c576158290326f98a139e4a7e442 |
|
MD5 | 2793b3baca44bb358bf5ed5544049b62 |
|
BLAKE2b-256 | f7766362394160ae5bfe40c8b3255862d904efa00ad5e746a7e7eed9dee0d07b |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.144-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 594167c7ef615aee04d174a1c575efabb408d4409c2147a6841a8f27c00991e2 |
|
MD5 | 76fff06329d55ceddcd0624d2d6985c4 |
|
BLAKE2b-256 | 681c84814883842999907164b53924600705d2732927eac31e4ff733823fc06f |