leonleeldc

Results comments of leonleeldc

Hey, guys, I encounter this problem as well. I follow wzorgdrager's suggestion to comment --srcditc dict.txt when doing binarize data. Still not working. Not sure why? Any more comments? Where...

Namely, how can condition the use of half?

I think that I found solution. In fact, what we need to do is to remove the parameter: --fp16. Then, the whole command line will look like: python3.7 train.py Quora/data-bin...

Thanks for your nice answer. Yet, I am still not sure how we can handle this. Now, what I am doing is directly load pretrained model from my_optimizer. But I...

Hey, it looks that the problem lies in pretrained_model = BARTModel.from_pretrained(model_name_or_path=model_name_or_path. right now, I changed the strategy. I define a function to use running model to load pretrained model. def...

Hey, I already found the solution to this part. Let me copy my scripts here. In future, if others need this, it may help them as well. Great thanks for...

But I have a question here is that it looks that in the optimizer function as following, class FairseqAdam(FairseqOptimizer): """Adam optimizer for fairseq. Important note: this optimizer corresponds to the...

After more investigation for a while, I found that the flatten is controlled by --fp16. Basically, in fairseq/optim/fp16-optimizer.py, there is a function as below. @classmethod def build_fp32_params(cls, args, params, flatten=True):...

Hey, I finally figure out how to efficiently get a flattened params. Based on build_fp32_params of fairseq/optim/fp16_optimzer.py, I changed my function as following. It can efficiently obtained the flattened pretrained...

when I run examples from models with the following command line: python3.6 paddlepaddle/models/PaddleCV/PaddleGAN/c_gan/dc_gan.py I got the above errors. I didn't see I should set any positional arguments. This is more...