Skip to content

Does the TPF calculation include the EOS token? #1

@zs1314

Description

@zs1314

Hello! I noticed in your code you compute: num_tokens += (generated_answer_ids != 126081).sum(). If your TPF is defined as num_tokens / NFE, then LLaDA’s result shouldn’t be 1—it should be less than 1. Can you explain why?

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