Text Classification
Transformers
Safetensors
English
HHEMv2Config
custom_code

Might be a typos in example code

#15
by maverick84 - opened

Hi,
There might be a minor error in list comprehension when iterating over the score.

simple_scores = [score_dict['score'] for score_for_both_labels in full_scores  for score_dict in score_for_both_labels if score_dict['label'] == 'consistent']
Vectara org

Thanks for catching that. It’s been fixed.

Miaoran000 changed discussion status to closed

Sign up or log in to comment