MeMDLM / benchmarks /Generation /Visualize /analyze_mdlm_denovo_gen.py
sgoel30's picture
Upload 34 files
d8ed92a verified
raw
history blame
193 Bytes
import pandas as pd
path = "/home/sg666/MDpLM/benchmarks/Generation"
res = pd.read_csv(path + "/mdlm_de-novo_generation_results.csv")
average_ppl = res['Perplexity'].mean()
print(average_ppl)