system HF staff commited on
Commit
ac29f28
1 Parent(s): 6aa5aac

Update files from the datasets library (from 1.5.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.5.0

Files changed (1) hide show
  1. sofc_materials_articles.py +2 -2
sofc_materials_articles.py CHANGED
@@ -417,8 +417,8 @@ class SOFCMaterialsArticles(datasets.GeneratorBasedBuilder):
417
 
418
  # Iterate through the links data, which is in a simple tab-delimited format
419
  links = []
420
- for l in links_raw:
421
- _, relation_label, start_span_id, end_span_id = l.split("\t")
422
 
423
  link_out = {
424
  "relation_label": relation_label,
 
417
 
418
  # Iterate through the links data, which is in a simple tab-delimited format
419
  links = []
420
+ for link in links_raw:
421
+ _, relation_label, start_span_id, end_span_id = link.split("\t")
422
 
423
  link_out = {
424
  "relation_label": relation_label,