Skip to content

[Question]: PaddleNLP现在最新的代码中没有SimCSE了吗? #6430

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

Closed
jkrescue opened this issue Jul 18, 2023 · 1 comment
Closed

[Question]: PaddleNLP现在最新的代码中没有SimCSE了吗? #6430

jkrescue opened this issue Jul 18, 2023 · 1 comment
Assignees
Labels
question Further information is requested triage

Comments

@jkrescue
Copy link

请提出你的问题

import paddle
import paddlenlp as ppnlp
from paddlenlp.transformers import SimCSE


ImportError Traceback (most recent call last)
Cell In[2], line 3
1 import paddle
2 import paddlenlp as ppnlp
----> 3 from paddlenlp.transformers import SimCSE

ImportError: cannot import name 'SimCSE' from 'paddlenlp.transformers' (/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddlenlp/transformers/init.py)

@jkrescue jkrescue added the question Further information is requested label Jul 18, 2023
@w5688414
Copy link
Contributor

w5688414 commented May 7, 2024

simcse不是默认的模型,请参考代码:

@paddle-bot paddle-bot bot closed this as completed May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage
Projects
None yet
Development

No branches or pull requests

3 participants