This web application calculates the cosine similarity between two input sentences using a pre-trained BERT model from the Sentence Transformers library.
Make sure you have Python installed on your machine. You can install the required libraries by running:
pip install flask sentence-transformers
1.Clone the repository:
git clone https://github.com/your-username/symetic-similarity
cd symetic-similarity
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.
Feel free to customize the app by modifying the HTML templates, styling, or adding more features based on your needs.
This app uses the Flask web framework. Sentence embeddings are generated using the Sentence Transformers library.