
    Ch	                    (    S r SSKJr   " S S5      rg)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                  ,    \ rS rSrSrSSS jjrS rSrg)	InputExample   zEStructure for one input example with texts, the label and a unique idNc                (    Xl         X l        X0l        g)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       b/var/www/html/shao/venv/lib/python3.13/site-packages/sentence_transformers/readers/InputExample.py__init__InputExample.__init__   s     	

    c                ~    SR                  [        U R                  5      SR                  U R                  5      5      $ )Nz#<InputExample> label: {}, texts: {}z; )formatstrr
   joinr	   )r   s    r   __str__InputExample.__str__   s-    4;;C

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