Update app.py
Browse files
app.py
CHANGED
@@ -157,8 +157,11 @@ def predict_cognitive_state(sentence):
|
|
157 |
title = "🧠 Cognitive State Analysis from Text"
|
158 |
description = (
|
159 |
"Enter a sentence to predict its cognitive state. This demo uses a fine-tuned BERT model for semantic "
|
160 |
-
"embeddings combined with 19 discrete linguistic features
|
161 |
-
"to classify
|
|
|
|
|
|
|
162 |
)
|
163 |
example_list = [
|
164 |
["Through his son Timothy Bush, Jr., who was also a blacksmith, descended two American Presidents -George H. W. Bush and George W. Bush."],
|
|
|
157 |
title = "🧠 Cognitive State Analysis from Text"
|
158 |
description = (
|
159 |
"Enter a sentence to predict its cognitive state. This demo uses a fine-tuned BERT model for semantic "
|
160 |
+
"embeddings combined with 19 discrete linguistic features. These features are fed into a Multi-Layer Perceptron (MLP) "
|
161 |
+
"to classify the input as either:\n\n"
|
162 |
+
"- **Normal Reading (NR):** Casual reading without a specific goal—like reading a story or browsing news.\n"
|
163 |
+
"- **Task-Specific Reading (TSR):** Purpose-driven reading—such as searching for an answer or following instructions.\n\n"
|
164 |
+
"The model is trained on text data from the ZuCo dataset, using only linguistic features—no EEG or eye-tracking signals are used."
|
165 |
)
|
166 |
example_list = [
|
167 |
["Through his son Timothy Bush, Jr., who was also a blacksmith, descended two American Presidents -George H. W. Bush and George W. Bush."],
|