code: def formatting_func_sentence_transformers_all_lists(sample: dict):
      labels = [
          annotation["value"]
          for annotation in sample["question-3"]
          if annotation["status"] == "submitted"
          and annotation["value"] is not None
      ]
      if labels:
          # Force to pass always a list of values
          return [
              {
                  "sentence-1": sample["text"],
                  "sentence-2": sample["text"],
                  "label": 1,
              },
              {
                  "sentence-1": sample["text"],
                  "sentence-2": sample["text"],
                  "label": 2,
              },
          ]
  
file_path: argilla/tests/integration/client/feedback/helpers.py
imports: from collections import Counter
  from typing import Any, Dict, Iterator
  from argilla.client.models import Framework
  from argilla.feedback import TrainingTask
label_desc: Use image node_id 7 for calling a global function with example usage: formatting_func_sentence_transformers_all_lists(sample) and returns: list