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.163.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579ef2e733b80c7a2778945ff0b98036068bddf7621fa4ca9dc2d62515006c91 |
|
MD5 | 99b0885b00e4fa677635c77a3bc7fe5a |
|
BLAKE2b-256 | 2992b0afe673e1bee35f1cf76cb30242655136354f35114df8874c68585bce98 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.163-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfdadb76353455b076cc20f37d2a30e91d415dd8bf7e4ae0c40d5f25b6756cde |
|
MD5 | 04a40bec352da13f8998bd0a8a18f9d5 |
|
BLAKE2b-256 | 795c93978b2ef79081cd62b36b778284851ea8cdf5e3e941ff506a91b23682fe |