Code Monkey home page Code Monkey logo

Comments (7)

lintool avatar lintool commented on June 23, 2024 1

@lintool What should happen in the case where we have two file names that would in theory have the same associated symbol?

Ex. Symbol msmarco-v2-passage could be associated with qrels.msmarco-v2-passage.dev.txt and qrels.msmarco-v2-passage.dev2.txt.

Would it be okay to simply require symbol names to be longer?

In your example, msmarco-v2-passage would not be a valid symbol. User would need to specify either dev or dev2.

As long as the file names are not identical (and they shouldn't be), it's fine. We specify which qrels we're using in the command line to trec_eval.

from anserini.

xpbowler avatar xpbowler commented on June 23, 2024

working on this

from anserini.

lintool avatar lintool commented on June 23, 2024

@xpbowler any progress here?

from anserini.

xpbowler avatar xpbowler commented on June 23, 2024

Sorry! I've been busy with finals these past 2 weeks. Last exam is tomorrow, so I'll get back on this after.

from anserini.

DanielKohn1208 avatar DanielKohn1208 commented on June 23, 2024

@lintool What should happen in the case where we have two file names that would in theory have the same associated symbol?

Ex. Symbol msmarco-v2-passage could be associated with qrels.msmarco-v2-passage.dev.txt and qrels.msmarco-v2-passage.dev2.txt.

Would it be okay to simply require symbol names to be longer?

from anserini.

lintool avatar lintool commented on June 23, 2024

For the symbols, let's use the bindings here: https://github.com/castorini/anserini/blob/master/src/main/java/io/anserini/eval/Qrels.java

So instead of

java -cp anserini-0.35.1-fatjar.jar trec_eval -c -M 10 -m recip_rank tools/topics-and-qrels/qrels.msmarco-passage.dev-subset.txt run.msmarco-v1-passage.dev.bm25.txt

We can just do:

java -cp anserini-0.35.1-fatjar.jar trec_eval -c -M 10 -m recip_rank msmarco-passage.dev-subset run.msmarco-v1-passage.dev.bm25.txt

from anserini.

lintool avatar lintool commented on June 23, 2024

hey @xpbowler just to prevent duplicate work, I think @DanielKohn1208 is on this!

from anserini.

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.