Skip to content

Adding eos token #47

@hshi44

Description

@hshi44

In run_pplm_discrim_train.py get_generic_dataset() line 291:
if add_eos_token:
seq = [50256] + seq
I assume it addes an eos token to the sequence. However, it seems to be added at the beginning by these lines. Shouldn't eos be added to the end of the sequence?

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