Skip to content

Potentially a bug of resetting vocab size when a vocab file is specified #22

@zyxue

Description

@zyxue

If a -read-vocab file is specified, then all their counts are 0, it seems SortVocab() will remove all words in such case.

SortVocab();

if ((vocab[a].cn < min_count) && (a != 0)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions