senarvi / theanolm

TheanoLM is a recurrent neural network language modeling tool implemented using Theano
Apache License 2.0
81 stars 29 forks source link

Network description text file #16

Closed pranjaldaga closed 8 years ago

pranjaldaga commented 8 years ago

The documentation says: Network structure description The neural network layers are specified in a text file. In which text file should I specify the network layers? Thanks!

senarvi commented 8 years ago

You just have to create such file with a text editor. There's a really simple example in the documentation that creates three layers: projection layer, LSTM layer and softmax layer. You can copy & paste it to get started.

pranjaldaga commented 8 years ago

@senarvi Thanks! That was pretty much clear through the documentation. Just wanted to know if there is a particular name (and path) given to this file and how is this file called from theanolm!

senarvi commented 8 years ago

Oh, the name can be anything. You just pass the path to the file with --architecture command line argument.

pranjaldaga commented 8 years ago

Ah! That makes total sense now. Thanks!