Beijuka commited on
Commit
468ff44
·
verified ·
1 Parent(s): 7815fa5

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +41 -8
src/streamlit_app.py CHANGED
@@ -40,11 +40,44 @@ with tab2:
40
 
41
  with tab3:
42
  st.header("Model Collections")
43
- st.write("Explore available ASR models for African languages:")
44
-
45
- st.markdown("""
46
- - [Afrikaans Model](https://huggingface.co/asr-africa/mms-1B_all_nchlt_speech_corpus_Fleurs_CV_AFRIKAANS_57hr_v1)
47
- - [Hausa Model](https://huggingface.co/asr-africa/wav2vec2-xls-r-1b-naijavoices-hausa-500hr-v0)
48
- - [Yoruba Model](https://huggingface.co/asr-africa/wav2vec2-xls-r-1b-naijavoices-yoruba-500hr-v0)
49
- - *(Add more models as needed)*
50
- """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  with tab3:
42
  st.header("Model Collections")
43
+ st.write("Explore available ASR model collections, grouped by language:")
44
+
45
+ languages = {
46
+ "Ewe": "https://huggingface.co/collections/asr-africa/ewe-68d3d85e015eea82e1355e95",
47
+ "Swahili": "https://huggingface.co/collections/asr-africa/swahili-new-676666b26fd924e18fa8781a",
48
+ "Lingala": "https://huggingface.co/collections/asr-africa/lingala-new-676666a913beb149ccc22243",
49
+ "Luganda": "https://huggingface.co/collections/asr-africa/luganda-new-67666690a7812f6a52248d66",
50
+ "Wolof": "https://huggingface.co/collections/asr-africa/wolof-66fbeddd8f3b78428e0bdd57",
51
+ "Hausa": "https://huggingface.co/collections/asr-africa/hausa-66e14b187658eb2032f2d80b",
52
+ "Igbo": "https://huggingface.co/collections/asr-africa/igbo-66e14e30a533df3d8277334d",
53
+ "Yoruba": "https://huggingface.co/collections/asr-africa/yoruba-66e15043c177114958255eaa",
54
+ "Bambara": "https://huggingface.co/collections/asr-africa/bambara-66e152a56048d62cd8e6750b",
55
+ "Zulu": "https://huggingface.co/collections/asr-africa/zulu-66e1d8c419ce4dfba1d500b1",
56
+ "Xhosa": "https://huggingface.co/collections/asr-africa/xhosa-66e1da92a4fcbc413b4699eb",
57
+ "Afrikaans": "https://huggingface.co/collections/asr-africa/afrikaans-66e1dc2e07da322da51ca415",
58
+ "Bemba": "https://huggingface.co/collections/asr-africa/bemba-66e1dd3adce93c72498d12c3",
59
+ "Shona": "https://huggingface.co/collections/asr-africa/shona-66e1de0a076e2b2237b7c5a8",
60
+ "Kinyarwanda": "https://huggingface.co/collections/asr-africa/kinyarwanda-66e2e97e15879154e1f47fb7",
61
+ "Fula": "https://huggingface.co/collections/asr-africa/fula-66e97b9370af82f2d163e80d",
62
+ "Akan": "https://huggingface.co/collections/asr-africa/akan-66e97d0da2f86f17cad499f0"
63
+ }
64
+
65
+ base_models = {
66
+ "Wav2Vec2 XLS-R (300M)": "https://huggingface.co/facebook/wav2vec2-xls-r-300m",
67
+ "Whisper-Small": "https://huggingface.co/openai/whisper-small",
68
+ "MMS-1B": "https://huggingface.co/facebook/mms-1b-all",
69
+ "W2V2-BERT 2.0": "https://huggingface.co/facebook/w2v-bert-2.0"
70
+ }
71
+
72
+ st.subheader("Base Architectures")
73
+ for name, link in base_models.items():
74
+ st.markdown(f"- [{name}]({link})")
75
+
76
+ st.subheader("Language-Specific Collections")
77
+ for lang, link in languages.items():
78
+ with st.expander(f"{lang} Models"):
79
+ st.markdown(f"[View full {lang} collection on Hugging Face]({link})")
80
+ st.write(
81
+ "Models fine-tuned from Wav2Vec2 XLS-R, Whisper, MMS-1B, and W2V2-BERT "
82
+ "to support high-quality speech recognition in this language."
83
+ )