Views
No views yet
pip install -U git+https://github.com/KornWtp/ConGen.git1from sentence_transformers import SentenceTransformer
2sentences = ["This is an example sentence", "Each sentence is converted"]
3
4model = SentenceTransformer('kornwtp/ConGen-Multilingual-DistilBERT')
5embeddings = model.encode(sentences)
6print(embeddings)1@inproceedings{limkonchotiwat-etal-2022-congen,
2 title = "{ConGen}: Unsupervised Control and Generalization Distillation For Sentence Representation",
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 booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
10 year = "2022",
11 publisher = "Association for Computational Linguistics",
12}