Update README.md
Browse files
README.md
CHANGED
@@ -94,15 +94,47 @@ MLP_DROPOUTS = [0.0, 0.1, 0.1, 0.1] # For 'Small' models
|
|
94 |
|
95 |
# Mapping from .pth file name parts to human-readable dimension keys
|
96 |
# (Abridged, full map in Colab Cell 2)
|
97 |
-
|
98 |
-
|
99 |
-
"
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
-
TARGET_EMOTION_KEYS_FOR_REPORT = [ # The 40 primary emotions
|
103 |
-
"Amusement", "Elation", # ... (full list from Colab Cell 2)
|
104 |
-
]
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
# --- MLP Model Definition (from Colab Cell 2) ---
|
108 |
class FullEmbeddingMLP(nn.Module):
|
|
|
94 |
|
95 |
# Mapping from .pth file name parts to human-readable dimension keys
|
96 |
# (Abridged, full map in Colab Cell 2)
|
97 |
+
|
98 |
+
FILENAME_PART_TO_TARGET_KEY_MAP: Dict[str, str] = {
|
99 |
+
"Affection": "Affection", "Age": "Age", "Amusement": "Amusement", "Anger": "Anger",
|
100 |
+
"Arousal": "Arousal", "Astonishment_Surprise": "Astonishment/Surprise",
|
101 |
+
"Authenticity": "Authenticity", "Awe": "Awe", "Background_Noise": "Background_Noise",
|
102 |
+
"Bitterness": "Bitterness", "Concentration": "Concentration",
|
103 |
+
"Confident_vs._Hesitant": "Confident_vs._Hesitant", "Confusion": "Confusion",
|
104 |
+
"Contemplation": "Contemplation", "Contempt": "Contempt", "Contentment": "Contentment",
|
105 |
+
"Disappointment": "Disappointment", "Disgust": "Disgust", "Distress": "Distress",
|
106 |
+
"Doubt": "Doubt", "Elation": "Elation", "Embarrassment": "Embarrassment",
|
107 |
+
"Emotional_Numbness": "Emotional Numbness", "Fatigue_Exhaustion": "Fatigue/Exhaustion",
|
108 |
+
"Fear": "Fear", "Gender": "Gender", "Helplessness": "Helplessness",
|
109 |
+
"High-Pitched_vs._Low-Pitched": "High-Pitched_vs._Low-Pitched",
|
110 |
+
"Hope_Enthusiasm_Optimism": "Hope/Enthusiasm/Optimism",
|
111 |
+
"Impatience_and_Irritability": "Impatience and Irritability",
|
112 |
+
"Infatuation": "Infatuation", "Interest": "Interest",
|
113 |
+
"Intoxication_Altered_States_of_Consciousness": "Intoxication/Altered States of Consciousness",
|
114 |
+
"Jealousy_&_Envy": "Jealousy / Envy", "Longing": "Longing",
|
115 |
+
"Malevolence_Malice": "Malevolence/Malice",
|
116 |
+
"Monotone_vs._Expressive": "Monotone_vs._Expressive", "Pain": "Pain",
|
117 |
+
"Pleasure_Ecstasy": "Pleasure/Ecstasy", "Pride": "Pride",
|
118 |
+
"Recording_Quality": "Recording_Quality", "Relief": "Relief", "Sadness": "Sadness",
|
119 |
+
"Serious_vs._Humorous": "Serious_vs._Humorous", "Sexual_Lust": "Sexual Lust",
|
120 |
+
"Shame": "Shame", "Soft_vs._Harsh": "Soft_vs._Harsh", "Sourness": "Sourness",
|
121 |
+
"Submissive_vs._Dominant": "Submissive_vs._Dominant", "Teasing": "Teasing",
|
122 |
+
"Thankfulness_Gratitude": "Thankfulness/Gratitude", "Triumph": "Triumph",
|
123 |
+
"Valence": "Valence",
|
124 |
+
"Vulnerable_vs._Emotionally_Detached": "Vulnerable_vs._Emotionally_Detached",
|
125 |
+
"Warm_vs._Cold": "Warm_vs._Cold"
|
126 |
}
|
|
|
|
|
|
|
127 |
|
128 |
+
TARGET_EMOTION_KEYS_FOR_REPORT: List[str] = [
|
129 |
+
"Amusement", "Elation", "Pleasure/Ecstasy", "Contentment", "Thankfulness/Gratitude",
|
130 |
+
"Affection", "Infatuation", "Hope/Enthusiasm/Optimism", "Triumph", "Pride",
|
131 |
+
"Interest", "Awe", "Astonishment/Surprise", "Concentration", "Contemplation",
|
132 |
+
"Relief", "Longing", "Teasing", "Impatience and Irritability",
|
133 |
+
"Sexual Lust", "Doubt", "Fear", "Distress", "Confusion", "Embarrassment", "Shame",
|
134 |
+
"Disappointment", "Sadness", "Bitterness", "Contempt", "Disgust", "Anger",
|
135 |
+
"Malevolence/Malice", "Sourness", "Pain", "Helplessness", "Fatigue/Exhaustion",
|
136 |
+
"Emotional Numbness", "Intoxication/Altered States of Consciousness", "Jealousy / Envy"
|
137 |
+
]
|
138 |
|
139 |
# --- MLP Model Definition (from Colab Cell 2) ---
|
140 |
class FullEmbeddingMLP(nn.Module):
|