Code Monkey home page Code Monkey logo

dis-textretrieval's Introduction

๐ŸŽ‰ A Text Retrieval Approach Using BM25+ and BERT Reranking ๐ŸŽ‰

Manos Chatzakis, Hind El-Bouchrifi and Lluka Stojollari

{emmanouil.chatzakis, hind.elbouchrifi, lluka.stojollari}@epfl.ch

Distributed Information Systems, Text Retrieval Project, EPFL

Context

This repository contains a solution to a Kaggle competition of Distributed Information Systems course of EPFL. The competition is about Text Retrieval, where models are automatically evaluated by their document retrieval and reranking power.

Approach

We describe our approach in our report (report/Report.pdf), as well us our final submission notebook (src/kaggle.ipynb). Briefly, we utilize BM25+ to retrieve a big set of relevant documents and rerank them using BERT Sentence embeddings.

Contents

  • src/

    • models/
      • Code for all implemented information retrieval models (TF-iDF, Doc2vec, DSSM, BM25)
    • preprocessors/
      • Code for all preprocessing and query expansion techniques
    • scripts/
      • Pipelines for model training, text preprocessing, query expansion
    • testing/ - Examples of model usage
    • IR_Utils.ipynb: Utility functions for IR
    • kaggle.ipynb: Final competition notebook, implementing our final best scoring approach
  • report/

    • report.pdf: A brief report describing our approach
  • data/

    • Test and training query splits

Data Availability

Test and training query splits are present under data/ directory. Every other needed file is available at Google Drive

dis-textretrieval's People

Contributors

lindt19 avatar lukast99 avatar mchatzakis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.