File size: 193 Bytes
d8ed92a
 
 
 
 
 
 
1
2
3
4
5
6
7
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)