Skip to content

Fix glove vector size mismatch bug#12

Open
santhoshrajamanickam wants to merge 1 commit intonyu-mll:masterfrom
santhoshrajamanickam:master
Open

Fix glove vector size mismatch bug#12
santhoshrajamanickam wants to merge 1 commit intonyu-mll:masterfrom
santhoshrajamanickam:master

Conversation

@santhoshrajamanickam
Copy link
Copy Markdown

For some words in the glove embedding we get the following error:
ValueError: could not broadcast input array from shape (302) into shape (300)

The following pull request corrects the error by taking the last embedding_dim values of the embedding vector of such words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant