SkillAgentSearch skills...

Rots

Unsupervised Sentence Textual Similarity with Compositional Phrase Semantics (COLING 2022)

Install / Use

/learn @zihao-wang/Rots
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ROTS, recursive optimal transport similarity

Code for paper Unsupervised Sentence Textual Similarity with Compositional Phrase Semantics

requirement

  • python OT
  • spacy
  • tqdm
  • pandas
  • numpy
  • sklearn
  • scipy
  • scikits.bootstrap

Setup

  1. prepare data yourself
  • prepare the vectors in vectors folder, see 'model/word_vector.py' for path specifications and see appendix for downloadable links.
  • prepare the datasets in dataset folder, see 'model/dataset.py' for path specifications and see appendix for ways to obtain and preprocess.
  1. run pipline.py file for evaluation, note that you may need to set the config files

For sample configs, please see the config folder.

Bibliography

@inproceedings{wang2022Unsupervised,
  title={Unsupervised Sentence Textual Similarity with Compositional Phrase Semantics},
  author={Zihao Wang and Jiaheng Dou and Yong Zhang},
  booktitle={Proceedings of the 29th International Conference on Computational Linguistics},
  year={2022}
}
View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1y ago
Forks0

Languages

Jupyter Notebook

Security Score

55/100

Audited on Dec 25, 2024

No findings