code: def get_token_span(sentence, span: ExclusiveSpan, tokenizer):
      tokenized = tokenizer.tokenize(sentence)
      tokenized_start1 = tokenizer.tokenize(sentence[: span.start])
      tokenized_start2 = tokenizer.tokenize(sentence[: span.end])
      assert starts_with(tokenized, tokenized_start1)
      # assert starts_with(tokenized, tokenized_start2)  # <- fails because of "does" in "doesn't"
      word = sentence[span.to_slice()]
      assert word.lower().replace(" ", "") in flat_strip(
          tokenized_start2[len(tokenized_start1) :],
          tokenizer=tokenizer,
      )
      token_span = ExclusiveSpan(
          start=len(tokenized_start1), end=len(tokenized_start2)
      )
      return tokenized, token_span
  
imports: from jiant.tasks.utils import ExclusiveSpan
label_desc: Use image node_id 6 for calling a global function with example usage: get_token_span(sentence, span, tokenizer) and returns: tokenized,  token_span