tab-transformer-pytorch icon indicating copy to clipboard operation
tab-transformer-pytorch copied to clipboard

Intended usage of num_special_tokens?

Open LLYX opened this issue 3 years ago • 2 comments

From what I understand, these are supposed to be reserved for oov values. Is the intended usage to set oov values in the input to some negative number and overwrite the offset? That is what it seems like it would take to achieve the desired outcome, but also seems somewhat confusing and clunky to do. Or perhaps I am misunderstanding its purpose? Thanks!

LLYX avatar Aug 10 '22 04:08 LLYX

@LLYX it was originally designed for self-supervised learning with electra, for adding masking token etc

lucidrains avatar Nov 01 '22 01:11 lucidrains

@LLYX i should probably just remove it though, since that line of research never took off

lucidrains avatar Nov 01 '22 01:11 lucidrains