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

Unable to reproduce the results for 20-News dataset #17

Open
joywang233 opened this issue Feb 15, 2023 · 2 comments
Open

Unable to reproduce the results for 20-News dataset #17

joywang233 opened this issue Feb 15, 2023 · 2 comments

Comments

@joywang233
Copy link

Thanks for the excellent project! I'm new to GAN and was trying to reproduce the results(reported in the paper) for the 20News dataset. However, my testing accuracy stuck at about 5.2% no matter whether I used a 1% labelled or 10% labelled training dataset. (I tried 1%, 2%, 10%-50% but almost got same results.) Also, the generator training loss is extremely big like up to 1343123137304389. I used my own dataset with different ratios of labelled datasets and the highest accuracy I got is only 38%.

Just wondering does anyone was able to reproduce the results or perhaps knows what is going wrong?
I trained 20News dataset for 15 epochs, lr= 5e-6, dropout = 0.1, noise_size = 100, max_seq_length = 256, batch size = 64.
Appreciate your help!

@hoangthangta
Copy link

hoangthangta commented Mar 9, 2023

Test your lr with different values, 5e-5, 5e-7, etc.

@joywang233
Copy link
Author

Test your lr with different values, 5e-5, 5e-7, etc.

Thank you so much for your reply! After I froze some weights from BERT(and tried several different lr) it is somehow working now on my own dataset. Maximum accuracy around 63%.

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