Closed alibrahimzada closed 1 year ago
I believe there is something wrong with the window size (n_positions) of plbart-large. It prints the following:
plbart-large
>>> from transformers import PLBartTokenizer >>> tokenizer = PLBartTokenizer.from_pretrained("uclanlp/plbart-large") >>> tokenizer.model_max_length 1000000000000000019884624838656
I will be statically setting this to 1024.
1024
Can you raise the issue in Huggingface transformers? I do not have knowledge about the model_max_length field.
model_max_length
reported issue in HuggingFace.
I believe there is something wrong with the window size (n_positions) of
plbart-large
. It prints the following:I will be statically setting this to
1024
.