Skip to content

آیا مدل شما sentence-transformers دارد؟ #26

@Hasan-Torabi

Description

@Hasan-Torabi

با سلام و احترام و عرض ادب
بنده مدل شما را روی یک پروژه گیت هاب https://github.com/MaartenGr/KeyBERT#toc استفاده کردم. در این پروژه کلمات کلیدی متن استخراج می شود. مدل شما را در کد زیر استفاده کردم
kw_model = KeyBERT('HooshvareLab/bert-base-parsbert-peymaner-uncased')
اما با خطاهای زیر مواجه شدم. آیا مدل شما sentence-transformers دارد؟
No sentence-transformers model found with name /root/.cache/torch/sentence_transformers/HooshvareLab_bert-base-parsbert-peymaner-uncased. Creating a new one with MEAN pooling.
Some weights of the model checkpoint at /root/.cache/torch/sentence_transformers/HooshvareLab_bert-base-parsbert-peymaner-uncased were not used when initializing BertModel: ['classifier.bias', 'classifier.weight']

  • This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
  • This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
    /usr/local/lib/python3.7/dist-packages/sklearn/feature_extraction/text.py:401: UserWarning: Your stop_words may be inconsistent with your preprocessing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions