code: def __mentions_from_entities__(
      self, entities: Set[EntitySpan]
  ) -> Dict[str, EntitySpan]:
      return {
          mention: entity
          for entity in entities
          for mention in [self.text[entity.start : entity.end]]
      }
  
imports: from typing import Dict, List, Optional, Set, Tuple
  from argilla.server.commons.models import PredictionStatus, TaskType
  from argilla.server.constants import DEFAULT_MAX_KEYWORD_LENGTH
  from argilla.server.pydantic_v1 import BaseModel, Field, validator
  from argilla.server.services.search.model import ServiceBaseRecordsQuery, ServiceScoreRange
  from argilla.server.services.tasks.commons import ServiceBaseAnnotation, ServiceBaseRecord
  from argilla.utils import SpanUtils
label_desc: Use image node_id 14 for calling the ServiceTokenClassificationRecord obj's underlying member method code with example usage: obj.__mentions_from_entities__(entities) and returns: unknown