Skip to content

没有预训练bigram_embedding情况时报错 #5

@shengwenyuan

Description

@shengwenyuan

main.py的332行附近代码有误,按位置传参时在实现bi1=batch_y["tags"],应该改为
else: out = model(batch_x["task"],batch_x["uni"],batch_x["seq_len"],tags=batch_y["tags"])
另外提供预训练embedding参考链接 https://ai.tencent.com/ailab/nlp/zh/embedding.html


There is a piece of wrong code at line 332 in main.py. When removing two parameters bi1 and bi2, tags is delivered incorrectly.

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