Skip to content

token的时候create_one_batch方法中获取bow和eow的id的时候为什么互换了两个id的位置 #105

@ydwasd

Description

@ydwasd

bow_id, eow_id, oov_id, pad_id = [char2id.get(key, None) for key in ('', '', oov, pad)]

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