GithubHelp home page GithubHelp logo

luigi-ga / neural_inverted_index_dsi Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 15.05 MB

Neural inverted index for fast and effective information retrieval

License: MIT License

Python 0.18% Jupyter Notebook 99.82%

neural_inverted_index_dsi's Introduction

Neural Inverted Index for Fast and Effective Information Retrieval

Introduction

This repository contains the implementation of the Differentiable Search Index (DSI), an innovative approach to information retrieval (IR). Unlike traditional IR systems that follow the index-then-retrieve pipeline, DSI integrates indexing and retrieval within a single Transformer language model to provide a ranked list of documents in response to user queries.

Task

The goal of this project is to build a model f that, given a query q, outputs a ranked list of document ids. The model should be a unified system trained on a corpus of documents and thereafter used to retrieve relevant documents.

Dataset

We utilize the MS Marco dataset for this task. Detailed instructions on how to access and use the dataset with the Pyserini library are included.

Installation

To set up your environment to use the DSI model, follow these steps:

git clone https://github.com/yourusername/neural-inverted-index.git
cd neural-inverted-index

Metrics

The performance of the search index is evaluated using the following metrics:

  • Mean Average Precision (MAP): Reflects the mean of the average precision scores across a set of queries.
  • Precision at K: Measures the proportion of relevant documents among the top K retrieved documents.
  • Average Precision (AP): The average of precision values calculated at the points in the ranking where each relevant document is retrieved.
  • Recall@1000: Indicates the proportion of relevant items found in the top-1000 results.

References

For more information and to understand the underlying concepts, refer to the following papers:

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Authors

See also the list of contributors who participated in this project.

neural_inverted_index_dsi's People

Contributors

luigi-ga avatar francomano avatar

Watchers

 avatar

Forkers

francomano

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.