Skip to content

start_outputs和end_outputs维度问题 #1

Description

@lxgend

self.start_outputs = nn.Linear(config.hidden_size, 2)

请教一下,start_outputs和end_outputs的nn.Linear(config.hidden_size, 2) 中的2,代表什么意思?
我看香农官方的代码,他们又改成了nn.Linear(config.hidden_size, 1)
非常迷惑,烦请解答,谢谢

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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