MAGIC icon indicating copy to clipboard operation
MAGIC copied to clipboard

Difference between paper and code

Open mianzhang opened this issue 2 years ago • 0 comments

Hi,

In https://github.com/yxuansu/MAGIC/blob/main/story_generation/language_model/utlis.py#L266, you say you only use the generated text to calculate similarity. But in the paper, the MAGIC scores are calculated based on the prefix and the generated tokens. Could you explain this difference?

Thx~

mianzhang avatar Dec 03 '22 12:12 mianzhang