mhjabreel / CharCNN

MIT License
234 stars 99 forks source link

why input_layer size is 1014 #12

Closed luckystar1992 closed 5 years ago

luckystar1992 commented 6 years ago

hi, Why you set the input layer size equal to 1014 and in your another code repository CharCnn_Keras, you
put a config.json file, is that a config file of caffee or torch? thanks.

mhjabreel commented 5 years ago

Hi @luckystar1992, This is just a parameter represents the maximum length of the text, you can adjust it as you want. The value 1014 was chosen by the authors of the paper. They claimed that the most important and informative features that can distinguish the topics of texts can be found in the first 1014.

Best.