mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
[pipeline
]. Zero shot add doc warning (#29845)
* add doc warning * fix build pr
This commit is contained in:
parent
543889f3f6
commit
3a7e68362b
@ -35,6 +35,12 @@ class ZeroShotAudioClassificationPipeline(Pipeline):
|
||||
Zero shot audio classification pipeline using `ClapModel`. This pipeline predicts the class of an audio when you
|
||||
provide an audio and a set of `candidate_labels`.
|
||||
|
||||
<Tip warning={true}>
|
||||
|
||||
The default `hypothesis_template` is : `"This is a sound of {}."`. Make sure you update it for your usage.
|
||||
|
||||
</Tip>
|
||||
|
||||
Example:
|
||||
```python
|
||||
>>> from transformers import pipeline
|
||||
|
Loading…
Reference in New Issue
Block a user