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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb21268ee0ed82acaaeb6bbabacb57ae7393c8add413867251ffdc5609296dea |
|
MD5 | 5d327b392e2ffdc4f5c15d798c9d38bf |
|
BLAKE2b-256 | d9c74f3fc87e26a08936c6e452d34ca7ba318a3edaa1297fb77035fbb48e5965 |
Close
Hashes for pyannotators_zeroshotclassifier-0.4.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9edfccf864bfcd5bf72bc3f150336610667294132edb4def7a85a1253dabd8de |
|
MD5 | 061f635e131e5264879633fd98f8a163 |
|
BLAKE2b-256 | 6b253347f4e92150e026b4eeeff2f3b151ca800b003576d7f3e8171e8b258338 |