Skip to content

Parameter initialized with torch.randn may be not a good choice #17

@lddsdu

Description

@lddsdu

It seems that the parameter initialized with randn (

self.q_proj_weight = nn.Parameter(torch.randn(self.d_model,
) will lead to low-performance, and I tried xavier_norm and kaiming_uniform, both reach a much higher AUC and F1 score in my task.

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