Skip to content

截断问题 #5

Description

@chengturbo

作者你好,在bert+Overlap tokenizer.batch_encode_plus报错,貌似pad=True?
ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length.
python-BaseException

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