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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906b450d41e477a1760286fb665e7532dfa0421b6d65c2aeff5e3e09da9c22ad |
|
MD5 | d21a1a76c6e9fe007301c79beb8b3808 |
|
BLAKE2b-256 | b57ffd263d6e8c12a5caef43a12c3aaa1740eb91febca4dbe38788af79aac7cd |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.151-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a05471cfd2616c4328ab20a2d2ff7f20c14af30d866f386e932d4c8ca3f273c4 |
|
MD5 | 50da6d294bb3f65279a78993c58a5f62 |
|
BLAKE2b-256 | bd590a4319b2e48ce5ab0d1d98f4f6683855cd95d2a317548b8f64a591a86605 |