Skip to content

Vocab associates OOV words to zeros vectors #378

@pminervini

Description

@pminervini

This causes issues when normalising etc.

https://github.com/uclmr/jack/blob/master/jack/readers/classification/shared.py#L229

I will extend this to allow an optional alternative behavior, where the word's hash is used as a seed for generating a random vector.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions