AntonioMS commited on
Commit
ff8c90c
1 Parent(s): cd05d33

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +103 -6
README.md CHANGED
@@ -14,18 +14,115 @@ tags:
14
 
15
  ---
16
 
17
- ## Celtia: Nós Project's female Galician speaker text-to-speech model
 
18
 
19
- This model was trained from scratch using the [Coqui-TTS](https://github.com/coqui-ai/TTS) library on the corpus [Nos_Celtia-GL](https://zenodo.org/record/7716958).
20
 
 
21
 
22
- **Funding**
23
 
24
- This research was funded by “The Nós project: Galician in the society and economy of Artificial Intelligence”, resulting from the agreement 2021-CP080 between the Xunta de Galicia and the University of Santiago de Compostela, and thanks to the Investigo program, within the National Recovery, Transformation and Resilience Plan, within the framework of the European Recovery Fund (NextGenerationEU).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
- **Citation information**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  If you use this model, please cite as follows:
30
 
31
- Magariños, Carmen. 2023. Nos_TTS-celtia-vits-graphemes. URL: https://huggingface.co/proxectonos/Nos_TTS-celtia-vits-graphemes
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  ---
16
 
17
+ # Celtia: Nos Project's Galician TTS Model
18
+ ## Model description
19
 
20
+ This model was trained from scratch using the [Coqui TTS](https://github.com/coqui-ai/TTS) Python library on the corpus [Nos_Celtia-GL](https://zenodo.org/record/7716958).
21
 
22
+ A live inference demo can be found in our official page, [here](https://tts.nos.gal/).
23
 
24
+ This model was trained using graphemes, so no preprocessing is needed for the input text.
25
 
26
+ ## Intended uses and limitations
27
+
28
+ You can use this model to generate synthetic speech in Galician.
29
+
30
+ ## How to use
31
+ ### Usage
32
+
33
+ Required libraries:
34
+
35
+ ```bash
36
+ pip install TTS
37
+ ```
38
+
39
+ Synthesize a speech using python:
40
+
41
+ ```bash
42
+ import tempfile
43
+ import numpy as np
44
+ import os
45
+ import json
46
+
47
+ from typing import Optional
48
+ from TTS.config import load_config
49
+ from TTS.utils.manage import ModelManager
50
+ from TTS.utils.synthesizer import Synthesizer
51
+ model_path = # Absolute path to the model checkpoint.pth
52
+ config_path = # Absolute path to the model config.json
53
+ text = "Text to synthetize"
54
+ synthesizer = Synthesizer(
55
+ model_path, config_path, None, None, None, None,
56
+ )
57
+ wavs = synthesizer.tts(text)
58
+ ```
59
+
60
+
61
+ ## Training
62
+ ### Training Procedure
63
+ ### Data preparation
64
+
65
+
66
+ ### Hyperparameter
67
+
68
+ The model is based on VITS proposed by [Kim et al](https://arxiv.org/abs/2106.06103). The following hyperparameters were set in the coqui framework.
69
 
70
+ | Hyperparameter | Value |
71
+ |------------------------------------|----------------------------------|
72
+ | Model | vits |
73
+ | Batch Size | 26 |
74
+ | Eval Batch Size | 16 |
75
+ | Mixed Precision | true |
76
+ | Window Length | 1024 |
77
+ | Hop Length | 256 |
78
+ | FTT size | 1024 |
79
+ | Num Mels | 80 |
80
+ | Phonemizer | null |
81
+ | Phoneme Lenguage | en-us |
82
+ | Text Cleaners | multilingual_cleaners |
83
+ | Formatter | nos_fonemas |
84
+ | Optimizer | adam |
85
+ | Adam betas | (0.8, 0.99) |
86
+ | Adam eps | 1e-09 |
87
+ | Adam weight decay | 0.01 |
88
+ | Learning Rate Gen | 0.0002 |
89
+ | Lr. schedurer Gen | ExponentialLR |
90
+ | Lr. schedurer Gamma Gen | 0.999875 |
91
+ | Learning Rate Disc | 0.0002 |
92
+ | Lr. schedurer Disc | ExponentialLR |
93
+ | Lr. schedurer Gamma Disc | 0.999875 |
94
 
95
+ The model was trained for 457900 steps.
96
+
97
+ The nos_fonemas formatter is a modification of the LJSpeech formatter with one extra column for the normalized input (extended numbers and acronyms).
98
+
99
+ ## Additional information
100
+
101
+ ### Authors
102
+ Carmen Magariños
103
+
104
+ ### Contact information
105
+ For further information, send an email to proxecto.nos@usc.gal
106
+
107
+ ### Licensing Information
108
+ [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
109
+
110
+ ### Funding
111
+
112
+ This research was funded by “The Nós project: Galician in the society and economy of Artificial Intelligence”, resulting from the agreement 2021-CP080 between the Xunta de Galicia and the University of Santiago de Compostela, and thanks to the Investigo program, within the National Recovery, Transformation and Resilience Plan, within the framework of the European Recovery Fund (NextGenerationEU).
113
+
114
+ ### Citation information
115
 
116
  If you use this model, please cite as follows:
117
 
118
+ Magariños, Carmen. 2023. Nos_TTS-celtia-vits-graphemes. URL: https://huggingface.co/proxectonos/Nos_TTS-celtia-vits-graphemes
119
+
120
+ ## Disclaimer
121
+ <details>
122
+ <summary>Click to expand</summary>
123
+
124
+ The models published in this repository are intended for a generalist purpose and are available to third parties. These models may have bias and/or any other undesirable distortions.
125
+
126
+ When third parties, deploy or provide systems and/or services to other parties using any of these models (or using systems based on these models) or become users of the models, they should note that it is their responsibility to mitigate the risks arising from their use and, in any event, to comply with applicable regulations, including regulations regarding the use of Artificial Intelligence.
127
+
128
+ In no event shall the owner and creator of the models (Nós Project) be liable for any results arising from the use made by third parties of these models.