Update app.py
Browse files
app.py
CHANGED
|
@@ -48,14 +48,12 @@ iface = gr.Interface(
|
|
| 48 |
outputs=gr.Textbox(lines=2, label="Output"),
|
| 49 |
title="Multilingual Sentence Classifier⚡",
|
| 50 |
description = (
|
| 51 |
-
"This model
|
| 52 |
-
"
|
| 53 |
-
"
|
| 54 |
-
"
|
| 55 |
-
"**Note**: While we strive for accuracy, the model may occasionally misclassify sentences due to dataset limitations. "
|
| 56 |
-
"We apologize for any errors and appreciate your understanding.\n\n\n"
|
| 57 |
-
"**Enter a sentence in any language below to see how our model interprets it!** 🤖"
|
| 58 |
),
|
|
|
|
| 59 |
theme="compact",
|
| 60 |
)
|
| 61 |
|
|
|
|
| 48 |
outputs=gr.Textbox(lines=2, label="Output"),
|
| 49 |
title="Multilingual Sentence Classifier⚡",
|
| 50 |
description = (
|
| 51 |
+
"This model, trained on a curated Bangla dataset by **TextLab RUET**, classifies sentences into five categories: Assertive, Interrogative, Imperative, Optative, and Exclamatory. \n\n"
|
| 52 |
+
"Although it was fine-tuned on Bangla sentences, the model **XLM-R** (a multilingual transformer model based on the BERT architecture) leverages transfer learning from 100+ languages, enabling it to classify sentences in languages like Bangla, English, Spanish, French, German, Chinese, Arabic, and more.\n\n"
|
| 53 |
+
"**Note**: While we aim for accuracy, the model may occasionally misclassify sentences due to dataset limitations. We appreciate your understanding.\n\n"
|
| 54 |
+
"**Enter a sentence below to see how our model interprets it!** 🤖"
|
|
|
|
|
|
|
|
|
|
| 55 |
),
|
| 56 |
+
|
| 57 |
theme="compact",
|
| 58 |
)
|
| 59 |
|