GithubHelp home page GithubHelp logo

Questions regarding differences between the implementation and the experiment details in the research paper about dilated-cnn-ner HOT 5 CLOSED

iesl avatar iesl commented on September 26, 2024
Questions regarding differences between the implementation and the experiment details in the research paper

from dilated-cnn-ner.

Comments (5)

strubell avatar strubell commented on September 26, 2024

Yes, the configuration files should implement the same models reported in the paper.

I think you've answered your own question: the 4 layers for the sentence-level dilated CNN model are the 3 layers defined in the layers json in dilated-cnn.conf, plus the initial projection.

from dilated-cnn-ner.

nikhilrayaprolu avatar nikhilrayaprolu commented on September 26, 2024

Okay so does this mean, there is nowhere in the experiments where a dilation rate of 4 is used? Then does that affect the total receptive field of the CNN? since using a dilation of 2 doesn't give us a good level of receptive field(effective input width as per the paper).

from dilated-cnn-ner.

strubell avatar strubell commented on September 26, 2024

We experimented with models w/ dilation rate 4, but we found iterating smaller dilation widths to work better. This could partly have been an artifact of TensorFlow's old, naive (bad) implementation of dilated convolutions, which was very memory and time intensive, relative to what it should be. TF versions 1.5+ should have fixed this, so you may find that you can get better results with wider dilations / deeper networks, which should train faster and require less GPU memory now.

Our models still have a wide receptive field due to stacking w/ the dilation-2 layers, certainly much wider than the non-dilated equivalent number of layers.

from dilated-cnn-ner.

nikhilrayaprolu avatar nikhilrayaprolu commented on September 26, 2024

I am planning to make a pytorch equivalent of the research paper, and try few extensions for it. Thank You, for your quick replies. your quick replies would surely help me do it better and quicker.

from dilated-cnn-ner.

strubell avatar strubell commented on September 26, 2024

Great, let me know if you have further questions!

from dilated-cnn-ner.

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.