Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLS Token #75

Open
IoSonoMarco opened this issue May 12, 2024 · 1 comment
Open

CLS Token #75

IoSonoMarco opened this issue May 12, 2024 · 1 comment

Comments

@IoSonoMarco
Copy link

Hi all, thanks for the great work. I've been looking at the example codes and modules and I noticed you have an arg for choosing the class strategy as projection or cls_token or average. I guess it doesn't apply to iTransformer since it only works with projection. But I was wondering whether you had feedback about using a learnable class token as a final representation for tasks like timeseries classification. Have you tried it already?

@WenWeiTHU
Copy link
Collaborator

WenWeiTHU commented May 28, 2024

We tested itransformer on the classification task with tslib, but it seems alternative models can be a good choice.

We implement it by averaging the variate tokens. However, introducing learnable class tokens like ViT has not been trialed. Did you get some results?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants