Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ with open("xgboost_best_model.pkl", "wb") as f:
|
|
15 |
xgb_model = joblib.load("xgboost_best_model.pkl")
|
16 |
|
17 |
# Streamlit UI
|
18 |
-
st.title("Paraphrase Detection with SentenceTransformer and XGBoost")
|
19 |
st.write(
|
20 |
"""
|
21 |
This application uses a fine-tuned SentenceTransformer model for detecting paraphrases in Indonesian text,
|
@@ -23,7 +23,7 @@ st.write(
|
|
23 |
and aims to identify if two sentences convey the same meaning.
|
24 |
|
25 |
### How to Use the Application
|
26 |
-
- Enter two sentences in the input fields provided.
|
27 |
- Click the 'Check Paraphrase' button to check if the sentences are paraphrases of each other.
|
28 |
- The application will provide the cosine similarity between the sentences and the final prediction by the XGBoost model.
|
29 |
|
|
|
15 |
xgb_model = joblib.load("xgboost_best_model.pkl")
|
16 |
|
17 |
# Streamlit UI
|
18 |
+
st.title("Paraphrase Detection with SentenceTransformer and XGBoost for Indonesian Sentences")
|
19 |
st.write(
|
20 |
"""
|
21 |
This application uses a fine-tuned SentenceTransformer model for detecting paraphrases in Indonesian text,
|
|
|
23 |
and aims to identify if two sentences convey the same meaning.
|
24 |
|
25 |
### How to Use the Application
|
26 |
+
- Enter two sentences in the input fields provided in Bahasa Indonesia.
|
27 |
- Click the 'Check Paraphrase' button to check if the sentences are paraphrases of each other.
|
28 |
- The application will provide the cosine similarity between the sentences and the final prediction by the XGBoost model.
|
29 |
|