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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eda210d34f1b737aa51415620267534c04e6986d979a97a496f050e1afb5b95 |
|
MD5 | 31b963aa7e421bf956b06f19804648ae |
|
BLAKE2b-256 | 2f523ff9367f5b8ead23e833f73fd4c71401e79df5073345f913773ebacf412d |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2857eca55f39f922a48ddfb0178687814f850fd214e98a9ca212af9e6947177c |
|
MD5 | b5b7af71703d4a3f6b5cc9ec155081b7 |
|
BLAKE2b-256 | aada2ee9dd17f911dfd04f1e22de13943bc66fb1042c633eaa319680e83b1089 |