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.236.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aeae04a5a748fb5873aa215b0b61c17d15baf1e5f96d520454cf1c38618da1d |
|
MD5 | 8b1ba74eeb3dcec0c03001591dd6856a |
|
BLAKE2b-256 | c814f97c0319bfb925d2487e4df32cc3c1250845154ea335cae3b717bec9d4e7 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.236-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8d2e8e31b44cc238c07c81153c41a01c113354f58b7de56b8023cc0b178e0a8 |
|
MD5 | cb473f6dda3634008ed9ca129915ffd5 |
|
BLAKE2b-256 | 057487cd18c7b93d82675da9be63a013323257fd840ede9903519e3d25b648e9 |