"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "36362cf08637dea5aa00f209067e9c17b0bb2a69"
Unverified Commit 43299c63 authored by Arthur's avatar Arthur Committed by GitHub
Browse files

fix checkpoint (#21874)

parent 89359e4c
......@@ -32,7 +32,7 @@ class ZeroShotAudioClassificationPipeline(ChunkPipeline):
>>> dataset = load_dataset("ashraq/esc50")
>>> audio = next(iter(dataset["train"]["audio"]))["array"]
>>> classifier = pipeline(task="zero-shot-audio-classification", model="laion-ai/clap-htsat-tiny")
>>> classifier = pipeline(task="zero-shot-audio-classification", model="laion/clap-htsat-unfused")
>>> classifier(audio, candidate_labels=["Sound of a dog", "Sound of vaccum cleaner"])
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment