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.121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2605f66e9c94ed6532d9de9d530f53936cbf3f2c58d0a9196be29517343f804 |
|
MD5 | 2a1b3370adbd7c038ad586f140ded87e |
|
BLAKE2b-256 | 6bc2f2830cc5e3f2ff25869ab2a1a14dda774ed446c62fb502c3a15b6bf217b1 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6128c0fee438f18f8712280ee34dc1b3227fad6f4be8d1f022d9c3ef31d246 |
|
MD5 | a3a8f9715f02ec3ec071251efeebe919 |
|
BLAKE2b-256 | f81030b088890dff9d8438f5d371103af8e1cb28b593b9ad3f23257b6f49f22b |