dev-chauhan / pqg-pytorch Goto Github PK
View Code? Open in Web Editor NEWParaphrase Generation model using pair-wise discriminator loss
License: MIT License
Paraphrase Generation model using pair-wise discriminator loss
License: MIT License
Hello there,
Do you have the pretrained models available somewhere?
May I know where can I find the score.py file in the repo.
I am anot able to find it here.
It seems like that after I trained the model with our own dataset using the code from master branch, I can not evaluate the model on the test set unless switching to ori- branch. However, I don't want to waste 2days training the model. What can I do to evaluate the testing data in the master branch.
How can i test the model with different paraphrase sentence after training?
Could you tell me the default epoch number to reproduce your results in the paper?
The delimiter in quora_prepro.py should be '\t' not ',' for the .tsv file
Line 102 in e880a4c
The nn.CrossEntropyLoss
expects logits, not log of the probabilities.
This criterion combines nn.LogSoftmax() and nn.NLLLoss() in one single class.
https://pytorch.org/docs/stable/nn.html#torch.nn.CrossEntropyLoss
Use just nn.NLLLoss
https://pytorch.org/docs/stable/nn.html#torch.nn.NLLLoss when working with log probabilties. Fix:
loss = nn.NLLLoss(ignore_index=data.PAD_token)
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.