Update README.md
Browse files
README.md
CHANGED
|
@@ -35,7 +35,17 @@ More information needed
|
|
| 35 |
|
| 36 |
## Training procedure
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
- learning_rate: 0.001
|
|
@@ -49,7 +59,7 @@ The following hyperparameters were used during training:
|
|
| 49 |
- mixed_precision_training: Native AMP
|
| 50 |
- label_smoothing_factor: 0.1
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
|
@@ -78,15 +88,21 @@ The following hyperparameters were used during training:
|
|
| 78 |
|
| 79 |
We selected the best model via validation loss. The table below reposts overall and feature-specific scores.
|
| 80 |
|
| 81 |
-
| Feature |
|
| 82 |
|:-------------|---------:|---------:|---------:|------------:|
|
| 83 |
-
| Activities |
|
| 84 |
-
| Characters |
|
| 85 |
-
| Emotion |
|
| 86 |
-
| Friendliness |
|
| 87 |
-
| Good Fortune |
|
| 88 |
-
| Misfortune |
|
| 89 |
-
| Overall |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
### Framework versions
|
| 92 |
|
|
|
|
| 35 |
|
| 36 |
## Training procedure
|
| 37 |
|
| 38 |
+
the overall idea of our approach is to disentangle each dream report from its annotation as a whole and to create an augmented set of (dream report; single
|
| 39 |
+
feature annotation). To make sure that, given the same report, the model would produce a specific HVDC feature, we simply append at
|
| 40 |
+
the beginning of each report a string of the form ``HVDC-Feature :'', in a manner that closely mimics T5 task-specific prefix fine-tuning.
|
| 41 |
+
|
| 42 |
+
After this procedure to the original dataset (\~1.8K) we obtain approximately 6.6K items. %For this work, we focused on six HVDC features, namely Characters, Activities, Emotion, Friendliness, Misfortune, and Good Fortune. We did so to exclude features that amounted to less than 10\% of the total instance. Indeed, this would have excluded \texttt{Good Fortune} (see Figure \ref{fig:train_set_prefix_dist}). We include either way the feature to control for memorisation and counterbalance the \texttt{Misfortune} feature.
|
| 43 |
+
In the present study, we focused on a subset of six HVDC features: Characters, Activities, Emotion, Friendliness, Misfortune, and Good Fortune. This selection was made to exclude features that represented less than 10\% of the total instances. Notably, \texttt{Good Fortune} would have been excluded under this criterion (refer to Figure \ref{fig:train_set_prefix_dist}), but we intentionally retained this feature to control against potential memorisation effects and to provide a counterbalance to the \texttt{Misfortune} feature. After filtering out instances whose annotation feature is not one of the six selected features, we are left with \~5.3K %5389
|
| 44 |
+
dream reports. We then generate a random split of 80\%-20\% for the training (i.e 4,311 reports) and testing (i.e. 1,078 reports) sets.
|
| 45 |
+
|
| 46 |
+
### Training
|
| 47 |
+
|
| 48 |
+
#### Hyperparameters
|
| 49 |
|
| 50 |
The following hyperparameters were used during training:
|
| 51 |
- learning_rate: 0.001
|
|
|
|
| 59 |
- mixed_precision_training: Native AMP
|
| 60 |
- label_smoothing_factor: 0.1
|
| 61 |
|
| 62 |
+
#### Metrics
|
| 63 |
|
| 64 |
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
| 65 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
|
|
|
| 88 |
|
| 89 |
We selected the best model via validation loss. The table below reposts overall and feature-specific scores.
|
| 90 |
|
| 91 |
+
| Feature | rouge1 | rouge2 | rougeL | rougeLsum |
|
| 92 |
|:-------------|---------:|---------:|---------:|------------:|
|
| 93 |
+
| Activities | 72.1 | 59.8 | 66.3 | 66.3 |
|
| 94 |
+
| Characters | 90.9 | 86.2 | 88.5 | 88.5 |
|
| 95 |
+
| Emotion | 85.3 | 77.1 | 84.7 | 84.7 |
|
| 96 |
+
| Friendliness | 74.3 | 60.5 | 70.4 | 70.4 |
|
| 97 |
+
| Good Fortune | 79.1 | 11.5 | 78.6 | 78.6 |
|
| 98 |
+
| Misfortune | 65.5 | 48.9 | 65.3 | 65.2 |
|
| 99 |
+
| Overall | 83.1 | 72.6 | 80.8 | 80.8 |
|
| 100 |
+
|
| 101 |
+
### Disclaimer
|
| 102 |
+
Dream reports and their annotation have been used in clinical settings and applied for diagnostic purposes.
|
| 103 |
+
This does not apply in any way to our experimental results and output.
|
| 104 |
+
Our work aims to provide experimental evidence of the feasibility of using PLMs to support humans
|
| 105 |
+
in annotating dream reports for research purposes, as well as detailing their strengths and limitations when approaching such a task.
|
| 106 |
|
| 107 |
### Framework versions
|
| 108 |
|