Nystromformer icon indicating copy to clipboard operation
Nystromformer copied to clipboard

Max length for text task

Open arneeichholtz opened this issue 1 year ago • 0 comments

Hello,

In LRA/datasets/text.py the get_tc_datasets is called with max_length = 1000. In the code this is then concatenated with np.zeros(24), to get a length of 1024. But the maximum length for text classification is 4k, right? Do you just call the get_tc_datasets with max_length = 4000? Or is there another place in the code where you handle this? Thanks! Best, Arne

arneeichholtz avatar May 07 '23 17:05 arneeichholtz