adkta commited on
Commit
eea5d8b
·
verified ·
1 Parent(s): a58348e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -1
README.md CHANGED
@@ -72,6 +72,49 @@ Users (both direct and downstream) should be made aware of the risks, biases and
72
  ## How to Get Started with the Model
73
 
74
  Use the code below to get started with the model.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  [More Information Needed]
77
 
@@ -178,7 +221,7 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
178
 
179
  ```bibtex
180
  @mastersthesis{nep_en_cm_asr_devkota_2026,
181
- author = "Devkota, Ashish and Joshi, Basanta",
182
  title = "Beyond Monolingual: Leveraging Multilingual Pre-trained Models for End-to-End Nepali-English Code-mixed Speech Recognition",
183
  school = "Tribhuvan University",
184
  year = "2026",
 
72
  ## How to Get Started with the Model
73
 
74
  Use the code below to get started with the model.
75
+ Install dependencies: torch, torchcodec, torchaudio, flashlight-text (for CTC Decoder), huggingface transformers (to use this model), KenLM (for using LM),
76
+
77
+ ```
78
+ !pip install torch
79
+ !pip install torchcodec
80
+ !pip install torchaudio
81
+ !pip install flashlight-text
82
+ !pip install transformers
83
+ ```
84
+
85
+ ```
86
+ !git clone https://github.com/kpu/kenlm.git
87
+ !sudo apt-get install libboost-all-dev --fix-missing # For colab
88
+
89
+ %cd kenlm
90
+ !mkdir -p build
91
+ %cd build
92
+ !cmake ..
93
+ !make -j 1
94
+ %cd ..
95
+ !export KENLM_ROOT=$PWD
96
+ !export USE_CUDA=0 ## for cpu
97
+ %cd ..
98
+
99
+ %cd kenlm
100
+ !pip install .
101
+ %cd ..
102
+ ```
103
+
104
+ Transliteration repo for disambiguation pipeline:
105
+
106
+ ```
107
+ !pip install nepali-num2word
108
+ !git clone https://github.com/adkta/nepali_arabic_num_to_word.git
109
+ !python -m pip install -U symspellpy
110
+ !rm -r /content/transliteration
111
+ !git clone https://github.com/adkta/transliteration.git
112
+ ```
113
+
114
+ ```python
115
+
116
+
117
+ ```
118
 
119
  [More Information Needed]
120
 
 
221
 
222
  ```bibtex
223
  @mastersthesis{nep_en_cm_asr_devkota_2026,
224
+ author = "Devkota, Ashish",
225
  title = "Beyond Monolingual: Leveraging Multilingual Pre-trained Models for End-to-End Nepali-English Code-mixed Speech Recognition",
226
  school = "Tribhuvan University",
227
  year = "2026",