Giter Site home page Giter Site logo

Comments (5)

pl8787 avatar pl8787 commented on August 27, 2024 1

We have fixed this bug in the newest version. You can download the newest version in the master branch.

from matchzoo.

yangliuy avatar yangliuy commented on August 27, 2024 1

@Chunlinx you can take a look at this file https://github.com/faneshion/MatchZoo/blob/master/data/example/readme.md

to understand the input data format of MatchZoo toolkit.

from matchzoo.

yangliuy avatar yangliuy commented on August 27, 2024 1

@Chunlinx Explanations about the parameters in config files can be found here : https://github.com/faneshion/MatchZoo/blob/master/matchzoo/models/readme.txt

from matchzoo.

Chunlinx avatar Chunlinx commented on August 27, 2024

Hi, when i tried to run matchzoo on the the msrf dataset , I got an error indices[1,1]=10821 is not in the range(0,3273), I think this is due to the configure file. Could you please explain the parameters below :
"inputs": {
"share": {
"text1_corpus": "../data/example/classification/corpus_preprocessed.txt",
"text2_corpus": "../data/example/classification/corpus_preprocessed.txt",
"use_dpool": true,
"fill_word": 3272,
"embed_size": 100,
"train_embed": true,
"vocab_size": 3273,
"target_mode": "classification",
"class_num": 2,
"text1_maxlen": 20,
"text2_maxlen": 20
},
what are fill_word embed_size, vocab_size mean? and how to determine these figures when applying to a certain dataset
Thank you !

from matchzoo.

yangliuy avatar yangliuy commented on August 27, 2024

fill_word: the max word id, which is vocab_size-1.
embed_size: the dimension of word embeddings.
vocab_size: the size of vocabulary.

A suitable configure is decided by the property of your data. For hyper-parameters in your model, you need to tune them with the validation set.

from matchzoo.

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.