Tushar commited on
Commit
2fb256f
·
verified ·
1 Parent(s): 370a486

Upload 3 files

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ neuroscore_dataset-2.csv filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,159 @@
1
- ---
2
- license: cc-by-nc-sa-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - neuroscience
7
+ - brain-encoding
8
+ - neuromarketing
9
+ - tribe-v2
10
+ - fmri
11
+ - neural-engagement
12
+ - text-scoring
13
+ - cognitive-science
14
+ size_categories:
15
+ - 10K<n<100K
16
+ task_categories:
17
+ - text-classification
18
+ - feature-extraction
19
+ pretty_name: "NeuroScore: Text Scored by Predicted Neural Engagement"
20
+ ---
21
+
22
+ # NeuroScore: 17,175 Texts Scored by Predicted Neural Engagement
23
+
24
+ The first public dataset of text content scored by predicted human brain activation using Meta's [TRIBE v2](https://github.com/facebookresearch/tribev2) brain encoding model.
25
+
26
+ Each text has been processed through TRIBE v2, which predicts fMRI brain responses based on training data from 700+ human subjects. The output is predicted activation across 6 cortical regions of interest (ROIs), a weighted composite engagement score, and an emotion profile classification.
27
+
28
+ ## What's in the dataset
29
+
30
+ | Field | Description |
31
+ |-------|-------------|
32
+ | `text` | The raw text content |
33
+ | `subject_line` | Email subject line (for cold_email type, null otherwise) |
34
+ | `content_type` | One of: ad_copy, cold_email, sales_pitch, tagline, push_notification, linkedin_message |
35
+ | `industry` | Target industry (for generated texts) or "unknown" (for scraped) |
36
+ | `emotional_strategy` | Intended emotional framing (for generated texts) or "unknown" |
37
+ | `source` | "scraped" (from public datasets) or "generated" (via Anthropic API) |
38
+ | `source_dataset` | Original HuggingFace dataset name (for scraped texts) |
39
+ | `reward_proxy` | Predicted activation: ventromedial PFC / orbitofrontal (desire, value, "I want this") |
40
+ | `attention_conflict` | Predicted activation: anterior cingulate cortex (attention capture, surprise) |
41
+ | `value_judgment` | Predicted activation: frontopolar / medial PFC (trust, credibility, decisions) |
42
+ | `social_semantic` | Predicted activation: temporal pole / STS (social meaning, narrative) |
43
+ | `language_processing` | Predicted activation: Broca's + Wernicke's areas (linguistic engagement) |
44
+ | `insula_activation` | Predicted activation: anterior insula (gut feeling, empathy, visceral response) |
45
+ | `composite_score` | Weighted combination of ROI scores, 0 to 100 scale |
46
+ | `emotion_profile` | Classification based on dominant ROIs (see below) |
47
+ | `brain_activation_mean` | Mean activation across all cortical vertices |
48
+ | `brain_activation_std` | Standard deviation of activation |
49
+ | `brain_activation_max` | Peak activation value |
50
+ | `temperature` | Generation temperature (for AI-generated texts only) |
51
+
52
+ ## Quick start
53
+
54
+ ```python
55
+ from datasets import load_dataset
56
+
57
+ ds = load_dataset("tusharGa/neuroscore")
58
+ df = ds["train"].to_pandas()
59
+
60
+ # Highest scoring texts
61
+ print(df.nlargest(10, "composite_score")[["text", "composite_score", "emotion_profile"]])
62
+
63
+ # Average score by content type
64
+ print(df.groupby("content_type")["composite_score"].mean().sort_values(ascending=False))
65
+
66
+ # Average score by emotional strategy (generated texts only)
67
+ gen = df[df["emotional_strategy"] != "unknown"]
68
+ print(gen.groupby("emotional_strategy")["composite_score"].mean().sort_values(ascending=False))
69
+ ```
70
+
71
+ ## How it was built
72
+
73
+ ### Data collection
74
+
75
+ 17,175 texts from two sources:
76
+
77
+ **Scraped (16,263 texts):** Pulled from public HuggingFace datasets including PeterBrendan/Ads_Creative_Text_Programmatic, marketeam/Marketing-Emails, Yale-LILY/aeslc (Enron email corpus), PeterBrendan/AdImageNet, goendalf666/sales-conversations, RafaM97/marketing_social_media, google-research-datasets/go_emotions, dair-ai/emotion, christinacdl/clickbait_notclickbait_dataset, and others.
78
+
79
+ **Generated (912 texts):** Produced via the Anthropic API (Claude Sonnet) across a controlled matrix of 6 content types × 10 industries × 8 emotional strategies (fear_urgency, aspiration_reward, social_proof, empathy_pain, curiosity_intrigue, authority_trust, scarcity_exclusivity, humor_relatability).
80
+
81
+ ### Brain scoring
82
+
83
+ Each text was processed through [TRIBE v2](https://github.com/facebookresearch/tribev2) (Meta FAIR, March 2026), a tri-modal foundation model trained on 700+ subjects' fMRI data.
84
+
85
+ Texts were scored using the language pathway (LLaMA 3.2 embeddings → transformer integration → cortical surface mapping). Predicted activations were extracted at ~20,484 vertices on the fsaverage5 cortical mesh, then aggregated into ROI scores using the Destrieux atlas parcellation.
86
+
87
+ Processing was performed on Google Colab (T4 GPU) with batch inference, averaging 3 to 15 seconds per text.
88
+
89
+ ### Composite score
90
+
91
+ Weighted combination of 6 working ROIs, normalized to 0 to 100:
92
+
93
+ ```
94
+ composite = (0.25 × reward_proxy + 0.25 × attention_conflict + 0.20 × value_judgment
95
+ + 0.12 × social_semantic + 0.10 × language_processing + 0.08 × insula_activation) × 100
96
+ ```
97
+
98
+ ROI scores are min-max normalized across the full dataset before weighting.
99
+
100
+ ### Emotion profiles
101
+
102
+ Classified by the top 2 dominant ROIs per text:
103
+
104
+ | Profile | Dominant ROIs | Count |
105
+ |---------|--------------|-------|
106
+ | mixed | No clear dominant pair | 8,362 |
107
+ | fear-urgency | attention + insula | 6,022 |
108
+ | high-arousal-desire | attention + reward | 1,521 |
109
+ | curiosity-hook | attention + language | 1,007 |
110
+ | social-aspiration | reward + social | 106 |
111
+ | empathy-based | insula + social | 88 |
112
+ | reward-driven | reward + value | 45 |
113
+ | trust-authority | social + value | 24 |
114
+
115
+ ## Key findings
116
+
117
+ **Enron emails scored highest.** Internal corporate emails about taxes, accounting, and pay stubs outscored all crafted content. Dense with numbers, carrying real stakes, demanding action. Composite scores up to 92.3.
118
+
119
+ **Loss framing > gain framing.** "You're losing X" triggered 9.2% more activation than "You could save X." Loss framing activated both attention and reward circuits; gain framing activated reward alone.
120
+
121
+ **Specificity drives attention.** Texts opening with a number activated 40% more attention-related cortex than texts opening with a question.
122
+
123
+ **Longer text activates more brain.** Sales pitches (62.0 mean) outscored taglines (43.4) and ad copy (40.4). More context = more simultaneous ROI activation.
124
+
125
+ **Emotional strategy ranking.** Scarcity (71.7) > curiosity (70.4) > fear (69.7) > humor (68.2) > social proof (67.9) > empathy (66.9) > authority (66.4) > aspiration (65.7).
126
+
127
+ ## Known limitations
128
+
129
+ **Subcortical regions missing.** TRIBE v2 maps cortical surface only. Amygdala (fear/emotional intensity) and hippocampus (memory encoding) are subcortical and returned all zeros. These were excluded from the dataset. The emotional picture is incomplete.
130
+
131
+ **Predicted, not measured.** TRIBE v2 predicts group-averaged fMRI responses. Individual brains vary. These are statistical tendencies across a population, not deterministic outcomes.
132
+
133
+ **Activation ≠ effectiveness.** High neural engagement could mean deep interest or strong aversion. The model does not distinguish valence in all regions.
134
+
135
+ **Corpus bias.** English-only. Commercially weighted (ads, emails, sales). Do not generalize to other languages, registers, or communication contexts.
136
+
137
+ **Composite score is opinionated.** The weights reflect a cognitive priority model (attention and reward weighted highest). Other weighting schemes are valid. Raw ROI scores are provided for custom scoring.
138
+
139
+ ## Licensing and attribution
140
+
141
+ This dataset is released under **CC BY-NC-SA 4.0**.
142
+
143
+ Brain scores were generated using [TRIBE v2](https://github.com/facebookresearch/tribev2) by Meta FAIR, released under CC BY-NC. Generated texts were produced via the Anthropic API. Scraped texts originate from their respective public datasets on HuggingFace (see source_dataset field for attribution).
144
+
145
+ If you use this dataset, please cite:
146
+
147
+ ```
148
+ @dataset{neuroscore2026,
149
+ title={NeuroScore: Text Scored by Predicted Neural Engagement},
150
+ author={Tushar Gautam},
151
+ year={2026},
152
+ url={https://huggingface.co/datasets/tusharGa/neuroscore},
153
+ note={Brain scores generated using Meta FAIR's TRIBE v2 model}
154
+ }
155
+ ```
156
+
157
+ ## Contact
158
+
159
+ Built by Tushar Gautam, software engineer at Ampirial (Bangalore). Find me on [LinkedIn](https://linkedin.com/in/tushargautam) to discuss or collaborate.
neuroscore_dataset-2.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a9a907790ce9d60ff38048eebe52a6751e684a17b4e7eb73674b6816aa9f03e
3
+ size 11623882
neuroscore_dataset.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ab13c5b1ab6f5b8c59496ed69e48ef427dc462cf9d984628c11c2f9e83287fc
3
+ size 8190671