tobeyyang / s2s_temp Goto Github PK
View Code? Open in Web Editor NEWCode for EMNLP2019 paper "Low-Resource Response Generation with Template Prior"
License: Apache License 2.0
Code for EMNLP2019 paper "Low-Resource Response Generation with Template Prior"
License: Apache License 2.0
how to transfer raw data to preprocessed data with label
When code will be available?
Hi!
when I run
python gan.py -data question_data/dia_data -load models/hsmm-300-50-4.pt.e10 -pretrain_gen -pretrained_gen_path models/pretrain_gen.pt -bsz 100 --gpu 0 -pretrain_train_fi segs/hsmm-300-50-4.pt.e10.segs.train -pretrain_valid_fi segs/hsmm-300-50-4.pt.e10.segs.valid -beam_sample -tagged_fi segs/hsmm-300-50-4.pt.e10.segs.pool -gan_path models/generator_adversarial.pt
If the argument -pretrain_dis is not true, then this below part will be skipped.
if args.pretrain_dis:
print('<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<')
print('Pretrain Discriminator by negative sampling')
train_discriminator_matching(dis, dis_opt, args.pretrain_dis_epochs)
And the error is No such file or directory: 'models/dis/pretrain_dis.pt.0.0'
On the other hand, when I set the pretrain_dis True, then another error no matching_train.txt is generated.
So this two pretrained dataset train.txt and valid.txt is not uploaded into github, whether will you upload it or where I make a mistake?
[Errno 2] No such file or directory: 'question_data/interrogative_vocab.data'
Look forward to your reply!
Typo: hep
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.