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
As the title suggests, could you please let me know the location of the code for path-based subgraph generation method and neighbor-based subgraph generation method?
Thank You!!
The text was updated successfully, but these errors were encountered:
Sure, you can find the code starting at line 505 and line 611 in MindMap.py.
After that, you can get path-based and neighbor-based chains, and then you can call GPT API to transfer the chains into natural language.
If you still have any questions, please let me know.
I have one more question: When comparing the embeddings of Mset and KG entities when linking entities, how did you obtain the embedding values about Mset and KG entities?
First, you should obtain the embedding files by pre-training. For example,
you can see encode_keyword_entity.py and word2vec.py in
'pre-training/chatdoctor5k'.
Then use it in the MindMap.py. The details are shown in the line 481-583.
[image: image.png]
If you still have any questions, please let me know.
Jiwon Jeong ***@***.***> 于2024年3月13日周三 21:49写道:
Hello.
As the title suggests, could you please let me know the location of the code for path-based subgraph generation method and neighbor-based subgraph generation method?
Thank You!!
The text was updated successfully, but these errors were encountered: