Python Maximum Likelihood-based Character-Level Language Model (LM) Training Algorithm
Jump to navigation
Jump to search
A Python Maximum Likelihood-based Character-Level Language Model (LM) Training Algorithm is a Maximum Likelihood-based LM Algorithm that is a Python-based Character-Level LM Algorithm.
- Context:
- Example(s):
- that described in Goldberg (2015).
- …
- Counter-Example(s):
- See: Python-based Neural LM Algorithm.
References
2015
- (Goldberg, 2015) ⇒ Yoav Goldberg. (2015). “The Unreasonable Effectiveness of Character-level Language Models (and Why RNNs Are Still Cool).” In: Jupyter Notebook - Nbviewer.
- QUOTE: Here is the code for training the model.
fname
is a file to read the characters from.order
is the history size to consult. Note that we pad the data with leading~
so that we also learn how to start.(...)
- QUOTE: Here is the code for training the model.