Embeddings from model

Path langsim.modules.local_lm.embeddings_from_model
Executable yes

Simple module to extract the trained embeddings from a model stored by the training process, which can then be used in a generic way and output to generic formats.


Name Type(s)
model NeuralSixgramKerasModel
vocabs list of Dictionary
frequencies list of NumpyArray


Name Type(s)
embeddings Embeddings


Name Description Type
lang_names (required) Comma-separated list of language IDs to use in output comma-separated list of strings