ericholgate / vulgartwitter

Corpora for vulgar and censored tweets annotated for sentiment
4 stars 4 forks source link

error: Please specify inital embedding weights #1

Closed HuYaa closed 5 years ago

HuYaa commented 5 years ago

Hi, I am trying to run the bilstm.py, and I have the error "Please specify inital embedding weights". I don't know how to deal with that and don't know how to embedding weights. I will be very grateful if I receive your reply.

ericholgate commented 5 years ago

Hi HuYaa,

The model requires initial embedding weights to be passed as input. We use 200 dimensional CBOW embeddings tuned on tweets from prior work (I've included the full citation at the end of this post). You can find the download link here: https://www.l2f.inesc-id.pt/~wlin/public/embeddings/ .

Embedding citation: Ramon Astudillo, Silvio Amir, Wang Ling, Mario Silva, and Isabel Trancoso. 2015. Learning word representations from scarce and noisy data with embedding subspaces. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, pages 1074–1084.

HuYaa commented 5 years ago

Thank you very much!!!