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.134.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a447d5d4e0d218ea9655fa48d4c7797c29d22465f8b35c428938f5acfb5be15 |
|
MD5 | c28c77cfab33ccbc09dd77d4bfc935a1 |
|
BLAKE2b-256 | 62f02d1466bbc5dd2863455a22ca5bda6070e25f3c797aa55c53c5b07354d2a1 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.134-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2817e1909583158a18a2980fbc8fb352d4a6cd15e7e080e5669dfcfc7c23dcb |
|
MD5 | f37ca5245bbecfea989c96a34539c46e |
|
BLAKE2b-256 | 2a18e99d42510cab835d78063e099068b376891cc923acbd4fe9596e8a10b1cd |