Skip to content

load_vectors does not take keyword arguments? #189

Open
@jwohlwend

Description

@jwohlwend

Looking at the function definition for load_vectors, it doesn't seem to take optional arguments, so I'm wondering how line 206 in Vocab.py can work:

self.load_vectors(vectors, unk_init=unk_init, expand_vocab=expand_vocab)

It would be nice if load vectors took all arguments to Vectors, so as to specify cache, or unk_init as above. Please let me know if I'm missing something..

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions