Git Product home page Git Product logo

bytenet-keras's People

Contributors

liangstein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bytenet-keras's Issues

hi, i think you wrote wrong layer input.

line 75, In ByteNet-Keras/ByteNet_train.py
encoder2 has to input by encoder2. but you wrote input_tensor.
you implemented byte-net so well, but i think you just made a small mistake.

Question on kernel_size in decoder

Hi @liangstein,

Thanx a lot for your implementation, it helped me a lot to understand bytenet.

I have a technical question for your implementation. I see that you use kernel_size=3 in your encoder's Convolutions, which makes absolute sense with padding='same' in order to condition each timestep (t) based on timesteps (t-1, t+1)*. My question is why the kernel_size=3 in decoder's Convolutions, where you use padding='causal' and you only need to condition based on the previous timestep (t-1). Is this the correct size or you should probably use kernel_size=2 in order to avoid including extra timesteps (e.g., timestep t-2)?

Thanx, Ilias

  • where timestep is the previous word in the first residual block, while it is the context-aware embedding of your current word in the next blocks.

@iliaschalkidis I didn't dig into this far. However from my experience with Keras, "causal" means the output at time step t is only related to outputs from 0 to (t-1). Did you mean if I choose kernel_size=3 with "causual", as the padding is transfered to "valid" by tensorflow, the output at t is not related to the outputs from 0 to (t-1) ? or the output is no longer a sequence output?

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.