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.90.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 023ca36ad8b27eebf06708fc030270bdad99ed0d77fd989d5721477e15b87c54 |
|
MD5 | 6597896096e72ccc07495f8031ea7b03 |
|
BLAKE2b-256 | f71648e77599c3c172e6d126992fd8cddaf5e01fa9ea0bb3c13c701b3f33cd65 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.90-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 095af098657153af033a2dcfaac62b8ea4cc8a10d3927978dec383cd81348470 |
|
MD5 | 501d368c5142e1d6c93a5fc9949bd623 |
|
BLAKE2b-256 | fbd45fe7e865f6c62c43d1a573920023cd22c6661e587f5d45eaa0ff56ba63c0 |