Skip to content

Answer Prediction Code #11

Description

@jfliang3324

Hi, I want to know why you stacked the 0th dimension when predicting the answer ?
# final answer prediction
fusion_proj = torch.sum(torch.stack([out[:, 0, :] for out in out_list], dim=-1), dim=-1)
fusion_proj = self.vqproj(fusion_proj)

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