Skip to content

添加用户词典后报错 #44

Description

@Excuses123

RuntimeError: The size of tensor a (39) must match the size of tensor b (34) at non-singleton dimension 1

全是中文时,能正常分词
image

句子中加入英文单词后就报错
image

use_dict改成False后也能正常分词
image

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions