Updating readme.
Browse files
README.md
CHANGED
|
@@ -1,3 +1,109 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MultiEmo-Test
|
| 2 |
+
|
| 3 |
+
MultiEmo-Test is an English evaluation set for instruction-following multi-emotion text-to-speech synthesis. It accompanies [HybridEmo](https://github.com/ictnlp/HybridEmo), a system for modeling sequential emotion trajectories and simultaneous emotion blending within an utterance.
|
| 4 |
+
|
| 5 |
+
The dataset is intended for evaluation only. It contains synthesis text, natural-language emotion instructions, emotion annotations, and prompt audio for speaker-timbre conditioning. It does not contain target synthesized speech.
|
| 6 |
+
|
| 7 |
+
## Dataset Composition
|
| 8 |
+
|
| 9 |
+
MultiEmo-Test contains 720 examples in a single test split.
|
| 10 |
+
|
| 11 |
+
| Task | Subset | Number of examples | Description |
|
| 12 |
+
|---|---:|---:|---|
|
| 13 |
+
| Emotion trajectory | 1E | 200 | A single emotion is expressed throughout the utterance. |
|
| 14 |
+
| Emotion trajectory | 2E | 200 | Two emotions are expressed sequentially. |
|
| 15 |
+
| Emotion trajectory | 3E | 200 | Three emotions are expressed sequentially. |
|
| 16 |
+
| Emotion blending | 2E blending | 120 | Two emotions are expressed simultaneously. |
|
| 17 |
+
| **Total** | | **720** | |
|
| 18 |
+
|
| 19 |
+
The trajectory subset uses seven emotion labels:
|
| 20 |
+
|
| 21 |
+
`angry`, `disgusted`, `fearful`, `happy`, `neutral`, `sad`, and `surprised`.
|
| 22 |
+
|
| 23 |
+
The blending subset uses six emotion labels:
|
| 24 |
+
|
| 25 |
+
`angry`, `disgusted`, `fearful`, `happy`, `sad`, and `surprised`.
|
| 26 |
+
|
| 27 |
+
## Data Format
|
| 28 |
+
|
| 29 |
+
The dataset is distributed as a JSON Lines manifest and a directory of prompt audio files:
|
| 30 |
+
|
| 31 |
+
```text
|
| 32 |
+
MultiEmo-Test/
|
| 33 |
+
├── README.md
|
| 34 |
+
├── test.jsonl
|
| 35 |
+
└── prompt-audio/
|
| 36 |
+
└── *.wav
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Each line in `test.jsonl` contains the following fields:
|
| 40 |
+
|
| 41 |
+
| Field | Type | Description |
|
| 42 |
+
|---|---|---|
|
| 43 |
+
| `id` | integer | Unique example identifier. |
|
| 44 |
+
| `trajectory_type` | integer or null | Number of stages for a trajectory example (`1`, `2`, or `3`); null for blending examples. |
|
| 45 |
+
| `emotion_trajectory` | list of strings or null | Ordered emotion labels for a trajectory example. |
|
| 46 |
+
| `blended_type` | string or null | Set to `blended` for blending examples; null for trajectory examples. |
|
| 47 |
+
| `blended_emotion` | list of strings or null | Two emotion labels to be expressed simultaneously. |
|
| 48 |
+
| `text` | string | Text to synthesize. |
|
| 49 |
+
| `instruction` | string | Natural-language instruction describing the intended emotional expression. |
|
| 50 |
+
| `prompt_audio` | string | Relative path to the speaker-timbre reference audio. |
|
| 51 |
+
| `prompt_text` | string | Transcript of the prompt audio. |
|
| 52 |
+
| `prompt_key` | string | Source key associated with the prompt audio. |
|
| 53 |
+
|
| 54 |
+
Example trajectory record:
|
| 55 |
+
|
| 56 |
+
```json
|
| 57 |
+
{
|
| 58 |
+
"id": 1,
|
| 59 |
+
"trajectory_type": 1,
|
| 60 |
+
"emotion_trajectory": ["angry"],
|
| 61 |
+
"blended_type": null,
|
| 62 |
+
"blended_emotion": null,
|
| 63 |
+
"text": "Can you believe the audacity of that person?",
|
| 64 |
+
"instruction": "Read this passage with a consistently angry tone.",
|
| 65 |
+
"prompt_audio": "prompt-audio/common_voice_en_509177.wav",
|
| 66 |
+
"prompt_text": "The autonomous ship floated closer to receiving its flying cargo.",
|
| 67 |
+
"prompt_key": "yuekai/seed_tts_cosy2::path::common_voice_en_509177.wav"
|
| 68 |
+
}
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
## Loading the Dataset
|
| 72 |
+
|
| 73 |
+
After downloading the repository, the manifest can be loaded with the Hugging Face `datasets` library:
|
| 74 |
+
|
| 75 |
+
```python
|
| 76 |
+
from datasets import load_dataset
|
| 77 |
+
|
| 78 |
+
dataset = load_dataset(
|
| 79 |
+
"json",
|
| 80 |
+
data_files={"test": "test.jsonl"},
|
| 81 |
+
)["test"]
|
| 82 |
+
|
| 83 |
+
example = dataset[0]
|
| 84 |
+
print(example["instruction"])
|
| 85 |
+
print(example["prompt_audio"])
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
The value of `prompt_audio` is relative to the dataset root. For example, `prompt-audio/example.wav` should be resolved from the directory containing `test.jsonl`.
|
| 89 |
+
|
| 90 |
+
## Intended Use
|
| 91 |
+
|
| 92 |
+
MultiEmo-Test is designed to evaluate whether instruction-following TTS systems can:
|
| 93 |
+
|
| 94 |
+
- maintain a specified emotion throughout an utterance;
|
| 95 |
+
- follow two- or three-stage emotion trajectories in the requested order;
|
| 96 |
+
- express two target emotions simultaneously;
|
| 97 |
+
- preserve the speaker timbre provided by the prompt audio.
|
| 98 |
+
|
| 99 |
+
The dataset is not intended as a training corpus or as a comprehensive representation of all emotions, emotion transitions, languages, speakers, or real-world speaking conditions.
|
| 100 |
+
|
| 101 |
+
## License
|
| 102 |
+
|
| 103 |
+
MultiEmo-Test is released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
| 104 |
+
|
| 105 |
+
## Citation
|
| 106 |
+
|
| 107 |
+
If you use this dataset, please cite the HybridEmo paper.
|
| 108 |
+
|
| 109 |
+
Project repository: [https://github.com/ictnlp/HybridEmo](https://github.com/ictnlp/HybridEmo)
|