GitHub stuff

I finally have all the code up on GitHub, or at least the relevant parts anyway. It is under the moodilyzer directory.

I made a config file for the react stuff to put the URL’s in, because that seems like the only bit of sensitive information that the react side contains.

for the django side, I only included the lstm and elmo content and the basic directory structure. The rest of it is boilerplate code that can be found in any tutorial, and all it does is reveal configuration information that I probably shouldn’t reveal. Not that anyone is really hacking into my website but who knows?

I also included the dataprep scripts for both methods, which show how to generate the files that are loaded when classifying a sentence.

Next steps:

  • Make the ELMo code way faster by saving/loading the last stage classifiers instead of training them every time
  • Create a third scheme that feeds the ELMo vectors into the LSTM classifier from the first approach
  • Generate some metrics so we can compare them!

Stay tuned!

Leave a Reply

Your email address will not be published. Required fields are marked *