hannibal046 / xrag Goto Github PK
View Code? Open in Web Editor NEWSource code for xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token
Source code for xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token
Thanks for the great work! As the paper fix the parameter of retrieved chunks to 1, I wonder does the performance still good if the num of documents retrieved is large than 1, which is more similar to the real world RAG situation. Does some performance score has been test?
The stopping criteria only works for batch size = 1. I don't get an error, but no stopping criteria is applied at all for batch size > 1
Thanks for the great work. From your paper, I understood that you are using EM for the evaluation of the open QA datasets. From the evaluation code, it seems like you are using the Match metric. Could you please clarify?
Line 127 in 9858cb4
作者您好!xrag这篇工作非常惊艳,我们在复现它的结果,请问下能否提供处理好的训练和测试用的数据?非常感谢!
As titled. Do we need to train retriever?
tokenizer = RetrieverTokenizer.from_pretrained(args.base_model,additional_special_tokens=["[Q]","[D]"])
It seems that PwC_train dataset is not mentioned in readme
Throughout the repo I find different values for max_new_tokens
,
Line 79 in 121fa41
Line 227 in 121fa41
can you please indicate which number should be used?
Congratulations for the great work.
I have the following doubt: The reference document/representation retrieved is only based on the chunks from wikipedia or does it also include the document references from each of the datasets? For example, hotpotqa could benefit more from retrieving the relevant documents from their dataset compared to wikipedia dump. Am I missing something. ?
Thanks for your time.
The xrag-7b already knew about Motel 6 when I try tutorial.ipynb.
Was the model updated?
This is the response without RAG or xRAG.
Motel 6. Motel 6 is a budget motel chain in the United States and
But thanks for providing a helpful tutorial.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.