nahidmuntasir7 commited on
Commit
9951496
·
verified ·
1 Parent(s): e3a21ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
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 was trained using a curated Bangla dataset by **TextLab RUET**. "
52
- "It can classify sentences in various languages into five distinct categories: Assertive, Interrogative, Imperative, Optative, and Exclamatory. \n\n"
53
- "Although it was fine-tuned on Bangla sentences, the model **XLM-R** (a multilingual transformer model based on the BERT architecture) uses transfer learning "
54
- "to apply its knowledge from over 100 languages, enabling it to classify sentences in a wide variety of languages, including Bangla, English, Spanish, French, German, and more.\n\n"
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