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

Missing [CLS] token in XLNet #15

Closed
PradyumnaGupta opened this issue Aug 10, 2019 · 1 comment
Closed

Missing [CLS] token in XLNet #15

PradyumnaGupta opened this issue Aug 10, 2019 · 1 comment

Comments

@PradyumnaGupta
Copy link

I want to know why there is not CLS token in the visualizaition of XLNet . I used your XLNet code to visualize my fine tuned XLNet but I am not getting in any [CLS] token in the input . Can you tell , how can i get that ?

@jessevig
Copy link
Owner

Hi, thanks for filing this. I just put in a change that will add the [CLS] and [SEP] tokens in the case of a single input sentence. Please let me know if this works for you. Eventually will add support for the sentence-pair case as well.

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