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.228.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972b68effae36eed5d89bcb2f94166125907bbd8abea89d7838946ea376cc2df |
|
MD5 | d9c81d7afa040ab900501aceab746b4c |
|
BLAKE2b-256 | 2f52b7e5b71ac9fa5d1fd2ddc2e7e1d4b1438fe7c8c6df14169cc87401081e21 |
Close
Hashes for pyannotators_zeroshotclassifier-0.5.228-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3b12110e341362e36f6541d92b63f9c90e175e18dce2dbe9f2f0ff4560cd2a |
|
MD5 | 15269f494425a8aefbe62ba66e9f3ca7 |
|
BLAKE2b-256 | e060645cfcaa3dc4bc2cfef04a8521638dbec3e0676c992a2894eadf623b5a26 |