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

Fine-tune evo to achieve a sequence-level prediction #44

Open
jingliezhou opened this issue Mar 22, 2024 · 1 comment
Open

Fine-tune evo to achieve a sequence-level prediction #44

jingliezhou opened this issue Mar 22, 2024 · 1 comment

Comments

@jingliezhou
Copy link

Could you supply a script or notebook demonstrating how to perform regression analysis using two sequences as inputs? The input format would be "[CLS]GCTTAGCGAGACTAAATTATATAGCAGCT[SEP]CTAACTGCAGCCCGCCCGTAT", and the prediction should utilize the hidden state associated with the "[CLS]" token.

Thank you,
Jinglie

@kawabata-tomoko
Copy link

Here is my solution: GitHub link. You may use [EOS] instead of [CLS] because EVO is a Decoder-Only model. The [CLS]/[BOS] token cannot be used to refer to the information of the whole sequence, especially for tokens that come after [CLS].

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