osanseviero
HF staff
commited on
Commit
2681d11
1 Parent(s): 4fec958

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - superb
4
+ - speaker-diarization
5
+ - benchmark:superb
6
+ library_name: superb
7
+ ---
8
+
9
+ # Test for superb using hubert downstream SD
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ import io
15
+ import soundfile as sf
16
+ from urllib.request import urlopen
17
+ from model import PreTrainedModel
18
+
19
+ model = PreTrainedModel()
20
+ url = "https://huggingface.co/datasets/lewtun/s3prl-sd-dummy/raw/main/audio.wav"
21
+ data, samplerate = sf.read(io.BytesIO(urlopen(url).read()))
22
+ print(model(data))
23
+ ```