a
    ãÀh	  ã                   @  s"   d Z ddlmZ G dd„ dƒZdS )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                   @  s,   e Zd ZdZdddddœd	d
„Zdd„ ZdS )ÚInputExamplezEStructure for one input example with texts, the label and a unique idÚ Nr   Ústrzlist[str] | Nonezint | float©ÚguidÚtextsÚlabelc                 C  s   || _ || _|| _dS )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
        Nr   )Úselfr   r   r	   © r   úf/var/www/html/assistant/venv/lib/python3.9/site-packages/sentence_transformers/readers/InputExample.pyÚ__init__   s    	zInputExample.__init__c                 C  s   d  t| jƒd | j¡¡S )Nz#<InputExample> label: {}, texts: {}z; )Úformatr   r	   Újoinr   )r
   r   r   r   Ú__str__   s    zInputExample.__str__)r   Nr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r      s   r   N)r   Ú
__future__r   r   r   r   r   r   Ú<module>   s   
