BERTSimilarity-0.1
توضیحات
A BERT embedding library for sentence semantic similarity measurement.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | BERTSimilarity-0.1 |
| نام | BERTSimilarity |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ABHILASH MAJUMDER |
| ایمیل نویسنده | debabhi1396@gmail.com |
| آدرس صفحه اصلی | https://github.com/abhilash1910/BERTSimilarity |
| آدرس اینترنتی | https://pypi.org/project/BERTSimilarity/ |
| مجوز | MIT |
This is a sentence similarity measurement library using the forward pass of the BERT (bert-base-uncased) model. The spatial distance is computed using the cosine value between 2 semantic embedding vectors in low dimensional space. These vectors can be extracted by unique words as well as the sentence as a whole.The library also provides a flexibility for choosing any other approximators for spatial distance measurement for semantic similarity measurement.References include the BERT paper(https://arxiv.org/abs/1810.04805),Google Research BERT (https://github.com/google-research/bert/)
نحوه نصب
نصب پکیج whl BERTSimilarity-0.1:
pip install BERTSimilarity-0.1.whl
نصب پکیج tar.gz BERTSimilarity-0.1:
pip install BERTSimilarity-0.1.tar.gz