Skip to content

Imharsh08/symetic-similarity

Repository files navigation

Sentence Similarity Calculator

This web application calculates the cosine similarity between two input sentences using a pre-trained BERT model from the Sentence Transformers library.

Prerequisites

Make sure you have Python installed on your machine. You can install the required libraries by running:

pip install flask sentence-transformers

Usage

1.Clone the repository:

git clone https://github.com/your-username/symetic-similarity

cd symetic-similarity

Run the Flask app:

python app.py

Open your web browser and go to http://127.0.0.1:5000/

Enter two sentences in the provided form and click the "Calculate Similarity" button.

Screenshot

Screenshot (283) Screenshot (285) Screenshot (284)

Customization

Feel free to customize the app by modifying the HTML templates, styling, or adding more features based on your needs.

Acknowledgments

This app uses the Flask web framework. Sentence embeddings are generated using the Sentence Transformers library.

About

Symetic similarity score

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published