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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0117d15440755ab1d460a0469f9229422deb4d6fdfe3d0e98227b47bdb31195 |
|
MD5 | b0f65a3f08b624d7aa0a30713eaf9949 |
|
BLAKE2b-256 | f8260f4e2b4eb4aa5b7ddc77e349d0efc5e52c0204572f58488296d806141b55 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0313c740e5be035947535c5bbfa9a31a8d44bbfb361e7822cc32e18dc5fc158f |
|
MD5 | 0a8dbb18f2119a2254e7608201a6a636 |
|
BLAKE2b-256 | ffa4668c7e62817645783da8f8931ea1daad5435f4aeb2c8f1515e095ca47fb4 |