GithubHelp home page GithubHelp logo

Comments (2)

benjelloun avatar benjelloun commented on July 23, 2024

Hi,

CoNLL uses at TSV format for its files. This can be described in Croissant similarly to the CSV examples, e.g., :

https://github.com/mlcommons/croissant/blob/main/datasets/1.0/movielens/metadata.json

For the data files, you need to specify: encoding_format="text/tab-separated-values" on FileObject.

The Croissant editor should figure things out automatically if you upload the data files one by one.

Best,
Omar

from croissant.

gzhang64 avatar gzhang64 commented on July 23, 2024

Thanks Omar for the suggestion!

To my best knowledge, CoNLL is not a strictly TSV file (yes, it's indeed tab separated):

  1. CoNLL does not necessarily have column names, this is the major problem I have after uploading the file into Croissant Editor. I will have to manually add column names, but it's unclear how the added names will be associated with the columns.
  2. CoNLL may have empty lines to as separators between sentences, while in regular TSV files, empty strings are interpreted as empty fields. I am not sure how empty lines in CoNLL files are parsed.

from croissant.

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.