Closed MoritzLaurer closed 3 months ago
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Thanks for the review @Wauplin ! I've applied your suggestions and ran make style
.
One weird thing is that running python utils/generate_async_inference_client.py --update
removes references to async from the async client docstring (see this commit). I've first added references to async manually, but then the checks didn't pass anymore. Just flagging this in case that's unintended
great, thanks a lot for your review @Wauplin !
This PR does 3 things:
hypothesis_template
argument from the 0-shot pipeline, which is important for customizing 0-shot classificationTested it with a HF endpoint running the model
deberta-v3-large-zeroshot-v2
Example for use with hypothesis_template:
Example for use with single label: