Spaces:
Running
Running
Update pages.py
Browse files
pages.py
CHANGED
@@ -111,37 +111,14 @@ def audio_llm():
|
|
111 |
with col1:
|
112 |
audio_samples_w_instruct = {
|
113 |
'1_ASR_IMDA_PART1_ASR_v2_141' : "- Turn the spoken language into a text format.\n\n- Please translate the content into Chinese.",
|
114 |
-
'
|
115 |
-
'3_ASR_IMDA_PART1_ASR_v2_2265': "- Turn the spoken language into a text format.",
|
116 |
-
|
117 |
-
'4_ASR_IMDA_PART2_ASR_v2_999' : "- Translate the spoken words into text format.",
|
118 |
-
'5_ASR_IMDA_PART2_ASR_v2_2241': "- Translate the spoken words into text format.",
|
119 |
-
'6_ASR_IMDA_PART2_ASR_v2_3409': "- Translate the spoken words into text format.",
|
120 |
-
|
121 |
'7_ASR_IMDA_PART3_30_ASR_v2_2269': "- Need this talk written down, please.",
|
122 |
-
'8_ASR_IMDA_PART3_30_ASR_v2_1698': "- Need this talk written down, please.",
|
123 |
-
'9_ASR_IMDA_PART3_30_ASR_v2_2474': "- Need this talk written down, please.",
|
124 |
-
|
125 |
'10_ASR_IMDA_PART4_30_ASR_v2_1527': "- Write out the dialogue as text.",
|
126 |
-
'11_ASR_IMDA_PART4_30_ASR_v2_3771': "- Write out the dialogue as text.",
|
127 |
-
'12_ASR_IMDA_PART4_30_ASR_v2_103' : "- Write out the dialogue as text.",
|
128 |
-
|
129 |
'13_ASR_IMDA_PART5_30_ASR_v2_1446': "- Translate this vocal recording into a textual format.",
|
130 |
-
'14_ASR_IMDA_PART5_30_ASR_v2_2281': "- Translate this vocal recording into a textual format.",
|
131 |
-
'15_ASR_IMDA_PART5_30_ASR_v2_4388': "- Translate this vocal recording into a textual format.",
|
132 |
-
|
133 |
-
'16_ASR_IMDA_PART6_30_ASR_v2_576': "- Record the spoken word in text form.",
|
134 |
'17_ASR_IMDA_PART6_30_ASR_v2_1413': "- Record the spoken word in text form.",
|
135 |
-
'18_ASR_IMDA_PART6_30_ASR_v2_2834': "- Record the spoken word in text form.",
|
136 |
-
|
137 |
-
'19_ASR_AIShell_zh_ASR_v2_5044': "- Transform the oral presentation into a text document.",
|
138 |
-
'20_ASR_LIBRISPEECH_CLEAN_ASR_V2_833': "- Please provide a written transcription of the speech.",
|
139 |
|
140 |
'25_ST_COVOST2_ZH-CN_EN_ST_V2_4567': "- Please translate the given speech to English.",
|
141 |
'26_ST_COVOST2_EN_ZH-CN_ST_V2_5422': "- Please translate the given speech to Chinese.",
|
142 |
-
'27_ST_COVOST2_EN_ZH-CN_ST_V2_6697': "- Please translate the given speech to Chinese.",
|
143 |
-
'28_SI_ALPACA-GPT4-AUDIO_SI_V2_299': "- Please follow the instruction in the speech.",
|
144 |
-
'29_SI_ALPACA-GPT4-AUDIO_SI_V2_750': "- Please follow the instruction in the speech.",
|
145 |
'30_SI_ALPACA-GPT4-AUDIO_SI_V2_1454': "- Please follow the instruction in the speech.",
|
146 |
'31_SI_OPENHERMES-AUDIO_SI_V2_673': "- Please follow the instruction in the speech.",
|
147 |
|
@@ -164,7 +141,32 @@ def audio_llm():
|
|
164 |
|
165 |
'55_SQA_PUBLIC_SPEECH_SG_TEST_SQA_V2_2': "- What impact would the growth of the healthcare sector have on the country's economy in terms of employment and growth?",
|
166 |
'56_SQA_PUBLIC_SPEECH_SG_TEST_SQA_V2_415': "- Based on the statement, can you summarize the speaker's position on the recent controversial issues in Singapore?",
|
167 |
-
'57_SQA_PUBLIC_SPEECH_SG_TEST_SQA_V2_460': "- How does the author respond to parents' worries about masks in schools?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
audio_sample_names = [audio_sample_name for audio_sample_name in audio_samples_w_instruct.keys()]
|
|
|
111 |
with col1:
|
112 |
audio_samples_w_instruct = {
|
113 |
'1_ASR_IMDA_PART1_ASR_v2_141' : "- Turn the spoken language into a text format.\n\n- Please translate the content into Chinese.",
|
114 |
+
'4_ASR_IMDA_PART2_ASR_v2_999' : "- Translate the spoken words into text format.",
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
'7_ASR_IMDA_PART3_30_ASR_v2_2269': "- Need this talk written down, please.",
|
|
|
|
|
|
|
116 |
'10_ASR_IMDA_PART4_30_ASR_v2_1527': "- Write out the dialogue as text.",
|
|
|
|
|
|
|
117 |
'13_ASR_IMDA_PART5_30_ASR_v2_1446': "- Translate this vocal recording into a textual format.",
|
|
|
|
|
|
|
|
|
118 |
'17_ASR_IMDA_PART6_30_ASR_v2_1413': "- Record the spoken word in text form.",
|
|
|
|
|
|
|
|
|
119 |
|
120 |
'25_ST_COVOST2_ZH-CN_EN_ST_V2_4567': "- Please translate the given speech to English.",
|
121 |
'26_ST_COVOST2_EN_ZH-CN_ST_V2_5422': "- Please translate the given speech to Chinese.",
|
|
|
|
|
|
|
122 |
'30_SI_ALPACA-GPT4-AUDIO_SI_V2_1454': "- Please follow the instruction in the speech.",
|
123 |
'31_SI_OPENHERMES-AUDIO_SI_V2_673': "- Please follow the instruction in the speech.",
|
124 |
|
|
|
141 |
|
142 |
'55_SQA_PUBLIC_SPEECH_SG_TEST_SQA_V2_2': "- What impact would the growth of the healthcare sector have on the country's economy in terms of employment and growth?",
|
143 |
'56_SQA_PUBLIC_SPEECH_SG_TEST_SQA_V2_415': "- Based on the statement, can you summarize the speaker's position on the recent controversial issues in Singapore?",
|
144 |
+
'57_SQA_PUBLIC_SPEECH_SG_TEST_SQA_V2_460': "- How does the author respond to parents' worries about masks in schools?",
|
145 |
+
|
146 |
+
'2_ASR_IMDA_PART1_ASR_v2_2258': "- Turn the spoken language into a text format.\n\n- Please translate the content into Chinese.",
|
147 |
+
'3_ASR_IMDA_PART1_ASR_v2_2265': "- Turn the spoken language into a text format.",
|
148 |
+
|
149 |
+
'5_ASR_IMDA_PART2_ASR_v2_2241': "- Translate the spoken words into text format.",
|
150 |
+
'6_ASR_IMDA_PART2_ASR_v2_3409': "- Translate the spoken words into text format.",
|
151 |
+
|
152 |
+
'8_ASR_IMDA_PART3_30_ASR_v2_1698': "- Need this talk written down, please.",
|
153 |
+
'9_ASR_IMDA_PART3_30_ASR_v2_2474': "- Need this talk written down, please.",
|
154 |
+
|
155 |
+
'11_ASR_IMDA_PART4_30_ASR_v2_3771': "- Write out the dialogue as text.",
|
156 |
+
'12_ASR_IMDA_PART4_30_ASR_v2_103' : "- Write out the dialogue as text.",
|
157 |
+
|
158 |
+
'14_ASR_IMDA_PART5_30_ASR_v2_2281': "- Translate this vocal recording into a textual format.",
|
159 |
+
'15_ASR_IMDA_PART5_30_ASR_v2_4388': "- Translate this vocal recording into a textual format.",
|
160 |
+
|
161 |
+
'16_ASR_IMDA_PART6_30_ASR_v2_576': "- Record the spoken word in text form.",
|
162 |
+
'18_ASR_IMDA_PART6_30_ASR_v2_2834': "- Record the spoken word in text form.",
|
163 |
+
|
164 |
+
'19_ASR_AIShell_zh_ASR_v2_5044': "- Transform the oral presentation into a text document.",
|
165 |
+
'20_ASR_LIBRISPEECH_CLEAN_ASR_V2_833': "- Please provide a written transcription of the speech.",
|
166 |
+
|
167 |
+
'27_ST_COVOST2_EN_ZH-CN_ST_V2_6697': "- Please translate the given speech to Chinese.",
|
168 |
+
'28_SI_ALPACA-GPT4-AUDIO_SI_V2_299': "- Please follow the instruction in the speech.",
|
169 |
+
'29_SI_ALPACA-GPT4-AUDIO_SI_V2_750': "- Please follow the instruction in the speech.",
|
170 |
}
|
171 |
|
172 |
audio_sample_names = [audio_sample_name for audio_sample_name in audio_samples_w_instruct.keys()]
|