Hzfinfdu / Diffusion-BERT

ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models
Apache License 2.0
292 stars 25 forks source link

No module named 'perplexity #20

Open Akicwy opened 1 year ago

Akicwy commented 1 year ago

When I run predict.py, an error message 'No module named 'perplexity'' appears. how can I download this library?

Hzfinfdu commented 1 year ago

This was initially used to test the perplexity of the generated sentences. It is removed in the final codebase. This line is now removed from predict.py

Akicwy commented 1 year ago

thanks