Hugging Face Forums
Truncating sequence -- within a pipeline
Beginners
ttj
July 15, 2021, 11:53am
7
Passing
truncation=True
in
__call__
seems to suppress the error.
show post in topic
Related topics
Topic
Replies
Views
Activity
How to specify sequence length when using "feature-extraction"
🤗Transformers
3
1301
April 28, 2021
Tokenizer behaviour with pipeline
🤗Tokenizers
0
930
August 1, 2023
How do I setup a TextClassificationPipeline that truncates token sequences
Beginners
0
329
September 29, 2021
Predictions with pipeline fails to truncate test set
🤗Transformers
0
181
January 23, 2024
Out of index error in pipeline
Beginners
9
6526
June 22, 2022