Giter VIP home page Giter VIP logo

learning-data-manipulation's People

Contributors

tanyuqian avatar zhitinghu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

learning-data-manipulation's Issues

code quesiton

what the function do? why define a magic_model?
classifier.finetune_generator(example, aug_probs, finetune_batch_size=len(examples))

A little question towards running the augmentation part for this code

Hello, there
Thanks a lot for your opening source your code and your impressive work.
I met up with a little problem when I was trying to reproduce the data augmentation part for text in scripts folder providered by you. (specifically, say, I want to run the script : run_augmentation_sst5_low.sh)
It seems that you set the data augmentation experience running on a single GPU So I just run your code without changing anything on a RTX2080 GPU(around 10GiB storage space available) and here is a 'CUDA out of memory' error occurring when I finished the phases of 'Classifier Pre-training' and 'Generator Pre-training' and just started the phase of 'Training'.

Could you plz imform me of the rough memory requirement of gpu towards running this part? And whether you were making use of multi-gpus to run this part or not? (I noticed that you metioned that '4*RTX1080Ti GPUs and 64GBRAM' in your paper, does 'RAM' here mean storage of GPU?)

I'd appreciate it if receiving a reply!

I can't produce the result in this paper

I configured the same environment and ran the run_augmentation_sst5_low.sh file and got 15 identical results. The result is "Final Test Acc: 28.6425". Is there some error in the code?

The hyperparameters on TREC dataset

Thanks for your attention.
I have reproduced the results on SST-5(36.71), IMDB(65.13) and TREC(85.13/82.50). The results are the average of final test acc on 15 runs.
The SST-5 and IMDB results are fine, but the results on TREC is significantly lower than 89.15 on your paper.
Are the hyperparameters on TREC different from SST-5 and IMDB?

Two small issues about the paper and code

Thanks for your great jobs on data augmentation.
I am confused by the code in augmentation/classifier.py def finetune_generator(self, example, aug_probs, finetune_batch_size):
What's the correlation between the reward (Eq.9 in the paper) and the aforementioned code?

And. what is the purpose of the magic_module.py

question about magic_model

how to understand magic_model

why augmentation.classifier line 158 dev_loss.backward() can update the Generator weight

AttributeError: can't set attribute

I find the magicmodule can's process RNNBased Module,
such as :meta_model = MagicModule(nn.RNN(10,10))
The errors "AttributeError: can't set attribute " will appear, could you help me find out what's wrong with it?

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.