Skip to content

Mistake in vocab.py? #24

Open
Open
@changt

Description

@changt

Should

        worddict['<PAD>'] = 0
        worddict['<UNK>'] = 1
        worddict['<S>'] = 1
        worddict['</S>'] = 1

be

        worddict['<PAD>'] = 0
        worddict['<UNK>'] = 1
        worddict['<S>'] = 2
        worddict['</S>'] = 3

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