e2239ff7bb6234e409bf3676acb45b74d8c34e9d,15-vae/vae-lm.py,,,#,206

Before Change


// this is how you generate, can replace with desired sentenced to generate
sentences = []
for sent_id, sent in enumerate(test):
    translated_sent = generate(sent[0])
    sentences.append(translated_sent)
for sent in sentences:
    print(sent)

After Change



        dev_kl_loss += kl_loss.value()
        dev_reconstruct_loss += softmax_loss.value()
        dev_loss += kl_loss.value() + softmax_loss.value()

        dev_words += len(sent)
        trainer.update()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: neubig/nn4nlp-code
Commit Name: e2239ff7bb6234e409bf3676acb45b74d8c34e9d
Time: 2017-10-16
Author: hunterhector@gmail.com
File Name: 15-vae/vae-lm.py
Class Name:
Method Name:


Project Name: reinforceio/tensorforce
Commit Name: fbfb7d504e5eaa16040e7e6defe7505b6f46a9b0
Time: 2020-04-26
Author: alexkuhnle@t-online.de
File Name: tensorforce/environments/openai_gym.py
Class Name: OpenAIGym
Method Name: create_level


Project Name: reinforceio/tensorforce
Commit Name: 6876fcad99cde217f2595b4af73674909c95bdb9
Time: 2020-04-26
Author: alexkuhnle@t-online.de
File Name: tensorforce/environments/openai_gym.py
Class Name: OpenAIGym
Method Name: create_level


Project Name: tiberiu44/TTS-Cube
Commit Name: 18857c333e04b6815ec1f2ab9fcec1c0a0ae7bfd
Time: 2018-11-01
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: synthesize