OSU-NLP-Group / HippoRAG

HippoRAG is a novel RAG framework inspired by human long-term memory that enables LLMs to continuously integrate knowledge across external documents.
https://arxiv.org/abs/2405.14831
MIT License
901 stars 73 forks source link

what if i want change the indexing model #24

Open Lbaiall opened 2 weeks ago

Lbaiall commented 2 weeks ago

what if i want change my indexing model by HF(with same config file format) and i see the source of code from src/.... file with colbertv2 names file,and dose anything else i need to change in my code ,like colbertv2_indexing.py,colbertv2_knn.py,create_graph.py ,and what support i should change in the code (i git url (https://huggingface.co/castorini/mdpr-tied-pft-msmarco-ft-miracl-zh/tree/main) )and it have some the other support language if you want see .......

yhshu commented 2 weeks ago

I think you can find relevant information in README.md about using HF models to index: https://github.com/OSU-NLP-Group/HippoRAG?tab=readme-ov-file#indexing-with-huggingface-retrieval-encoder-for-synonymy-edges-ie-contriever