Skip to content

Question about the <unk> in the subsample function of chapter_natural-language-processing-pretraining #2668

@IMMORTAALLL

Description

@IMMORTAALLL

Why is it that in the subsample function of this section, the token is discarded when calculating the word count, but is not added to sentences later?
It may do harm to the ability of model to learn the rear token.

Metadata

Metadata

Assignees

No one assigned

    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