Replies: 1 comment 1 reply
-
总的疑惑就是,同样的prompt(比如说The reactants in the single retrosynthesis of O=C(NCc1ccccc1S(=O)(=O)C1CC1)C(F)(F)F are?)webui中的chat模块给的是合理的,我自己写的代码得到的结果就很混乱,懂得问题出在哪的朋友能帮忙看看吗,实在是感谢哇! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reminder
System Info
Reproduction
Others
自己生成的(prompt和webui中chat模块一样The reactants in the single retrosynthesis of O=C(NCc1ccccc1S(=O)(=O)C1CC1)C(F)(F)F are?):
target_new_text: NCc1ccccc1S(=O)(=O)C1CC1.O=C(OC(=O)C(F)(F)F)C(F)(F)F
Generated Text: are?CC(=O)OC(C)(C)C
webui中chat模块生成的(System Info上贴了对应的图):
问:The reactants in the single retrosynthesis of O=C(NCc1ccccc1S(=O)(=O)C1CC1)C(F)(F)F are?
答:NCc1ccccc1S(=O)(=O)C1CC1.O=C(OC(=O)C(F)(F)F)C(F)(F)F
我想问问是我代码中的generate方法出问题了吗,还是哪个方法出问题了,我实在是找不出来。想不通的是,我自己代码写出来的模型生成文本还会带上输入给模型的prompt,如下面的Generated Text所示。
target_new_text: CC(C)(C)OC(=O)OC(=O)OC(C)(C)C.N#Cc1cc(-c2cccc(N+[O-])c2)c2nc(N)sc2c1
Generated Text: The reactants in the single retrosynthesis of CC(C)(C)OC(=O)Nc1nc2c(-c3cccc(N+[O-])c3)cc(C#N)cc2s1 are?[NH4+]
懂得问题出在哪的朋友能帮忙看看吗,万分感谢。
Beta Was this translation helpful? Give feedback.
All reactions