JackismyShephard commited on
Commit
5af228d
·
1 Parent(s): 5b1deba

update README

Browse files
Files changed (1) hide show
  1. README.md +18 -6
README.md CHANGED
@@ -10,11 +10,11 @@ datasets:
10
  model-index:
11
  - name: speecht5_tts-finetuned-nst-da
12
  results: []
 
 
 
13
  ---
14
 
15
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
- should probably proofread and complete it, then remove this comment. -->
17
-
18
  # speecht5_tts-finetuned-nst-da
19
 
20
  This model is a fine-tuned version of [microsoft/speecht5_tts](https://huggingface.co/microsoft/speecht5_tts) on the NST Danish ASR Database dataset.
@@ -23,18 +23,30 @@ It achieves the following results on the evaluation set:
23
 
24
  ## Model description
25
 
26
- More information needed
27
 
28
  ## Intended uses & limitations
29
 
30
- More information needed
 
 
 
 
 
 
31
 
32
  ## Training and evaluation data
33
 
34
- More information needed
 
 
 
 
35
 
36
  ## Training procedure
37
 
 
 
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
 
10
  model-index:
11
  - name: speecht5_tts-finetuned-nst-da
12
  results: []
13
+ metrics:
14
+ - mse
15
+ pipeline_tag: text-to-speech
16
  ---
17
 
 
 
 
18
  # speecht5_tts-finetuned-nst-da
19
 
20
  This model is a fine-tuned version of [microsoft/speecht5_tts](https://huggingface.co/microsoft/speecht5_tts) on the NST Danish ASR Database dataset.
 
23
 
24
  ## Model description
25
 
26
+ Given that danish is a low-resource language, not many open-source implementations of a danish text-to-speech synthesizer are available online. As of writing, the only other existing implementations available on 🤗 are [facebook/seamless-streaming](https://huggingface.co/facebook/seamless-streaming) and [audo/seamless-m4t-v2-large](https://huggingface.co/audo/seamless-m4t-v2-large). This model has been developed to provide a simpler alternative that still performs reasonable well, both in terms of output quality and inference time. Additionally, contrary to the aforementioned models, this model also has an associated Space on 🤗 at [JackismyShephard/danish-speech-synthesis](https://huggingface.co/spaces/JackismyShephard/danish-speech-synthesis) which provides an easy interface for danish text-to-speech synthesis, as well as optional speech enhancement.
27
 
28
  ## Intended uses & limitations
29
 
30
+ The model is intended for danish text-to-speech synthesis.
31
+
32
+ The model does not recognize special symbols such as "æ", "ø" and "å", as it uses the default tokenizer of [microsoft/speecht5_tts](https://huggingface.co/microsoft/speecht5_tts). The model performs best for short to medium length input text and expects input text to contain no more than 600 vocabulary tokens. Additionally, for best performance the model should be given a danish speaker embedding, ideally generated from an audio clip from the training split of [alexandrainst/nst-da](https://huggingface.co/datasets/alexandrainst/nst-da) using [speechbrain/spkrec-xvect-voxceleb](https://huggingface.co/speechbrain/spkrec-xvect-voxceleb).
33
+
34
+ The output of the model is a log-mel spectogram, which should be converted to a waveform using [microsoft/speecht5_hifigan](https://huggingface.co/microsoft/speecht5_hifigan). For better quality output the resulting waveform can be enhanced using [ResembleAI/resemble-enhance](https://huggingface.co/ResembleAI/resemble-enhance).
35
+
36
+ An example script showing how to use the model for inference can be found [here](https://github.com/JackismyShephard/hugging-face-audio-course/blob/main/finetuned_nst-da-inference.ipynb).
37
 
38
  ## Training and evaluation data
39
 
40
+ The model was trained and evaluated on [alexandrainst/nst-da](https://huggingface.co/datasets/alexandrainst/nst-da) using MSE as both loss and metric. The dataset was pre-processed as follows:
41
+ * special characters, such as "æ", "ø" and "å" were translated to their latin equivalents and examples with text containing digits were removed, as neiher are in the vocabulary of the tokenizer of [microsoft/speecht5_tts](https://huggingface.co/microsoft/speecht5_tts).
42
+ * training split balancing was done by excluding speakers with less than 280 examples or more than 327 examples.
43
+ * audio was enhanced using [speechbrain/metricgan-plus-voicebank](https://huggingface.co/speechbrain/metricgan-plus-voicebank) in an attempt to remove unwanted noise.
44
+
45
 
46
  ## Training procedure
47
 
48
+ The script used for training the model (and pre-processing its data) can be found [here](https://github.com/JackismyShephard/hugging-face-audio-course/blob/main/finetuned-nst-da-training.ipynb).
49
+
50
  ### Training hyperparameters
51
 
52
  The following hyperparameters were used during training: