Coder Social home page Coder Social logo

Comments (6)

EmielStoelinga avatar EmielStoelinga commented on July 22, 2024

I am having the same issue. Is there a fix already?

from ubuntu-ranking-dataset-creator.

wucz avatar wucz commented on July 22, 2024

i met same question too.
I download the data manually, not by script. After decompress the .tar ,I find some folders is empty, such as 10, but in .tar it's not.
The question might be wrong way decompress, or downloading the data.

from ubuntu-ranking-dataset-creator.

kuhanw avatar kuhanw commented on July 22, 2024

I am having a similar issue. My file size appears to be only 250 MB, but I gather the full size is over 500 MB?

Error below:

IOError: CRC check failed 0x7bc3be24 != 0x13e71207L
0
Traceback (most recent call last):
File "create_ubuntu_dataset.py", line 407, in
args.func(args)
File "create_ubuntu_dataset.py", line 358, in test_cmd
create_eval_dataset(args, "testfiles.csv")
File "create_ubuntu_dataset.py", line 287, in create_eval_dataset
lambda context_dialog, candidates : create_single_dialog_test_example(context_dialog, candidates, rng,
File "create_ubuntu_dataset.py", line 228, in create_examples
examples.append(creator_function(context_dialog, candidate_dialog_paths))
File "create_ubuntu_dataset.py", line 288, in
args.n, args.max_context_length))
File "create_ubuntu_dataset.py", line 187, in create_single_dialog_test_example
negative_responses = get_random_utterances_from_corpus(candidate_dialog_paths,rng,distractors_num)
File "create_ubuntu_dataset.py", line 82, in get_random_utterances_from_corpus
dialog = translate_dialog_to_lists(dialog_path)
File "create_ubuntu_dataset.py", line 36, in translate_dialog_to_lists
dialog_file = open(dialog_filename, 'r')
IOError: [Errno 2] No such file or directory: '.\dialogs\4\21894.tsv'
0
Traceback (most recent call last):
File "create_ubuntu_dataset.py", line 407, in
args.func(args)
File "create_ubuntu_dataset.py", line 355, in valid_cmd
create_eval_dataset(args, "valfiles.csv")
File "create_ubuntu_dataset.py", line 287, in create_eval_dataset
lambda context_dialog, candidates : create_single_dialog_test_example(context_dialog, candidates, rng,
File "create_ubuntu_dataset.py", line 228, in create_examples
examples.append(creator_function(context_dialog, candidate_dialog_paths))
File "create_ubuntu_dataset.py", line 288, in
args.n, args.max_context_length))
File "create_ubuntu_dataset.py", line 180, in create_single_dialog_test_example
dialog = translate_dialog_to_lists(context_dialog_path)
File "create_ubuntu_dataset.py", line 36, in translate_dialog_to_lists
dialog_file = open(dialog_filename, 'r')
IOError: [Errno 2] No such file or directory: '.\dialogs\3\4347.tsv'

from ubuntu-ranking-dataset-creator.

nabihach avatar nabihach commented on July 22, 2024

Same issue here.

from ubuntu-ranking-dataset-creator.

blazezhazha avatar blazezhazha commented on July 22, 2024

I believe something went wrong with the request package used in the code, while I have no idea how it works indeed...

But here comes an alternative to overcome this:

  1. You may download the dataset here by yourself (maybe with some download toolkits) and put it into the /src folder manually. The size of this maybe-complete dataset archive is about 555.3MB.
  2. After that, you can follow the README.md and generate the data you want. For me, I just run the command ./generate.sh -t -s -l and it did work!

Hope this would help you!
Good luck!

from ubuntu-ranking-dataset-creator.

JasonForJoy avatar JasonForJoy commented on July 22, 2024

@blazezhazha I have tried the method you have mentioned, but I can only download a .tgz file about 435MB. Could you share the complete file about 555.3MB with me?
Thank you!

from ubuntu-ranking-dataset-creator.

Related Issues (18)

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.