chunk_content:  elif word_idx != previous_word_idx:
                  label_ids.append(label[word_idx])
              else:
                  label_ids.append(-100)
              previous_word_idx = word_idx
          labels.append(label_ids)
  
      tokenized_inputs["labels"] = labels
      return tokenized_inputs
  Use map to apply the tokenize_and_align_labels function to the dataset:
  
  
  	Copied
  tokenized_bionlp = bionlp.map(tokenize_and_align_labels, batched=True)
  Finally,