Skip to content

请问一下用bert模型时,有些微博的字段过长判断情绪时则会出现下面的报错,这种问题怎么解决呢? #14

@liuyyustc

Description

@liuyyustc

RuntimeError: The expanded size of the tensor (978) must match the existing size (512) at non-singleton dimension 1. Target sizes: [1, 978]. Tensor sizes: [1, 512]

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