Comments (3)
I think it is due to the default smoothing function.
Before nltk < 3.3 (released 2018.05.06), there was a bug in the SmoothingFunction().method0
(i.e. no smoothing),
which was the default smoothing function of sentence_bleu
That bug led to incorrect high values of BLEU for cases with no matched n-gram (common when n is high).
(See: nltk/nltk#1545)
Texygen uses SmoothingFunction().method1
by default: using 0.1 as the numerator in precision instead of 0 if there's no matched n-gram,
so it is unaffected by the bug regardless of NLTK version.
from texygen.
What's your setting in the experiment? We use TF 1.4.
And how did you conduct BLEU evaluation? Do you use the evaluation program in the TexyGen?
from texygen.
The BLEU score of LeakGAN is far lower than that reported in the paper.
How did you get the BLEU score?
Thanks
from texygen.
Related Issues (20)
- How to prepare the data for text generation task. Thank you very much.
- How to generate data from leakgan : leakgan error
- How to Save Trained Models for reuse? HOT 2
- 怎样跑自己的真实数据 HOT 2
- In MLE model, sample from multinomial distribution instead of using argmax to generate next_token
- Why the leakgan implementation is different from the paper? HOT 1
- Is there a way to make generation conditional on some input text?
- dataset partition
- How to get text from generated generator.txt file?
- How can I get the BLEU on real data? HOT 1
- Where is the reference about MLE
- potential bug in self-bleu calculations HOT 1
- Question of Generator Loss of MaliGAN
- Bugs in running RankGAN
- How to use Bleu?
- 请问你们成功运行该项目的环境具体是多少?我总是出错
- Unique ngram, division by lenght of document
- Why GAN instead of RNN?
- How to save only discriminator model?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texygen.