Coder Social home page Coder Social logo

target vocab size about im2markup HOT 5 OPEN

harvardnlp avatar harvardnlp commented on June 6, 2024
target vocab size

from im2markup.

Comments (5)

da03 avatar da03 commented on June 6, 2024

Hmm did you preprocess the full training set? Or the provided sample set?

from im2markup.

mily33 avatar mily33 commented on June 6, 2024

@da03 Emm, I preprocess the full training set.

from im2markup.

da03 avatar da03 commented on June 6, 2024

That's weird, can you load the provided pretrained model, find the vocab (https://github.com/harvardnlp/im2markup/blob/master/src/model/model.lua#L64) and then compare it to your vocabulary to see where they differ?

from im2markup.

mily33 avatar mily33 commented on June 6, 2024

@da03 It's soooo weird. I download both the processed files and raw files from http://lstm.seas.harvard.edu/latex/data/. I got a vocabulary of size 496 from both the two files (using the "train_filter.lst"). When I use the “train.lst” file (without filter), I got the size 519, still unequal to yours. I also compare the vocabulary in the provided pretrained model with mine, and I can not find the exact reason for causing this.

from im2markup.

mily33 avatar mily33 commented on June 6, 2024

It seems it is because of the different sizes of the training set. I found that the vocab size in this respo is 499, and his training set is 76444. https://github.com/ritheshkumar95/im2latex-tensorflow/tree/master/im2markup
My training set is of size 75275 after filter, equal to your provided processed training set.

from im2markup.

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.