Skip to content

padding部分不需要计算loss #56

@Play2Boy

Description

@Play2Boy

Mengzi/examples/Mengzi_summary.ipynb

input_tensor["labels"] = target_tensor["input_ids"]

padding部分不需要计算loss

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