Skip to content

Neural Dialogue Generation Benchmarks implemented TensorFlow 2.0

License

Notifications You must be signed in to change notification settings

katsugeneration/tf2-ndg-benchmarks

Repository files navigation

tf2-ndg-benchmarks

Neural Dialogue Generation Benchmarks implemented TensorFlow 2.0

Documentation Status

Usage

Run under the command for setup.

poetry install

Run under python code for using metrics.

from tf2-ndg-benchmarks import metrics

reference = 'It is a guide to action that ensures that the military will forever heed Party commands'
hypothesis = 'It is a guide to action which ensures that the military always obeys the commands of the party'
bleu = metrics.bleu.Bleu()
score = bleu.sentence_score(reference, hypothesis)

About

Neural Dialogue Generation Benchmarks implemented TensorFlow 2.0

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages