code: def add_to_samples(sent1, sent2, label):
      if sent1 not in train_data:
          train_data[sent1] = {
              "contradiction": set(),
              "entailment": set(),
              "neutral": set(),
          }
      train_data[sent1][label].add(sent2)
  
file_path: sentence-transformers/examples/training/nli/training_nli_v2.py
imports: import math
  from sentence_transformers import models, losses, datasets
  from sentence_transformers import LoggingHandler, SentenceTransformer, util, InputExample
  from sentence_transformers.evaluation import EmbeddingSimilarityEvaluator
  import logging
  from datetime import datetime
  import sys
  import os
  import gzip
  import csv
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: add_to_samples(sent1, sent2, label) without return types