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

Special token treatment. #81

Closed
prwoolley opened this issue Apr 10, 2024 · 1 comment
Closed

Special token treatment. #81

prwoolley opened this issue Apr 10, 2024 · 1 comment

Comments

@prwoolley
Copy link

By default, the tokenizer adds special tokens to the "input_ids", specifically [CLS] at the beginning and [SEP] at the end of each token array. Was DNABERT-2 trained with these tokens present? If so, has the [CLS] token been used for finetuning, as an alternative to mean pooling?

Thanks for the model!

@Zhihan1996
Copy link
Collaborator

Sorry for the late reply!

Yes, DNABERT-2 is trained with these tokens present. And by default, it is fine-tuned with [CLS] token instead of mean pooling.

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