Deep-Learning
Deep-Learning copied to clipboard
I'll put all the valuable tutorials and starter codes of deep learning here.
Hi, as far as I can see the embedding layer should be the vocab_size as input. But in cbow_model.py of Keras shared_embedding_layer = Embedding(input_dim=(G.vocab_size+3), output_dim=G.embedding_dimension, weights=[embedding]) Where is the 3...
Hi, I tried to compile the Word2Vec CBOW example at e.g. https://github.com/abaheti95/Deep-Learning/blob/master/word2vec/keras/cbow_model.py but that failed. Could you please check. Python 3.6.4 in 64 bits. Thanks E.g. Using TensorFlow backend. Traceback...
Hi, me again sorry! I get this error when I run your code: Traceback (most recent call last): ``` File "cbow_model.py", line 49, in word_context_product = merge([word_embedding, cbow], mode='dot') File...