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.188.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133d8772374b51f5c89067f1aab1475c01c9edfc03a27ca6d2a12084d2ab2f51 |
|
MD5 | 1ee46934a6b7e0966f5090fb21426335 |
|
BLAKE2b-256 | 836702adb8d02c1edd4d6c31fb947bb0ed9d1a8db399c450fe440b1b7ad7738b |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.188-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6862bdb9a6d8ddfbb2d3caf9c1f5e2bd400f3ec1cc403ca52da64eb8daeaa5c |
|
MD5 | 607a76eea3efd0233f63dfb3ae1f6989 |
|
BLAKE2b-256 | 3893d74dc304816b4b5841653154e5f8aa4847568b33c528a3997013d23e45bc |