Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.33 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.33 KB

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.