Views
No views yet
pip install -U git+https://github.com/mrpeerat/SCT1from sentence_transformers import SentenceTransformer
2sentences = ["This is an example sentence", "Each sentence is converted"]
3
4model = SentenceTransformer('mrp/SCT_Distillation_BERT_Small')
5embeddings = model.encode(sentences)
6print(embeddings)1@article{limkonchotiwat-etal-2023-sct,
2 title = "An Efficient Self-Supervised Cross-View Training For Sentence Embedding",
3 author = "Limkonchotiwat, Peerat and
4 Ponwitayarat, Wuttikorn and
5 Lowphansirikul, Lalita and
6 Udomcharoenchaikit, Can and
7 Chuangsuwanich, Ekapol and
8 Nutanong, Sarana",
9 journal = "Transactions of the Association for Computational Linguistics",
10 year = "2023",
11 address = "Cambridge, MA",
12 publisher = "MIT Press",
13}