Skip to content

Capture huggingface message too long error #83

@chronark

Description

@chronark

Unable to call huggingface api: {"error":"Input is too long, try to truncate or use a paramater to handle this: The expanded size of the tensor (1112) must match the existing size (514) at non-singleton dimension 1. Target sizes: [1, 1112]. Tensor sizes: [1, 514]","warnings":["Token indices sequence length is longer than the specified maximum sequence length for this model (1112 > 512). Running this sequence through the model will result in indexing errors"]}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions