Update README.md
This commit is contained in:
@@ -48,6 +48,16 @@ audio_embeddings = clap_model.get_audio_embeddings(file_paths: List[str])
|
||||
sim = clap_model.compute_similarity(audio_embeddings, text_embeddings)
|
||||
```
|
||||
|
||||
## Examples
|
||||
To run zero-shot evaluation on ESC50 dataset or on a single audio file from ESC50 check `CLAP\src\`. For zero-shot evaluation on ESC50 dataset:
|
||||
```bash
|
||||
> cd src && python zero_shot_classification.py
|
||||
```
|
||||
Output
|
||||
```bash
|
||||
ESC50 Accuracy: 82.6%
|
||||
```
|
||||
|
||||
## Citation
|
||||
https://arxiv.org/pdf/2206.04769.pdf
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user