Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about num_aug #6

Open
RenShuhuai-Andy opened this issue May 14, 2020 · 1 comment
Open

question about num_aug #6

RenShuhuai-Andy opened this issue May 14, 2020 · 1 comment

Comments

@RenShuhuai-Andy
Copy link

RenShuhuai-Andy commented May 14, 2020

Hi, I think here in augmentation_main.py

batch_examples = generator.augment_batch(
examples=batch_examples, num_aug=1)

num_aug should be set to args.n_aug instead of 1. Is it a typo? Or you only generate args.n_aug augmented texts for fine-tuning generator? But why?

@tanyuqian
Copy link
Owner

No, it's not a typo. We augment args.num_aug examples to finetune the generator (Line97) and augment 1 example to train the classifier (Line100 & Line102). They are two separated hyperparameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants