# Datasets - metrics

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdatasets-metrics%2F3452%3E%5C
**Category:** Beginners\
**Created:** [January 30, 2021, 9:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdatasets-metrics%2F3452 "2021-01-30T21:48:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![turlivirli](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@turlivirli](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fturlivirli)%5C
**Post date:** [January 30, 2021, 9:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdatasets-metrics%2F3452%2F1 "2021-01-30T21:48:20Z")

</div>

Hello,  
1., this line does not work from the documentation:  
print(’, '.join(dataset.id for dataset in datasets\_list))  
AttributeError: ‘str’ object has no attribute ‘id’  
2., I would like to use the metrics provided on huggingface (csv file of GPT-2 generated sentences on reddit data)  
I could load the generated sentences into dataset, and got:  
features: [‘real\_id’, ‘fake\_reply’, ‘is\_fake’],  
num\_rows: 73799  
If I try to run the bleurt metrics, what else do I need to specify?  
do I need to say what is input or references or predictions? or this is automatic?  
metric = load\_metric(‘bleurt’, ‘bleurt-large-512’)  
for batch in dataset:  
input, references = batch  
predictions = model(inputs)  
metric.add\_batch(predictions=predictions, references=references)  
score = metric.compute()  
File “” line 14, in   
input, references = batch  
ValueError: too many values to unpack (expected 2)
