Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- app/content.py +1 -1
- app/draw_diagram.py +3 -3
- app/pages.py +2 -2
app/content.py
CHANGED
@@ -6,7 +6,7 @@ asr_datsets = {'LibriSpeech-Test-Clean': 'aa',
|
|
6 |
'Earnings21-Test': 'ff',
|
7 |
'Earnings22-Test': 'gg',
|
8 |
'Tedlium3-Test': 'hh',
|
9 |
-
'Tedlium3-
|
10 |
'IMDA-Part1-ASR-Test': 'jj',
|
11 |
'IMDA-Part2-ASR-Test': 'kk'
|
12 |
}
|
|
|
6 |
'Earnings21-Test': 'ff',
|
7 |
'Earnings22-Test': 'gg',
|
8 |
'Tedlium3-Test': 'hh',
|
9 |
+
'Tedlium3-Long-form-Test': 'ii',
|
10 |
'IMDA-Part1-ASR-Test': 'jj',
|
11 |
'IMDA-Part2-ASR-Test': 'kk'
|
12 |
}
|
app/draw_diagram.py
CHANGED
@@ -52,8 +52,8 @@ def draw(folder_name, category_name, dataset_name, metrics):
|
|
52 |
if len(chart_data) == 0:
|
53 |
return
|
54 |
|
55 |
-
min_value = round(chart_data.iloc[:, 1::].min().min() - 0.1, 1)
|
56 |
-
max_value = round(chart_data.iloc[:, 1::].max().max() + 0.1, 1)
|
57 |
|
58 |
options = {
|
59 |
"title": {"text": f"{display_names[folder_name.upper()]}"},
|
@@ -117,7 +117,7 @@ def draw(folder_name, category_name, dataset_name, metrics):
|
|
117 |
'''
|
118 |
show samples
|
119 |
'''
|
120 |
-
if dataset_name in ['Earnings21-Test', 'Earnings22-Test', 'Tedlium3-
|
121 |
pass
|
122 |
else:
|
123 |
show_examples(category_name, dataset_name, chart_data['Model'].tolist())
|
|
|
52 |
if len(chart_data) == 0:
|
53 |
return
|
54 |
|
55 |
+
min_value = round(chart_data.iloc[:, 1::].min().min() - 0.1*int(chart_data.iloc[:, 1::].min().min(), 1)
|
56 |
+
max_value = round(chart_data.iloc[:, 1::].max().max() + 0.1*chart_data.iloc[:, 1::].max().max(), 1)
|
57 |
|
58 |
options = {
|
59 |
"title": {"text": f"{display_names[folder_name.upper()]}"},
|
|
|
117 |
'''
|
118 |
show samples
|
119 |
'''
|
120 |
+
if dataset_name in ['Earnings21-Test', 'Earnings22-Test', 'Tedlium3-Long-form-Test']:
|
121 |
pass
|
122 |
else:
|
123 |
show_examples(category_name, dataset_name, chart_data['Model'].tolist())
|
app/pages.py
CHANGED
@@ -102,7 +102,7 @@ def asr():
|
|
102 |
'Earnings21-Test',
|
103 |
'Earnings22-Test',
|
104 |
'Tedlium3-Test',
|
105 |
-
'Tedlium3-
|
106 |
'IMDA-Part1-ASR-Test',
|
107 |
'IMDA-Part2-ASR-Test']
|
108 |
|
@@ -114,7 +114,7 @@ def asr():
|
|
114 |
# with middle:
|
115 |
# if filter_1 == filters_levelone[0]:
|
116 |
# sort_leveltwo = ['LibriSpeech-Test-Clean', 'LibriSpeech-Test-Other', 'Common-Voice-15-En-Test', 'Peoples-Speech-Test',
|
117 |
-
# 'GigaSpeech-Test', 'Tedlium3-Test','Tedlium3-
|
118 |
# elif filter_1 == filters_levelone[1]:
|
119 |
# sort_leveltwo = ['CN-College-Listen-Test', 'SLUE-P2-SQA5-Test', 'DREAM-TTS-Test', 'Public-SG-SpeechQA-Test']
|
120 |
|
|
|
102 |
'Earnings21-Test',
|
103 |
'Earnings22-Test',
|
104 |
'Tedlium3-Test',
|
105 |
+
'Tedlium3-Long-form-Test',
|
106 |
'IMDA-Part1-ASR-Test',
|
107 |
'IMDA-Part2-ASR-Test']
|
108 |
|
|
|
114 |
# with middle:
|
115 |
# if filter_1 == filters_levelone[0]:
|
116 |
# sort_leveltwo = ['LibriSpeech-Test-Clean', 'LibriSpeech-Test-Other', 'Common-Voice-15-En-Test', 'Peoples-Speech-Test',
|
117 |
+
# 'GigaSpeech-Test', 'Tedlium3-Test','Tedlium3-Long-form-Test', 'Earning-21-Test', 'Earning-22-Test']
|
118 |
# elif filter_1 == filters_levelone[1]:
|
119 |
# sort_leveltwo = ['CN-College-Listen-Test', 'SLUE-P2-SQA5-Test', 'DREAM-TTS-Test', 'Public-SG-SpeechQA-Test']
|
120 |
|