Giter Site home page Giter Site logo

Comments (1)

yongzhuo avatar yongzhuo commented on August 19, 2024

解决了,不知道怎么回事,在这里断开,单独抽出来训练,又可以了
i@ubuntu:/yongzhuo/ngram2vec$ memory_size=4
i@ubuntu:
/yongzhuo/ngram2vec$ cpus_num=4
i@ubuntu:/yongzhuo/ngram2vec$ corpus=wikipedia
i@ubuntu:
/yongzhuo/ngram2vec$ output_path=outputs/${corpus}/word_word
i@ubuntu:~/yongzhuo/ngram2vec$ python ngram2vec/pairs2sgns.py --pairs_file ${output_path}/pairs --input_vocab_file ${output_path}/vocab.input --output_vocab_file ${output_path}/vocab.output --input_vector_file ${output_path}/sgns/sgns.input --output_vector_file ${output_path}/sgns/sgns.output --threads_num ${cpus_num}

Pairs2sgns
Starting training using file outputs/wikipedia/word_word/pairs
Vocab size: 1495416
Number of pairs: 500291968
Vocab size: 1495416
Number of pairs: 500291968
Alpha: 0.000002 Progress: 100.00% Pairs/thread/sec: 182.93k
Pairs2sgns finished

from ngram2vec.

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.