An end-to-end pipeline for Bengali language that performs Automatic Speech Recognition (ASR) followed by a Question Answering (QA) on the transcribed text. The goal is to take a spoken passage in Bengali, convert it to text, and answer questions asked by the user using context from that passage.
IDEAS-Summer-Internship/
│
├── _pycache_
├── modules/ # ASR,QA Modules, and Models runner
| ├── _pycache_
│ ├── ai4bharat.py
| ├── nous_Mistral.py
| ├── bangla_llama.py
| ├── bangla_bert_qa.py
| ├── asr_module.py
│ └── qa_module.py
│
├── packages.txt # reqd packages import
│
├── evaluation/ # evaluation notebooks
│
├── requirements.txt # All dependencies
├── start.py # Entry point
├── README.md # You're here
└── .env # (to add) HF Secrets or config
git clone https://github.com/atr86/IDEAS-Summer-Internship.git
cd IDEAS-Summer-Internship
python -m venv ideas
source ideas/bin/activate # Linux/Mac
ideas\Scripts\activate # Windows
pip install -r requirements.txt
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
make
Keep whisper-cli.exe at top of directory
mv build/bin/whisper-cli.exe .. #For Linux
move build/bin/whisper-cli.exe .. #For Windows CMD
streamlit run start.py
This will:
Metrics implemented:
Results can be found in project report here and used datasets here.
You can evaluate model performance using provided evaluation notebooks in Evaluation folder or in Google drive.
.
| Task | Model | Source |
|---|---|---|
| ASR | Whisper-large-v3-gguf | OpenAI |
| ASR | IndicWhisper (ai4bharat/indic-whisper) | AI4Bharat |
| QA | BanglaBERT | BanglaBERT |
| QA | Mistral - GGUF | Nous-Hermes-2-Mistral-7B |
| QA | Bangla Llama -GGUF | Bangla-Llama-8B |
23 commits
Jupyter Notebook
93.6%
Python
6.4%
An end-to-end pipeline for Bengali language that performs Automatic Speech Recognition (ASR) followed by a Question Answering (QA) on the transcribed text. The goal is to take a spoken passage in Bengali, convert it to text, and answer questions asked by the user using context from that passage.
IDEAS-Summer-Internship/
│
├── _pycache_
├── modules/ # ASR,QA Modules, and Models runner
| ├── _pycache_
│ ├── ai4bharat.py
| ├── nous_Mistral.py
| ├── bangla_llama.py
| ├── bangla_bert_qa.py
| ├── asr_module.py
│ └── qa_module.py
│
├── packages.txt # reqd packages import
│
├── evaluation/ # evaluation notebooks
│
├── requirements.txt # All dependencies
├── start.py # Entry point
├── README.md # You're here
└── .env # (to add) HF Secrets or config
git clone https://github.com/atr86/IDEAS-Summer-Internship.git
cd IDEAS-Summer-Internship
python -m venv ideas
source ideas/bin/activate # Linux/Mac
ideas\Scripts\activate # Windows
pip install -r requirements.txt
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
make
Keep whisper-cli.exe at top of directory
mv build/bin/whisper-cli.exe .. #For Linux
move build/bin/whisper-cli.exe .. #For Windows CMD
streamlit run start.py
This will:
Metrics implemented:
Results can be found in project report here and used datasets here.
You can evaluate model performance using provided evaluation notebooks in Evaluation folder or in Google drive.
.
| Task | Model | Source |
|---|---|---|
| ASR | Whisper-large-v3-gguf | OpenAI |
| ASR | IndicWhisper (ai4bharat/indic-whisper) | AI4Bharat |
| QA | BanglaBERT | BanglaBERT |
| QA | Mistral - GGUF | Nous-Hermes-2-Mistral-7B |
| QA | Bangla Llama -GGUF | Bangla-Llama-8B |
23 commits
Jupyter Notebook
93.6%
Python
6.4%