Git Product home page Git Product logo

Comments (14)

rspeer avatar rspeer commented on August 9, 2024 1

Man, how difficult to set up do you want it to be?

This task is memory-constrained, so I think it would actually run much worse on a GPU.

from conceptnet-numberbatch.

rspeer avatar rspeer commented on August 9, 2024

In this build process, the labels will appear in build-data/combo840.standardized.conceptnet5.labels and the vectors in build-data/combo840.l1.standardized.conceptnet5.npy. The filenames are elaborate because this repository builds many different variations of the system to compare in an evaluation.

There is also a new build process that's part of the conceptnet5 repository, which will give you more up-to-date vectors in data/vectors/numberbatch.h5, as well as the tools you need to look up ConceptNet nodes in that vector space.

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

Thank you - my problem is that I can't find any build-data folder in the repository and so I am not sure where to find these files... would you be able to guid me in this?

from conceptnet-numberbatch.

rspeer avatar rspeer commented on August 9, 2024

That's where the files created by ninja go.

What happened when you ran ninja in the code/ directory? Did it crash?

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

so I've been running the 16.04 branch....it basically runs through build_conceptnet_retrofitting() which is called in ninja.py. But there's only a source_data folder, I can't find a build_data folder...

from conceptnet-numberbatch.

rspeer avatar rspeer commented on August 9, 2024

Oh. You haven't run the build yet.

Running ninja.py outputs a file called build.ninja, which contains instructions to the Ninja build system (https://ninja-build.org/) for how to build ConceptNet Numberbatch. After that, you run ninja to actually run the build.

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

Yes I did run ninja as well... like i ran ninja.py and then I ran ninja but I don't get any new outputs...

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

I actually get the error:
Importerror: cannot import ninja from ninja

from conceptnet-numberbatch.

rspeer avatar rspeer commented on August 9, 2024

Can you copy and paste the actual output, please?

from conceptnet-numberbatch.

rspeer avatar rspeer commented on August 9, 2024

What's particularly peculiar about saying you got "Importerror: cannot import ninja from ninja" is that it looks almost like a Python error, and this makes me doubt you're actually running Ninja, which is written in C++.

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

I actually don't have that error anymore...when I run ninja it gives the following output:
log: warning: no configuration file specified, using default values
log: ninja version 0.1.3 initializing
log: magic group: gid=0 (wheel)
log: entering main loop
log: generating initial pid array..
log: now monitoring process activity

How long would it take for it to complete? It's been running for > 1 hour now.

from conceptnet-numberbatch.

rspeer avatar rspeer commented on August 9, 2024

It should take a day or so. Keep in mind that this process runs all the conditions of the experiment.

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

okay thank you!

from conceptnet-numberbatch.

meghmehta avatar meghmehta commented on August 9, 2024

Is it GPU enabled?

from conceptnet-numberbatch.

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.