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.233.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7bbb3b14eb428b1cf400f267fa79eb4769d6481af9ca4e2e08bf09941b1f53 |
|
MD5 | e0b8179e489e928f485d4ecc128939fd |
|
BLAKE2b-256 | bd912bdabc186c67e7edd7162e5231719adf6c2dda59c4415d6009c44a1a758f |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.233-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2494433efb498c5b29241a89f5457db3f0b0a1e183cb6275d59de2fb8ecd5983 |
|
MD5 | 1a5e66faacffe39f6cea1b3ec680d6da |
|
BLAKE2b-256 | f12d8aee6480682986bc9e2897ddcabfa48131ce129a6e87ae00e931ae4c1953 |