You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this great works!
When reading the source code of CoOp,I have an question about 'token_prefix' and 'token_suffix' in PromptLearner class. How to under this two variables?
Why embedding[:, :1, :] could represent SOS and embedding[:, 1:1+n_ctx, : ] could represent CLS, EOS?
I would appreciate it if anyone could help me.
The text was updated successfully, but these errors were encountered:
Hi, thanks for this great works!
When reading the source code of CoOp,I have an question about 'token_prefix' and 'token_suffix' in PromptLearner class. How to under this two variables?
Why embedding[:, :1, :] could represent SOS and embedding[:, 1:1+n_ctx, : ] could represent CLS, EOS?
I would appreciate it if anyone could help me.
The text was updated successfully, but these errors were encountered: