Skip to content
Discussion options

You must be logged in to vote

Update: a much simpler solution is to set this in [components.transformer.model.tokenizer_config]:

[components.transformer.model.tokenizer_config]
use_fast = true
model_max_length = 512

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / transformer Feature: Transformer
2 participants
Converted from issue

This discussion was converted from issue #7381 on March 10, 2021 09:51.