Enabling truncation in transformers feature extraction pipeline

前端 未结 0 866
小蘑菇
小蘑菇 2021-02-20 07:09

I\'m using the transformers FeatureExtractionPipeline like this:

from transformers import pipeline, LongformerTokenizer, LongformerModel

tokenizer = LongformerTo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题