Built by- Amit Ramrakhyani, Mit Kumar Patel, Vatsal Balasra, Tithi Dangarwala, Bhavya Shah and Varzil Thakkar
Problem Statement: Speech to text transcription for Indian languages. The problem entails transcription in the native script and then translation to English. The languages of interest are Hindi, Indian English, Urdu, Bengali, Punjabi.
Our Approach: Our project focuses on building a user-friendly platform that accommodates the various languages spoken across India, such as Hindi, Urdu, Bengali, Punjabi, and Indian English. Users can input audio content in their chosen language, and our platform will provide an audio output with an English translation. This initiative aims to facilitate communication across language differences within India.
Required Tech Stack:
git clone https://github.com/balasravatsal/VerbalLinguists
cd VerbalLinguists
# Let's install virtualenv first
pip install virtualenv
# Then we create our virtual environment
virtualenv venv
source envname\scripts\activate
pip install -r requirements.txt
python3 run.py
python3 main.py
The flow of the execution of program includes following steps:
"in steps mein we can include using this or that library"
"flow chart idhar aayega"
apt install -y liblzma-dev libbz2-dev libzstd-dev libsndfile1-dev libopenblas-dev li
rm -rf IndicWav2Vec fairseq kenlm flashlight
git clone https://github.com/AI4Bharat/IndicWav2Vec.git
git clone https://github.com/pytorch/fairseq.git
git clone https://github.com/kpu/kenlm.git
git clone https://github.com/flashlight/flashlight.git
pip install packaging soundfile swifter -r w2v_inference/requirements.txt
cd kenlm
mkdir -p build
cd build
cmake ..
make -j 16
cd /
cd /flashlight/bindings/python
git checkout 06ddb51857ab1780d793c52948a0759f0ccc6ddb
export USE_MKL=0 && export KENLM_ROOT="/kenlm/" && python setup.py install
cd /
cd /IndicWav2Vec
apt-get -y install tree && tree -dC workshop-2022/asr_data/noa_training_1hr
cd IndicWav2Vec/workshop-2022
mkdir models
cd models && rm -rf hi_mucs_dc.pt* && wget https://storage.googleapis.com/ai4b-speech/TTS/KENLM/hi_mucs_dc.pt
cd models && rm -rf checkpoint_ft.pt* && wget https://storage.googleapis.com/ai4b-speech/TTS/KENLM/checkpoint_ft.pt
cd ..
fairseq-hydra-train task.data=${PWD}"/workshop-2022/asr_data/noa_training_1hr/manifest/hindi" \
dataset.max_tokens=200000 \
common.log_interval=20 \
model.freeze_finetune_updates=1000 \
model.w2v_path=${PWD}"/workshop-2022/models/checkpoint_ft.pt" \
checkpoint.save_dir=${PWD}"/workshop-2022/models/indicwav2vec_noa" \
checkpoint.restore_file=${PWD}"/workshop-2022/models/hi_mucs_dc.pt" \
distributed_training.distributed_world_size=1 \
+optimization.update_freq='[1]' \
+optimization.lr=[0.0001] \
optimization.max_update=100000 \
checkpoint.save_interval_updates=10000 \
--config-dir ${PWD}"/finetune_configs" \
--config-name ai4b_xlsr
Issues can be found during the translation of Urdu Audio. Urdu has a lot of similarities to Hindi which makes it hard for the model to recognize the language.
Also Indian English is not inluded..."iska mein aage likh rahi hu"
JavaScript
64.8%
Python
26.1%
HTML
4.6%
CSS
4.5%
Built by- Amit Ramrakhyani, Mit Kumar Patel, Vatsal Balasra, Tithi Dangarwala, Bhavya Shah and Varzil Thakkar
Problem Statement: Speech to text transcription for Indian languages. The problem entails transcription in the native script and then translation to English. The languages of interest are Hindi, Indian English, Urdu, Bengali, Punjabi.
Our Approach: Our project focuses on building a user-friendly platform that accommodates the various languages spoken across India, such as Hindi, Urdu, Bengali, Punjabi, and Indian English. Users can input audio content in their chosen language, and our platform will provide an audio output with an English translation. This initiative aims to facilitate communication across language differences within India.
Required Tech Stack:
git clone https://github.com/balasravatsal/VerbalLinguists
cd VerbalLinguists
# Let's install virtualenv first
pip install virtualenv
# Then we create our virtual environment
virtualenv venv
source envname\scripts\activate
pip install -r requirements.txt
python3 run.py
python3 main.py
The flow of the execution of program includes following steps:
"in steps mein we can include using this or that library"
"flow chart idhar aayega"
apt install -y liblzma-dev libbz2-dev libzstd-dev libsndfile1-dev libopenblas-dev li
rm -rf IndicWav2Vec fairseq kenlm flashlight
git clone https://github.com/AI4Bharat/IndicWav2Vec.git
git clone https://github.com/pytorch/fairseq.git
git clone https://github.com/kpu/kenlm.git
git clone https://github.com/flashlight/flashlight.git
pip install packaging soundfile swifter -r w2v_inference/requirements.txt
cd kenlm
mkdir -p build
cd build
cmake ..
make -j 16
cd /
cd /flashlight/bindings/python
git checkout 06ddb51857ab1780d793c52948a0759f0ccc6ddb
export USE_MKL=0 && export KENLM_ROOT="/kenlm/" && python setup.py install
cd /
cd /IndicWav2Vec
apt-get -y install tree && tree -dC workshop-2022/asr_data/noa_training_1hr
cd IndicWav2Vec/workshop-2022
mkdir models
cd models && rm -rf hi_mucs_dc.pt* && wget https://storage.googleapis.com/ai4b-speech/TTS/KENLM/hi_mucs_dc.pt
cd models && rm -rf checkpoint_ft.pt* && wget https://storage.googleapis.com/ai4b-speech/TTS/KENLM/checkpoint_ft.pt
cd ..
fairseq-hydra-train task.data=${PWD}"/workshop-2022/asr_data/noa_training_1hr/manifest/hindi" \
dataset.max_tokens=200000 \
common.log_interval=20 \
model.freeze_finetune_updates=1000 \
model.w2v_path=${PWD}"/workshop-2022/models/checkpoint_ft.pt" \
checkpoint.save_dir=${PWD}"/workshop-2022/models/indicwav2vec_noa" \
checkpoint.restore_file=${PWD}"/workshop-2022/models/hi_mucs_dc.pt" \
distributed_training.distributed_world_size=1 \
+optimization.update_freq='[1]' \
+optimization.lr=[0.0001] \
optimization.max_update=100000 \
checkpoint.save_interval_updates=10000 \
--config-dir ${PWD}"/finetune_configs" \
--config-name ai4b_xlsr
Issues can be found during the translation of Urdu Audio. Urdu has a lot of similarities to Hindi which makes it hard for the model to recognize the language.
Also Indian English is not inluded..."iska mein aage likh rahi hu"
JavaScript
64.8%
Python
26.1%
HTML
4.6%
CSS
4.5%