Comments (3)
Hi,
- Usually the larger the
batch_size
, the better. - You can decide it based on the performance on the validation set.
- Two aspects to improve training speed: (1) mixed precision training (use
--fp16
) (2) the learned absorbing state makes the training converge faster.
from diffuseq.
Hi,
- Usually the larger the
batch_size
, the better.- You can decide it based on the performance on the validation set.
- 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.
Hi,
- Usually the larger the
batch_size
, the better.- You can decide it based on the performance on the validation set.
- 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:
-
You said bigger batch_size is better, why did you just set 425 during your training, A100 80G can allow bigger batch_size
-
Is the loss convergence of the validation set equivalent to the metric convergence of the validation set, e.g., BELU?
-
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?
-
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)
- AttributeError: 'DataParallel' object has no attribute 'get_embeds'
- NaN probabilities for step_sample HOT 4
- Sucessfully training log HOT 1
- vocab dic invalid HOT 1
- diffuseq-v2: TypeError: load_state_dict() takes 1 positional argument but 3 were given HOT 3
- DiffuSeq-v2 checkpoint release HOT 1
- Issues with decoding and evaluation HOT 2
- Padding during training results in a "Killed"
- BERT parameter
- Try to train the model with another dataset, but get so many [UNK] token.
- a few questions about the 'MBR' decoding strategy. HOT 2
- Version of many packages
- Incorrect self-BLEU Computation
- a question about --local_rank
- Could not find a version that satisfies the requirement torch==1.9.0+cu111
- i face some promble Dataset(2) in "text_datasets.py" HOT 1
- If there is any rule to modify the parameters HOT 1
- Machine Translation Task with DiffuSeq HOT 6
- A question about the loss in V2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffuseq.