Skip to content

[Question] 维度不匹配 #1856

Open
Open
@CurryaNa

Description

@CurryaNa

Question

embeddings = embeddings + self.position_embedding(self.position_ids)

RuntimeError: The size of tensor a (122) must match the size of tensor b (50) at non-singleton dimension 1
推理的时候报了这个错

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