Skip to content

Commit

Permalink
feat/ocp_pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jan 6, 2024
1 parent 874796a commit 0b43794
Show file tree
Hide file tree
Showing 45 changed files with 1,610,232 additions and 1 deletion.
Empty file.
5 changes: 5 additions & 0 deletions ovos_core/intent_services/locale/en-us/Music.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

music
radio
song
tunes
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/Next.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

next
skip
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/Pause.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

pause
4 changes: 4 additions & 0 deletions ovos_core/intent_services/locale/en-us/Play.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
search
read
play
start
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/PlayResume.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

play resume
resume play
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/Prev.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
go back
go back one
previous
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/Resume.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

resume
unpause
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/Track.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
song
track
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/audio.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(play|start) (audio|audio only)
(play|start) audio only {{query}}
(play|start) {{query}} audio only
5 changes: 5 additions & 0 deletions ovos_core/intent_services/locale/en-us/audio_only.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
audio only
no video
only audio
only sound
sound only
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/behind_scenes.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
behind scenes
behind the scenes
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/cant.play.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

I'm not sure how to play {{phrase}}
Sorry, I don't know how to play {{phrase}}
7 changes: 7 additions & 0 deletions ovos_core/intent_services/locale/en-us/converse_resume.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

play
restart
restart music
resume
resume music
resume playing
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/featured.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(open|show|display) (featured|) {media} (catalog|collection|playlist)
(open|show|display) featured {media}
4 changes: 4 additions & 0 deletions ovos_core/intent_services/locale/en-us/just.one.moment.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

Give me a moment to check for that
Just a second
Just one moment while I look for that
6 changes: 6 additions & 0 deletions ovos_core/intent_services/locale/en-us/next.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(next|skip)
(next|skip) (music|song|track|video|media)
(play|go to) next (music|song|track|video|media)
play next
next
next (song|track|music|movie|video|tune)
4 changes: 4 additions & 0 deletions ovos_core/intent_services/locale/en-us/open.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
open (OCP|O C P|common|ovos|open voice os) (player|media player)
open (OCP|O C P|ovos common play|common play|ovos media player|open voice os player) (home screen|home page|homescreen|homepage|menu)
open (OCP|O C P|ovos common play|open voice os common play|common play)
open (media|music|gui|video) (player|catalog|skills|menu|playback)
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/pause.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pause
pause (music|song|track|video|media|playback)
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/phrase.rx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bork (?P<Phrase>.*)
play (?P<Phrase>.*)
start (?P<Phrase>.*)
5 changes: 5 additions & 0 deletions ovos_core/intent_services/locale/en-us/play.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(play|start) {{query}}
search (common play|ocp|ovos common play|O C P) for {{query}}
search (ovos|open voice os) media for {{query}}
search {{query}} (in|on) (common play|ocp|ovos common play|O C P)
search {{query}} (in|on) (ovos|open voice os) media
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/play.what.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

What should i play next?
5 changes: 5 additions & 0 deletions ovos_core/intent_services/locale/en-us/prev.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(play previous|go back one) (music|song|track|video|media)
(play previous|previous) (music|song|track|video|media)
(play previous|previous|go back)
previous
previous (song|track|music|movie|video|tune)
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/read.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
read (book|audiobook|audio book) {{query}}
read {{query}}
read {{query}} (book|audiobook|audio book)
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/resume.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(unpause|resume)
(unpause|resume|continue|restart) (music|song|track|video|media|playback)
play
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/setup.hints.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

I'm not configured to play music yet. You can setup music services such as Pandora and Spotify at home dot mycroft dot ai.
It sounds like you are trying to listen to some music, but you have not yet set up any music skills. Please go to market.mycroft.ai to install and configure a music service skill.
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/stop.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
stop
stop (playback|media|media playback|music|movie|movies|noise)
stop everything
5 changes: 5 additions & 0 deletions ovos_core/intent_services/locale/en-us/video.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(play|start) (a|some|random) (video|video footage|video clip)
(play|start) (a|some|random) (video|video footage|video clip) {{query}}
(play|start) (video|video footage|video clip)
(play|start) (video|video footage|video clip) {{query}}
(play|start) {{query}} (with video|video)
5 changes: 5 additions & 0 deletions ovos_core/intent_services/locale/en-us/video_only.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
do not cast to audio
don't cast to audio
no audio player
only video
video only
38 changes: 38 additions & 0 deletions ovos_core/intent_services/models/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Binary Classifier

labels: OCP, other

| pipeline | language | accuracy | params | size (MB) |
|----------------------------|----------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|
| binary_ocp_cv2_kw_medium * | en | 0.9931496867494176 | {'penalty': None, 'l1_ratio': 0.15, 'early_stopping': False, 'alpha': 0.07} | 0.01 |
| binary_ocp_cv2_small | en | 0.9888979130544839 | {'penalty': None, 'l1_ratio': 0.9, 'early_stopping': False, 'alpha': 0.005} | 2.166 |
| binary_ocp_kw_small | all | 0.9326234280627232 | {'solver': 'adam', 'learning_rate': 'invscaling', 'hidden_layer_sizes': (120, 20, 80), 'early_stopping': True, 'alpha': 0.006, 'activation': 'tanh'} | 2.373 |
| binary_ocp_kw_tiny | all | 0.8919135638508334 | {'penalty': None, 'l1_ratio': 0.7, 'early_stopping': True, 'alpha': 0.02} | 0.01 |

`*` requires `binary_ocp_cv2_small`

# Playback Classifier

labels: audio, video, external

| pipeline | language | accuracy | params | size (MB) |
|------------------------------|----------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|
| playback_ocp_cv2_kw_medium * | en | 0.9491247659281933 | {'penalty': None, 'l1_ratio': 0.5, 'early_stopping': False, 'alpha': 0.07} | 0.021 |
| playback_ocp_kw_small | all | 0.9017183438359262 | {'solver': 'adam', 'learning_rate': 'invscaling', 'hidden_layer_sizes': (114, 101, 36), 'early_stopping': False, 'alpha': 0.0485, 'activation': 'tanh'} | 3.904 |
| playback_ocp_kw_tiny | all | 0.8325265234776467 | {'penalty': None, 'l1_ratio': 0.9, 'early_stopping': False, 'alpha': 0.0001} | 0.021 |

`*` requires `playback_ocp_cv2_small`

# Media Classifier

labels: movie, music, audiobook, podcast ....

| pipeline | language | accuracy | params | size (MB) |
|---------------------------|----------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------|-----------|
| media_ocp_cv2_kw_medium * | en | 0.9054523222627585 | {'penalty': None, 'l1_ratio': 0.3, 'early_stopping': False, 'alpha': 0.05} | 0.186 |
| media_ocp_cv2_medium | en | 0.8683117027695156 | {'penalty': None, 'l1_ratio': 0.5, 'early_stopping': False, 'alpha': 0.01} | 54.841 |
| media_ocp_kw_small | all | 0.8558702042868357 | {'solver': 'adam', 'learning_rate': 'constant', 'hidden_layer_sizes': (63, 38), 'early_stopping': False, 'alpha': 0.006, 'activation': 'relu'} | 1.468 |
| media_ocp_kw_tiny | all | 0.8136730385986041 | {'penalty': None, 'l1_ratio': 0.5, 'early_stopping': False, 'alpha': 0.005} | 0.154 |

`*` requires `media_ocp_cv2_medium`

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 0b43794

Please sign in to comment.