Giter VIP home page Giter VIP logo

Comments (3)

summmeer avatar summmeer commented on June 21, 2024 1

Hi,

  1. Usually the larger the batch_size, the better.
  2. You can decide it based on the performance on the validation set.
  3. Two aspects to improve training speed: (1) mixed precision training (use --fp16) (2) the learned absorbing state makes the training converge faster.

from diffuseq.

CCCCCCCCCdut avatar CCCCCCCCCdut commented on June 21, 2024

Hi,

  1. Usually the larger the batch_size, the better.
  2. You can decide it based on the performance on the validation set.
  3. Two aspects to improve training speed: (1) mixed precision training (use --fp16) (2) the learned absorbing state makes the training converge faster.

Thank you!

from diffuseq.

CCCCCCCCCdut avatar CCCCCCCCCdut commented on June 21, 2024

Hi,

  1. Usually the larger the batch_size, the better.
  2. You can decide it based on the performance on the validation set.
  3. Two aspects to improve training speed: (1) mixed precision training (use --fp16) (2) the learned absorbing state makes the training converge faster.

Hi author, read your article and code. I have some new doubts which I hope you can answer:

  1. You said bigger batch_size is better, why did you just set 425 during your training, A100 80G can allow bigger batch_size

  2. Is the loss convergence of the validation set equivalent to the metric convergence of the validation set, e.g., BELU?

  3. Add the soft absorption state ,My understanding is that you parameterize the clamp() operation with the trainable parameter mean_embed, and it in your code as follows:
    x_t = ( _extract_into_tensor(self.sqrt_alphas_cumprod, t, x_start.shape) * (x_start - mean_embed[None, None]) + _extract_into_tensor(self.sqrt_one_minus_alphas_cumprod, t, x_start.shape) * noise + mean_embed[None, None] * mask )

    I don't understand how this formula is derived, can you explain?

  4. In your paper on the table of BELUs obtained based on training time, I would like to ask if the BELUs are calculated directly using the X0 predicted by the model -> x0 = model(xt,t) , or based on the X0 obtained from the T-step REVERSE sampling ?

Thanks!

from diffuseq.

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.