Skip to content

代码存在一定的问题 #9

@stanleylsx

Description

@stanleylsx

苏神在subject和object的抽取的时候使用的sigmoid,对模型中Linear层输出进行0和1的二分类,并且在预测的时候判定每个位置的概率是否大于0.5,但代码中好像没有对Linear层输出做任何处理,所以在跑的时候f1一直为0,因为在extract_items中根本就没有找到概率大于0.5的值。

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