drogozhang / led Goto Github PK
View Code? Open in Web Editor NEWSource code of paper 'LED: Lexicon-Enlightened Dense Retriever for Large-Scale Retrieval' (WWW 2023)
Source code of paper 'LED: Lexicon-Enlightened Dense Retriever for Large-Scale Retrieval' (WWW 2023)
Thanks for your contribution and great work!
I have some questions,
How to train model with customed datasets? I am going to train the whole model with Chinese retrieval datasets.
All I need to do :
Am I right? And what the format for the customized training data?
In your paper, the equation (3) and (8) for loss function read,
๐ โ {๐+ } โฉ N, or ๐ โ {๐+ } โฉ N^mix
I don't know why you use intersection instead of union.
Each batch in your loss function consists of positive passages and negative passages.
So I think it confuses me when you use 'โฉ' to represent intersection here.
I saw in your python code "train_splade_retriever.py",
target = torch.arange(ga_emb_query.shape[0], device=ga_emb_query.device, dtype=torch.long) * num_docs
I don't know for sure why you didn't pass the relevance label of passage-query pair explicitly.
It seems that you still utilize In-Batch-Negative sampling methods instead of BM25 negative as in your paper. So I want to make sure it is right or not, and how could I train this model with BM25 negatives.
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.