Views
No views yet
We use 26.2k generated synthetic train SynCSE-partial-RoBERTa-base.
1@article{zhang2023contrastive,
2 title={Contrastive Learning of Sentence Embeddings from Scratch},
3 author={Zhang, Junlei and Lan, Zhenzhong and He, Junxian},
4 journal={arXiv preprint arXiv:2305.15077},
5 year={2023}
6}zhangjunlei@westlake.edu.cn). 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!1from transformers import AutoTokenizer, AutoModel
2
3tokenizer = AutoTokenizer.from_pretrained("sjtu-lit/SynCSE-partial-RoBERTa-base")
4
5model = AutoModel.from_pretrained("sjtu-lit/SynCSE-partial-RoBERTa-base")
6