
    rh	                    (    d Z ddlmZ  G d d      Zy)a@  
This file contains deprecated code that can only be used with the old `model.fit`-style Sentence Transformers v2.X training.
It exists for backwards compatibility with the `model.old_fit` method, but will be removed in a future version.

Nowadays, with Sentence Transformers v3+, it is recommended to use the `SentenceTransformerTrainer` class to train models.
See https://www.sbert.net/docs/sentence_transformer/training_overview.html for more information.

Instead, you should create a `datasets` `Dataset` for training: https://huggingface.co/docs/datasets/create_dataset
    )annotationsc                       e Zd ZdZdddZd Zy)InputExamplezEStructure for one input example with texts, the label and a unique idNc                .    || _         || _        || _        y)z
        Creates one InputExample with the given texts, guid and label

        Args:
            guid: id for the example
            texts: the texts for the example.
            label: the label for the example
        N)guidtextslabel)selfr   r   r	   s       }/var/www/html/ai-insurance-compliance-backend/venv/lib/python3.12/site-packages/sentence_transformers/readers/InputExample.py__init__zInputExample.__init__   s     	

    c                ~    dj                  t        | j                        dj                  | j                              S )Nz#<InputExample> label: {}, texts: {}z; )formatstrr	   joinr   )r
   s    r   __str__zInputExample.__str__   s-    4;;C

OTYYW[WaWaMbccr   ) Nr   )r   r   r   zlist[str] | Noner	   zint | float)__name__
__module____qualname____doc__r   r    r   r   r   r      s    Odr   r   N)r   
__future__r   r   r   r   r   <module>r      s    #d dr   