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.4.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede53b1cb16521a052ec4adf1e2ff712baad46f8ada74746e39a791e2d715453 |
|
MD5 | 580b60270986925215448ca5277c788e |
|
BLAKE2b-256 | 38133a05ccec6f06849567d93f605b4111ec584bc104f2a8fd69d3147a39580e |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8acb9df3cd6be134ecad179975c6cfb1ad74db51271f0a51f84adcb1a589709 |
|
MD5 | 1f3b2bcd3972b97c3a88d7a841d66444 |
|
BLAKE2b-256 | 0f81509b7d113e391118c7c7129047c35863c154c977220a0c89389789fb4d4b |