Downloads · 30 days
11
2% of all-time downloads
swtx/simcse-chinese-roberta-www-ext
simcse-chinese-roberta-www-ext is a feature extraction model from swtx. Use it when you need embeddings to search or compare text. It is set up for transformers.
This model provides simplified Chinese sentence embeddings encoding based on Simple Contrastive Learning. The pretrained model(Chinese RoBERTa WWM Ext) is used for token encoding.
Downloads · 30 days
11
2% of all-time downloads
All-time downloads
444
Public
Repo size
818 MB
Likes
0
Public
Click a slice to open those files.
.bin409 MB · 100%
From the Hugging Face model README
This model provides simplified Chinese sentence embeddings encoding based on Simple Contrastive Learning. The pretrained model(Chinese RoBERTa WWM Ext) is used for token encoding.
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("swtx/simcse-chinese-roberta-wwm-ext")
model = AutoModel.from_pretrained("swtx/simcse-chinese-roberta-wwm-ext")