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.184.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d5dc36abd2fd84a81b8328d51f127b4cf9566e27a628f87eb5aa239d349d7b |
|
MD5 | fe0768e6846f54c319eee985c058aebf |
|
BLAKE2b-256 | 0876b01a82f12603e74a88d2bec37f3664f2e5c30d2fd81fc977466f4b3d6013 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.184-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b464573eb522b27352ba8a303101639c381b91e73339cba148f11d8d054bba5a |
|
MD5 | 225117691efee5d4282a00e1f6c266eb |
|
BLAKE2b-256 | c5ac7ba9bc69528c90f12647931e9e9696852950a34d16731068128ca292445e |