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

关于文章中指令微调阶段提示模板问题 #46

Open
hzau96yhz opened this issue Oct 7, 2023 · 1 comment
Open

关于文章中指令微调阶段提示模板问题 #46

hzau96yhz opened this issue Oct 7, 2023 · 1 comment

Comments

@hzau96yhz
Copy link

table1
作者您好!
<molecule><moleculeHere></molecule>文中提及这种形式的符号是用来放分子的特征。文中说到“We design the following prompt to organize the molecular or protein data with the text data as feature-ordered input for the LLM.”,还提到“The and symbolics represent the aligned molecular and protein features, where each atom of a molecule and each residue of a protein is considered as a token”。
想问下 <moleculeHere>这里放的是学习到的分子图的原子节点特征向量这种soft prompt形式吗?如果是的话,整个流程是否是先用预训练的GNN提取分子特征,然后接适配器模块(全连接层)得到一个分子图的表示,再把该向量和问题描述和一块来做指令微调?

@icycookies
Copy link
Contributor

是的,使用GraphMVP的每个原子特征作为输入,具体实现可以参考open_biomed/models/multimodal/biomedgpt/biomedgpt.py的_prompt_wrap()函数(line136-168)

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