Skip to main content

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/)

Metadata

Release files for BERTSimilarity 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BERTSimilarity 0.1
File Size Uploaded
BERTSimilarity-0.1.tar.gz 2.7 kB Details

Release files / BERTSimilarity-0.1.tar.gz

Download URL BERTSimilarity-0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7686bdf9c7531f6ae6d1df7272536de72b9b9497db7457aeb297354dc114517b
BLAKE2b-256 checksum
How to use checksums
f9f152928d627e616b185ffcdc877f6db647ff0232302da0b502b3b56fed1785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page