Downloads · 30 days
17
3% of all-time downloads
hkust-nlp/SynCSE-partial-RoBERTa-base
SynCSE-partial-RoBERTa-base is a feature extraction model from hkust-nlp. Use it when you need embeddings to search or compare text. It is set up for transformers.
Downloads · 30 days
17
3% of all-time downloads
All-time downloads
576
Public
Repo size
2.6 GB
Likes
0
Public
Click a slice to open those files.
.pt1.3 GB · 67%
From the Hugging Face model README
More information needed
Developed by: SJTU-LIT
Shared by [Optional]: SJTU-LIT
Model type: Feature Extraction
Language(s) (NLP): More information needed
License: More information needed
Parent Model: RoBERTa-base
Resources for more information:
This model can be used for the task of feature extraction.
The model should not be used to intentionally create hostile or alienating environments for people.
Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
The model craters note in the Github Repository
We use 26.2k generated synthetic train SynCSE-partial-RoBERTa-base.
BibTeX:
@article{zhang2023contrastive,
title={Contrastive Learning of Sentence Embeddings from Scratch},
author={Zhang, Junlei and Lan, Zhenzhong and He, Junxian},
journal={arXiv preprint arXiv:2305.15077},
year={2023}
}
If you have any questions related to the code or the paper, feel free to email Junlei ([email protected]). If you encounter any problems when using the code, or want to report a bug, you can open an issue. Please try to specify the problem with details so we can help you better and quicker!
Use the code below to get started with the model.
<details> <summary> Click to expand </summary>from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("sjtu-lit/SynCSE-partial-RoBERTa-base")
model = AutoModel.from_pretrained("sjtu-lit/SynCSE-partial-RoBERTa-base")
</details>