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.93.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e9d380b38905e5e7ff459dce438150e12957d1b515b7f03404294404ca7ab7 |
|
MD5 | 381b65fdd02dca8b3e08d273ef1c58ba |
|
BLAKE2b-256 | 02893da28cbb3f0e14be27c0b7601ffd7ed453a8249bd33b4dd70c6a7b3fb446 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.93-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98b1b1c6029c6a0688117b09ebd7f51f7e1385a3dbe0f54fbdd23d4f97572ddc |
|
MD5 | ea6db08103a6c98617ca382e2413baab |
|
BLAKE2b-256 | fe4f66a4d9ca3a8411aa3f3fc5446578859c7af21b84c1679a15fdc312f9111f |