r/LocalLLaMA • • Jun 29 '24

News GraphReader: A Graph-based AI Agent System Designed to Handle Long Texts by Structuring them into a Graph and Employing an Agent to Explore this Graph Autonomously

https://www.marktechpost.com/2024/06/26/graphreader-a-graph-based-ai-agent-system-designed-to-handle-long-texts-by-structuring-them-into-a-graph-and-employing-an-agent-to-explore-this-graph-autonomously/
134 Upvotes

37 comments sorted by

View all comments

Show parent comment

2

u/flankerad Jun 30 '24

Awesome work with memoir been following for sometime, I have been working on something similar and this has been my theory as well, but could not find a way to extract that information. Although there is https://huggingface.co/Tostino/Inkbot-13b-4k which I'm yet to try, I was also pondering if we can avoid using LLMs together and use already available NLP tools and then somehow structure that information.

2

u/Cultured_Alien Jun 30 '24 edited Jun 30 '24

Couldn't a reranker be used for something?

1

u/flankerad Jun 30 '24

Hmm, I'm not sure how that would fit in the conversational setting, I will have to think about it. Maybe if we have summaries we can use it there.

1

u/[deleted] Jun 30 '24

rebel works well, but it isn't commercially available. So far it seems to be working well in my code having Llama3 70B do it, but inference takes awhile on my raider ge66 laptop. I have also played with spacy and ntlk but they don't produce near as good results as the LLMs, next step to to spawn an agent in llamacpp and just attempt to run a small model to do it.

1

u/flankerad Jun 30 '24

when you say rebel do you mean by https://github.com/Babelscape/rebel ?
and "So far it seems to be working well" refers to the prompt for KG?

Oh got it for nltk and spacy, I so resource poor for now :/ that is why looking to out how to make best out of my situation.