o
    ߥir                     @   sj   d dl mZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 e Zeje
jejdG dd deZd	S )
    )Models)MODELS)ModelForTextRanking)logger)Tasks)module_namec                   @   s   e Zd ZdZdZdS )BertForTextRankinga  Bert Model transformer with a sequence classification/regression head on top
    (a linear layer on top of the pooled output) e.g. for GLUE tasks.

    This model inherits from :class:`SequenceClassificationModel`. Check the superclass documentation for the generic
    methods the library implements for all its model (such as downloading or saving, resizing the input embeddings,
    pruning heads etc.)

    This model is also a PyTorch `torch.nn.Module <https://pytorch.org/docs/stable/nn.html#torch.nn.Module>`__
    subclass. Use it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to
    general usage and behavior.
    bertN)__name__
__module____qualname____doc__base_model_type r   r   [/home/ubuntu/.local/lib/python3.10/site-packages/modelscope/models/nlp/bert/text_ranking.pyr      s    r   N)modelscope.metainfor   modelscope.models.builderr   modelscope.models.nlpr   modelscope.utilsr   loggingmodelscope.utils.constantr   
get_loggerregister_moduletext_rankingr	   r   r   r   r   r   <module>   s   