Giter VIP home page Giter VIP logo

Comments (6)

spacemanidol avatar spacemanidol commented on June 17, 2024 2

This has been fixed and uploaded for the top1000 dev and eval. The top1000 train and the train triples will follow shortly.

for context I used https://ftfy.readthedocs.io/en/latest/

import ftfy
import sys

filename = sys.argv[1]
with open(filename, 'r') as f:
with open('cleaned' + filename, 'w') as w:
for l in f:
w.write(ftfy.fix_text(l))

from msmarco.

Albert-Ma avatar Albert-Ma commented on June 17, 2024

@dfcf93

from msmarco.

spacemanidol avatar spacemanidol commented on June 17, 2024

Hey,

You are correct. We seem to have a bug in the topfiles. I will go ahead and update the files at some point but in the meantime each line also includes the QID and PID(Question ID) and (Passage ID) which you can join with the collection.tsv and the query files. Sorry for the delay.

from msmarco.

Albert-Ma avatar Albert-Ma commented on June 17, 2024

Hi,
And also found this problem in train.triples file, but not in collection. I think it's a encoding problem while parsing web document.
Thanks for the reply.

from msmarco.

spacemanidol avatar spacemanidol commented on June 17, 2024

Just not to leave you in the dark I am going to update all the documents to fix this issue I am just currently away on paternity leave. I should be able to get to it mid may

from msmarco.

Albert-Ma avatar Albert-Ma commented on June 17, 2024

Just not to leave you in the dark I am going to update all the documents to fix this issue I am just currently away on paternity leave. I should be able to get to it mid may

That's very kind of you.

from msmarco.

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.