Coder Social home page Coder Social logo

Comments (4)

jaredcasper avatar jaredcasper commented on July 16, 2024

With only two sentences in your data set there isn't enough for a train/valid/test set, so you need to add more data or change the --split argument to something like 99,1,0 or something? You'll want to look at the " > dataset split:" part of the output, make sure there is data in the training and eval set.

from megatron-lm.

Lavenderjiang avatar Lavenderjiang commented on July 16, 2024

With only two sentences in your data set there isn't enough for a train/valid/test set, so you need to add more data or change the --split argument to something like 99,1,0 or something? You'll want to look at the " > dataset split:" part of the output, make sure there is data in the training and eval set.

I tried with a dataset with ~900 samples, but still encountered the error. Here's my output

dataset split:
    train:
     document indices in [0, 726) total of 726 documents
     sentence indices in [0, 726) total of 726 sentences
    validation:
     document indices in [726, 817) total of 91 documents
     sentence indices in [726, 817) total of 91 sentences
    test:
     document indices in [817, 908) total of 91 documents
     sentence indices in [817, 908) total of 91 sentences
 loading indexed mapping from my-bert_text_sentence_train_indexmap_160mns_509msl_0.10ssp_1234s.npy
    loaded indexed file in 0.001 seconds
    total number of samples: 0
  loading indexed mapping from my-bert_text_sentence_valid_indexmap_240mns_509msl_0.10ssp_1234s.npy
    loaded indexed file in 0.001 seconds
    total number of samples: 0
  loading indexed mapping from my-bert_text_sentence_test_indexmap_80mns_509msl_0.10ssp_1234s.npy
    loaded indexed file in 0.000 seconds
    total number of samples: 0
finished creating BERT datasets ...

from megatron-lm.

github-actions avatar github-actions commented on July 16, 2024

Marking as stale. No activity in 60 days. Remove stale label or comment or this will be closed in 7 days.

from megatron-lm.

github-actions avatar github-actions commented on July 16, 2024

Marking as stale. No activity in 60 days.

from megatron-lm.

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.