Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

预训练模型 #1

Open
HMJW opened this issue Feb 7, 2022 · 2 comments
Open

预训练模型 #1

HMJW opened this issue Feb 7, 2022 · 2 comments

Comments

@HMJW
Copy link

HMJW commented Feb 7, 2022

提供的预训练模型sentencebert_simclue中是否少了一些文件?原版的distiluse-base-multilingual-cased-v1中包含了1_Pooling和2_Dense等一些东西。
如果没缺少该如何加载此模型并生成向量?

@Jin9810
Copy link

Jin9810 commented Nov 23, 2024

哈,我也遇见了相同的问题

@Jin9810
Copy link

Jin9810 commented Nov 23, 2024

哈,我也遇见了相同的问题

之前使用的是SentenceTransformer读取的,后面改成使用transformer就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants