Language model to predict.py
See original GitHub issueI am very new in this field, I ran train.py
on librispeech dataset after complete training I ran test.py
as following -
python test.py --model_path models/deepspeech_final.pth.tar --val_manifest data/libri_test_manifest.csv --cuda
I got following output:
Validation Summary Average WER 3.972 Average CER 0.747
One more thing I noticed in test.py
argument is --val_manifest
, that is validation manifest file, But I think it should be --test_manifest
?
Now I wanted to test the same model on unseen data using predict.py
, but how do I include language model?
Issue Analytics
- State:
- Created 6 years ago
- Comments:27 (11 by maintainers)
Top Results From Across the Web
Language Model In NLP | Build Language Model in Python
Learn to build a language model in Python in this article. ... A language model learns to predict the probability of a sequence...
Read more >How to Develop Word-Based Neural Language Models in ...
Language modeling involves predicting the next word in a sequence given the sequence of words already present. A language model is a key ......
Read more >A Comprehensive Guide to Build your own Language Model ...
An N-gram language model predicts the probability of a given N-gram within any sequence of words in the language. If we have a...
Read more >From raw text to model prediction in under 30 lines of Python
We have shown how to use the ATOM package to quickly explore natural language datasets. First, we have transformed documents of raw text...
Read more >Language Model — Python Notes for Linguistics
The prediction is based on the predicted probability distribution of the next words: words above a predefined cut-off are randomly selected. The text...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The comment he posted with the training command before the edit showed
python train.py --train_manifest data/libri_test_manifest.csv ...
.Hehe don’t feel bad, made the same mistake a while ago as well 😃 glad to have found the issue!