GithubHelp home page GithubHelp logo

Comments (6)

zeynepakkalyoncu avatar zeynepakkalyoncu commented on June 28, 2024

Thanks, this is very helpful! Charlie and I came up with a similar outline on Wednesday:

  • Brief intro to Colab + Python (through text processing stuff on a sample MS MARCO passage)
  • Explore the test collection, MS MARCO (this is where we want to use some of the functionalities from I-REX as you suggested)
  • Indexing
  • Interactive querying (similar to what we have in the README, again we can visualize the document vectors, similarities, etc.)
  • Running batch experiment / evaluating TREC runs
  • Re-ranking (with BERT might work, since we already have the Colab for the demo)

Do you have any other suggestions?

from pyserini.

lintool avatar lintool commented on June 28, 2024

Feedback inline:

  • Brief intro to Colab + Python (through text processing stuff on a sample MS MARCO passage)

I assume this is things like tokenization, stemming, etc. with NLTK, Spacy, or whatever?
Do you want to do this from the raw JSON collection or fetching doc from the index?

Indexing

hrm... doing this from Python is going to be a challenge, I think...

Interactive querying (similar to what we have in the README, again we can visualize the document vectors, similarities, etc.)
Running batch experiment / evaluating TREC runs
Re-ranking (with BERT might work, since we already have the Colab for the demo)

sg

from pyserini.

lintool avatar lintool commented on June 28, 2024

Adding to the wish-list of functionalities: pull a raw document from the collection, demonstrate analysis (tokenization/stemming) with different analyzers (e.g., porter vs. krovetz).

from pyserini.

sipah00 avatar sipah00 commented on June 28, 2024

@lintool I have collection of some passages, how can I index it so that I can use functions in pysearch.
could you please share me link to documentation which describe this step in pyserini

from pyserini.

lintool avatar lintool commented on June 28, 2024

@sipah00 easiest is probably this: https://github.com/castorini/anserini/blob/master/docs/experiments-msmarco-passage.md

Put it in the same format as the MS MARCO data, and then you can just reuse the instructions there and the "Pyserini demo on MS MARCO passage retrieval task" notebook here: https://github.com/castorini/anserini-notebooks

from pyserini.

sipah00 avatar sipah00 commented on June 28, 2024

Thank you

from pyserini.

Related Issues (20)

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.