JBoRu / StructGPT

The code and data for "StructGPT: A general framework for Large Language Model to Reason on Structured Data"
Apache License 2.0
95 stars 39 forks source link

Access Freebase KG #5

Closed the-anonymous-bs closed 11 months ago

the-anonymous-bs commented 11 months ago

Hi. Thanks for the great work!

I have opened various preprocessed data for webQSP, but I still did not understand how to map from freebase mid to entity name string. I wonder if you could provide some instructions on how I should use files like "ent2id.pickle", "subgraph_2hop_triples.npy" and "entity_name.pickle". Especially if I want to find related triplets for each question in the test set, how should I do this?

JBoRu commented 11 months ago

Hi, Thanks for your attention. I would update the detailed operations about how to preprocess these data as soon as possible.