Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example of Input Data

See original GitHub issue

Issue Description

Could you give a concrete example of the input data? You gave an example of the corpus data, but not the dataset.small file found in this line:

bert -c data/dataset.small -v data/vocab.small -o output/bert.model

If you could show perhaps a couple of examples, that would be very helpful! I am new to pytorch, so the dataloader function is a little confusing.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

codertimocommented, Oct 23, 2018

@nateraw I got what was wrong with both your example corpus and mine. We should not make a blank line in end of the line! If you check the line 18 at your corpus, \n is declared on last line, which means that python recognize there is one more extra line. Please remove the \n of end of character at the end of line. that would be help to fix it

codertimocommented, Oct 23, 2018

@nateraw Sorry about my mistake. The README file is just updated to

bert -c data/corpus.small -v data/vocab.small -o output/bert.model

which is same corpus with bert-vocab

and the corpus example is on README 0.prepare your own corpus.


Read more comments on GitHub >

github_iconTop Results From Across the Web

Data input examples - European Environment Agency
Data input examples · Data example 1 - for copy and paste · Data example 2 - for CSV / TSV upload ·...
Read more >
What is Input? - Computer Hope
1. Any information or data sent to a computer for processing is considered input. Input or user input is sent to a computer...
Read more >
How Computers Work: Input and Output
Some input data can go directly to the computer for processing. Input in this category includes bar codes, speech that enters the computer...
Read more >
What Ways Can You Input Data Into a Computer?
What Ways Can You Input Data Into a Computer?. Your commands, ideas, demands and concepts form the data your system processes and stores....
Read more >
10 Examples of Input Devices in Real Life - StudiousGuy
Examples of Input Devices · 1. Keyboard · 2. Mouse · 3. Scanner · 4. Microphone · 5. Camera · 6. Magnetic Ink...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found