abdelhalim commited on
Commit
0155448
1 Parent(s): 3ddd2b5

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ **Context**
3
+
4
+ Most of our great brilliant ideas happen in periods of relaxation, like taking a
5
+ shower, however, once we leave the shower, we forget the brilliant idea. What if
6
+ we do not forget, and collect your ideas in the shower?
7
+
8
+ **What is the Shower Ideas concept?**
9
+
10
+ This is an app that detects when someone is taking a shower (douche) and asks
11
+ “do you have any idea?”, and the person will speak while taking the shower telling
12
+ the idea. And also will ask questions after taking a shower.
13
+
14
+ **Abstract about the model**
15
+
16
+ This model was trained based on *facebook/wav2vec2-base-960h* (which is a pretrained model on 960 hours of Librispeech on 16kHz sampled speech audio.) in order to classify the audio input into shower or no_shower.
17
+
18
+ **Dataset**
19
+
20
+ The SHD-2 dataset is a labeled collection of 2260 audio recordings of shower and no shower sounds.
21
+
22
+ The dataset consists of 6-second-long recordings organized into 2 classes (with 1130 examples per class).
23
+
24
+ # Usage
25
+ In order to use the model in your Python script just copy the following code:
26
+ ```python
27
+ from transformers import pipeline
28
+
29
+ audio_input = 'example.wav'
30
+ classifier = pipeline("audio-classification", model="abdelhalim/Shower_Sound_Recognition")
31
+ labels = classifier(audio_input)
32
+ labels
33
+
34
+ ```