Merge pull request #3 from Neuroprosthetics-Lab/aparna9625-patch-1

Update README.md conda env name fix
This commit is contained in:
Nick Card
2025-07-03 13:30:34 -07:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ redis-server
Next, use the `b2txt25_lm` conda environment to start the ngram language model in a seperate terminal window. For example, the 1gram language model can be started using the command below. Note that the 1gram model has no gramatical structure built into it. Details on downloading pretrained 3gram and 5gram language models and running them can be found in the README.md in the `language_model` directory.
To run the 1gram language model from the root directory of this repository:
```bash
conda activate b2txt_lm
conda activate b2txt25_lm
python language_model/language-model-standalone.py --lm_path language_model/pretrained_language_models/openwebtext_1gram_lm_sil --do_opt --nbest 100 --acoustic_scale 0.325 --blank_penalty 90 --alpha 0.55 --redis_ip localhost --gpu_number 0
```
@@ -45,4 +45,4 @@ python evaluate_model.py --model_path ../data/t15_pretrained_rnn_baseline --data
```
### Shutdown redis
When you're done, you can shutdown the redis server from any terminal using `redis-cli shutdown`.
When you're done, you can shutdown the redis server from any terminal using `redis-cli shutdown`.