Ë
    l^(hÀ  ã                  óN   — d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d„ de«      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.
é    )Úannotations)ÚDataset)ÚSentenceTransformer)ÚInputExamplec                  ó$   — e Zd ZdZdd„Zd„ Zd„ Zy)ÚSentencesDatasetzê
    DEPRECATED: This class is no longer used. Instead of wrapping your List of InputExamples in a SentencesDataset
    and then passing it to the DataLoader, you can pass the list of InputExamples directly to the dataset loader.
    c                ó   — || _         y ©N©Úexamples)Úselfr   Úmodels      úm/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/sentence_transformers/datasets/SentencesDataset.pyÚ__init__zSentencesDataset.__init__   s	   € Ø ˆ�ó    c                ó    — | j                   |   S r
   r   )r   Úitems     r   Ú__getitem__zSentencesDataset.__getitem__   s   € Ø�}‰}˜TÑ"Ð"r   c                ó,   — t        | j                  «      S r
   )Úlenr   )r   s    r   Ú__len__zSentencesDataset.__len__   s   € Ü�4—=‘=Ó!Ð!r   N)r   zlist[InputExample]r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   © r   r   r   r      s   „ ñó
!ò#ó"r   r   N)
r   Ú
__future__r   Útorch.utils.datar   Úsentence_transformersr   Ú*sentence_transformers.readers.InputExampler   r   r   r   r   ú<module>r!      s$   ðñõ #å $å 5Ý Cô"�wõ "r   