edaaaydinea commited on
Commit
8f39ff5
·
verified ·
1 Parent(s): 9522dad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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, fed into a Multi-Layer Perceptron (MLP) "
161
- "to classify text as either 'Normal Reading (NR)' or 'Task-Specific Reading (TSR)' based on the ZuCo dataset."
 
 
 
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."],