Code Monkey home page Code Monkey logo

Comments (5)

weizhepei avatar weizhepei commented on June 7, 2024 5

@Amling2017 Thanks for the email, I've checked the files that you sent to me. Below are some suggestions:

  1. Change the file_name (which is "valid.json" by default) to "train.json" or "test.json" at Line 74 ~ 78 in generate.py, then run the .py file to get "new_valid.json", "new_train.json" and "new_test.json".
  2. Move the output "new_train.json", "new_valid.json" and "new_test.json" to NYT/, then rename the three files as "train.json", "dev.json" and "test.json".
  3. Run build_data.py to get "train_triples.json", "dev_triples.json" and "test_triples.json".

from casrel.

weizhepei avatar weizhepei commented on June 7, 2024

Have you processed the numerical data (e.g., valid.json) under raw_NYT/ and move the output files (e.g., new_valid.json) to NYT/ ? Perhaps you need to rename the "new_valid.json" to "valid.json" under NYT/ to be consistent with the hardcoded file name in build_data.py?

from casrel.

Amling2017 avatar Amling2017 commented on June 7, 2024

from casrel.

weizhepei avatar weizhepei commented on June 7, 2024

That's weird. Could you please share your converted files to me (through email/Google Drive/Baidu Netdisk, etc.) so that I can check this out?

from casrel.

Amling2017 avatar Amling2017 commented on June 7, 2024

from casrel.

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.