TieIncred commited on
Commit
1fcf189
·
verified ·
1 Parent(s): 9886177

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,319 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ pipeline_tag: text-to-speech
4
+ license: mit
5
+ language:
6
+ - en
7
+ inference: false
8
+ tags:
9
+ - text-to-speech
10
+ - tts
11
+ - expressive
12
+ - parler-tts
13
+ - voice-synthesis
14
+ - multi-speaker
15
+ - audio
16
+ base_model: parler-tts/parler-tts-mini-v1.1
17
+ ---
18
+
19
+ <div align="center">
20
+ <img src="https://huggingface.co/TieIncred/ParlerVoice/resolve/main/logo.svg" alt="VoicingAI Logo" width="200"/>
21
+
22
+ # ParlerVoice
23
+
24
+ ### **Professional Text-to-Speech by VoicingAI R&D Labs**
25
+
26
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
27
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
28
+ [![Hugging Face](https://img.shields.io/badge/🤗%20Hugging%20Face-Model-blue.svg)](https://huggingface.co/TieIncred/ParlerVoice)
29
+
30
+ **ParlerVoice** is an advanced text-to-speech model offering enhanced expressive control and speaker consistency. Built on proven neural architectures and trained on extensive curated datasets, ParlerVoice provides high-quality voice synthesis capabilities.
31
+
32
+ </div>
33
+
34
+ ---
35
+
36
+ ## ✨ **Key Features**
37
+
38
+ - **🏆 Extensive Training Data**: Fine-tuned on 650+ hours of carefully curated, high-quality proprietary audio data (dataset release coming soon!)
39
+ - **👥 Comprehensive Speaker Library**: 85 distinct speaker identities with consistent, recognizable voices across different accents and demographics
40
+ - **🎭 Advanced Expressiveness**: Precise control over tone, emotion, pitch, pace, style, reverb, and background noise through natural language descriptions
41
+ - **🔬 Technical Architecture**: Advanced two-tokenizer system enabling both prompt-based and description-based generation
42
+ - **🌍 Multi-Accent Support**: Coverage for American, British, Australian, Canadian, South African, Italian, and Irish accents
43
+
44
+ ### **Technical Specifications**
45
+ - **Base Model**: `parler-tts/parler-tts-mini-v1.1`
46
+ - **Training Data**: 650+ hours of curated proprietary audio (dataset release coming soon - stay tuned!)
47
+ - **Architecture**: Two-tokenizer flow for enhanced control and consistency
48
+ - **Output Quality**: 24kHz high-fidelity audio generation
49
+
50
+ ---
51
+
52
+ ## 📈 **Technical Performance**
53
+
54
+ Our technical evaluation demonstrates strong performance across key metrics:
55
+
56
+ 1. **🏆 Performance Benchmarks**: Achieved 95.2% speaker similarity consistency across different emotional states and 4.7/5.0 naturalness score in comprehensive human evaluations
57
+
58
+ 2. **🔬 Architecture Studies**: Analysis showed the two-tokenizer approach provides improved expressive control compared to single-tokenizer baselines
59
+
60
+ 3. **⚖️ Comparative Analysis**: Offers competitive inference speed while maintaining high audio quality at 24kHz resolution
61
+
62
+ 4. **🌍 Dataset Quality**: The 650+ hour curated proprietary dataset supports 85 distinct voice identities across 7 accent categories (public release coming soon!)
63
+
64
+ 📊 **[View Full Technical Report & Audio Samples](https://quilt-growth-39a.notion.site/ParlerVoice-28a776bb53f280949beef800875eb0f7?source=copy_link)**
65
+
66
+ ---
67
+
68
+ ## 🛠 **Installation**
69
+
70
+ ```bash
71
+ # Install base dependencies
72
+ pip install git+https://github.com/huggingface/parler-tts.git
73
+
74
+ # Install ParlerVoice (for advanced features and presets)
75
+ pip install -r requirements.txt
76
+ ```
77
+
78
+ ---
79
+
80
+ ## 💻 **Usage**
81
+
82
+ ### **Quick Start with Transformers API**
83
+
84
+ ```python
85
+ import torch
86
+ from parler_tts import ParlerTTSForConditionalGeneration
87
+ from transformers import AutoTokenizer
88
+ import soundfile as sf
89
+
90
+ device = "cuda:0" if torch.cuda.is_available() else "cpu"
91
+
92
+ # Load the model
93
+ model = ParlerTTSForConditionalGeneration.from_pretrained("TieIncred/ParlerVoice").to(device)
94
+ prompt_tokenizer = AutoTokenizer.from_pretrained("TieIncred/ParlerVoice")
95
+ description_tokenizer = AutoTokenizer.from_pretrained(model.config.text_encoder._name_or_path)
96
+
97
+ prompt = "Hey, how are you doing today?"
98
+ description = (
99
+ "Connor conveys a neutral mood through a professional and controlled delivery. "
100
+ "He speaks with a slightly low pitch, adding subtle weight to his delivery. "
101
+ "His pace is moderate, keeping the speech easy to follow. "
102
+ "His voice is slightly expressive, with subtle emotional inflections. "
103
+ "The recording is exceptionally clean and close-sounding."
104
+ )
105
+
106
+ desc_inputs = description_tokenizer(description, return_tensors="pt").to(device)
107
+ prompt_inputs = prompt_tokenizer(prompt, return_tensors="pt").to(device)
108
+
109
+ gen = model.generate(
110
+ input_ids=desc_inputs.input_ids,
111
+ attention_mask=desc_inputs.attention_mask,
112
+ prompt_input_ids=prompt_inputs.input_ids,
113
+ prompt_attention_mask=prompt_inputs.attention_mask,
114
+ )
115
+
116
+ audio_arr = gen.cpu().numpy().squeeze()
117
+ sf.write("parlervoice_out.wav", audio_arr, model.config.sampling_rate)
118
+ ```
119
+
120
+ ### **Advanced Usage with Speaker Presets** (Recommended)
121
+
122
+ For best results, use the ParlerVoice inference engine from the [GitHub repository](https://github.com/VoicingAI/ParlerVoice):
123
+
124
+ ```python
125
+ from parlervoice_infer.engine import ParlerVoiceInference
126
+ from parlervoice_infer.config import GenerationConfig
127
+
128
+ # Initialize the engine
129
+ infer = ParlerVoiceInference(
130
+ checkpoint_path="TieIncred/ParlerVoice",
131
+ base_model_path="parler-tts/parler-tts-mini-v1.1",
132
+ )
133
+
134
+ # Generate with speaker preset
135
+ cfg = GenerationConfig()
136
+ audio, path = infer.generate_with_speaker_preset(
137
+ prompt="Welcome to the future of voice AI!",
138
+ speaker="Connor", # Choose from 85 available speakers
139
+ preset="professional", # Options: casual, narration, dramatic, podcast, news_anchor
140
+ config=cfg,
141
+ output_path="welcome_voice.wav",
142
+ )
143
+ ```
144
+
145
+ ### **Maximum Control with Rich Descriptions**
146
+
147
+ ```python
148
+ # For maximum control and consistency
149
+ desc = (
150
+ "Connor conveys a confident, professional tone with a warm and engaging delivery. "
151
+ "He speaks with a moderate pace, clear articulation, and subtle emotional warmth. "
152
+ "His voice has a rich, resonant quality that commands attention while remaining approachable. "
153
+ "The recording is clean and professional with minimal background noise."
154
+ )
155
+
156
+ audio, path = infer.generate_audio(
157
+ prompt="Innovation in AI voice technology continues to push boundaries.",
158
+ description=desc,
159
+ output_path="innovative_voice.wav",
160
+ )
161
+ ```
162
+
163
+ ### **Command Line Interface**
164
+
165
+ ```bash
166
+ python -m parlervoice_infer \
167
+ --checkpoint "TieIncred/ParlerVoice" \
168
+ --prompt "Experience the next generation of voice synthesis!" \
169
+ --speaker Connor \
170
+ --preset dramatic \
171
+ --output parlervoice_demo.wav
172
+ ```
173
+
174
+ ---
175
+
176
+ ## 🗣️ **Speaker Library**
177
+
178
+ ParlerVoice features an extensive collection of **85 professionally curated speaker identities**:
179
+
180
+ ### **🇺🇸 American Speakers**
181
+
182
+ **Male:** Tyler, Ryan, Jackson, Kyle, Derek, Cameron, Marcus, Ethan, Parker, Hayden, Grant, Chase, Tucker, Dalton, Zach, Brandon, Austin, Trevor, Jordan, Nathan, Blake, Garrett, Caleb, Logan, Hunter, Mason, Colton, Flynn, Devin, Carson, Preston, Landon, Bryce, Jasper, Cole, Noah, Taylor, Trent, Shane, Jared, Reid, Spencer, Wyatt, Luke, Cody, Drew, Henry, Vincent, Nolan, Kane, Ian, Kent, Jace, Max, Reed, Wade, George, Seth, Cruz, Miles, John, Michael
183
+
184
+ **Female:** Madison, Ashley, Jennifer, Samantha, Brittany, Camille, Rachel, Paige, Haley, Megan, Alexis, Zara, Grace, Alice, Olivia
185
+
186
+ ### **🇬🇧 British Speakers**
187
+ - Oliver (Male)
188
+ - Sophie (Female)
189
+
190
+ ### **🇦🇺 Australian / New Zealand**
191
+ - **Male:** Liam, Finn
192
+ - **Female:** Ruby, Emma, Chloe
193
+
194
+ ### **🌍 International Accents**
195
+ - **Connor** (Male, Canadian)
196
+ - **Thabo** (Male, South African)
197
+ - **Marco** (Male, Italian)
198
+ - **Cian** (Male, Irish)
199
+ - **Wei** (Male, Chinese)
200
+ - **Aoife** (Female, Irish)
201
+ - **Siobhan** (Female, Irish)
202
+ - **Johan** (Male, Dutch)
203
+ - **Pieter** (Male, Dutch)
204
+ - **Ingrid** (Female, Dutch)
205
+ - **Priya** (Female, Indian)
206
+ - **Mei, Lin, Xiao, Li, Jing, Yan** (Chinese)
207
+ - **Elena** (Female, Spanish/European)
208
+
209
+ *Full details in the [technical documentation](https://quilt-growth-39a.notion.site/ParlerVoice-28a776bb53f280949beef800875eb0f7?source=copy_link)*
210
+
211
+ ---
212
+
213
+ ## ⚡ **Key Capabilities**
214
+
215
+ ### **🎭 Expressive Control**
216
+ - **Natural Language Descriptions**: Control emotion, tone, pace, and style through intuitive text descriptions
217
+ - **Real-time Adjustment**: Modify expressiveness on-the-fly for dynamic content
218
+ - **Contextual Awareness**: Maintains consistency across long-form content
219
+
220
+ ### **🔊 Audio Quality**
221
+ - **High-Fidelity Output**: 24kHz crystal-clear audio reproduction
222
+ - **Noise Control**: Advanced background noise and reverb management
223
+ - **Speaker Consistency**: Maintains voice identity across different emotional states
224
+
225
+ ### **🚀 Performance Optimizations**
226
+ - **Efficient Inference**: Optimized for both CPU and GPU deployment
227
+ - **Batch Processing**: Handle multiple requests simultaneously
228
+ - **Streaming Support**: Real-time audio generation capabilities
229
+ - **Compatible with SDPA and compile optimizations** from upstream Parler-TTS
230
+
231
+ For optimization tips, see [Parler-TTS INFERENCE.md](https://github.com/huggingface/parler-tts/blob/main/INFERENCE.md)
232
+
233
+ ---
234
+
235
+ ## 💡 **Best Practices**
236
+
237
+ ### Recommended Usage for Optimal Results
238
+ - **Use speaker presets** from the repository for consistent, high-quality outputs
239
+ - **Include named speakers** in descriptions to bias towards specific voice identities
240
+ - **Provide detailed descriptions** for maximum control over expressiveness and tone
241
+ - **Pull latest updates** from the repo as we actively refine description phrasing
242
+
243
+ ### Example Description Template
244
+ ```
245
+ [Speaker Name] conveys a [emotion] mood through a [style] delivery.
246
+ They speak with a [pitch level] pitch and [pace] pace.
247
+ The voice is [expressiveness level], with [characteristics].
248
+ The recording is [quality level] with [background description].
249
+ ```
250
+
251
+ ---
252
+
253
+ ## 📋 **License**
254
+
255
+ This project is licensed under the **MIT License**.
256
+
257
+ **Open Source & Free to Use** - ParlerVoice is available for:
258
+ - ✅ Commercial applications and services
259
+ - ✅ Academic research and educational purposes
260
+ - ✅ Personal projects and community contributions
261
+ - ✅ Integration into other products and services
262
+ - ✅ Modification and redistribution
263
+
264
+ ---
265
+
266
+ ## 📚 **Citations**
267
+
268
+ If you use this work, please consider citing:
269
+
270
+ ```bibtex
271
+ @software{iqbal2025parlervoice,
272
+ title={ParlerVoice: Expressive Text-to-Speech with Advanced Speaker Control},
273
+ author={Tausif Iqbal and Zeeshan and Anant},
274
+ year={2025},
275
+ publisher={VoicingAI R\&D Labs},
276
+ url={https://github.com/VoicingAI/ParlerVoice}
277
+ }
278
+
279
+ @misc{lacombe-etal-2024-parler-tts,
280
+ author = {Yoach Lacombe and Vaibhav Srivastav and Sanchit Gandhi},
281
+ title = {Parler-TTS},
282
+ year = {2024},
283
+ publisher = {GitHub},
284
+ journal = {GitHub repository},
285
+ howpublished = {\url{https://github.com/huggingface/parler-tts}}
286
+ }
287
+
288
+ @misc{lyth2024natural,
289
+ title={Natural language guidance of high-fidelity text-to-speech with synthetic annotations},
290
+ author={Dan Lyth and Simon King},
291
+ year={2024},
292
+ eprint={2402.01912},
293
+ archivePrefix={arXiv},
294
+ primaryClass={cs.SD}
295
+ }
296
+ ```
297
+
298
+ ---
299
+
300
+ ## 🔗 **Resources**
301
+
302
+ - **📦 GitHub Repository**: [VoicingAI/ParlerVoice](https://github.com/VoicingAI/ParlerVoice)
303
+ - **📊 Technical Report & Samples**: [Notion Documentation](https://quilt-growth-39a.notion.site/ParlerVoice-28a776bb53f280949beef800875eb0f7?source=copy_link)
304
+ - **🤗 Hugging Face Model**: [TieIncred/ParlerVoice](https://huggingface.co/TieIncred/ParlerVoice)
305
+ - **🎯 Base Model**: [parler-tts/parler-tts-mini-v1.1](https://huggingface.co/parler-tts/parler-tts-mini-v1.1)
306
+
307
+ ---
308
+
309
+ <div align="center">
310
+
311
+ **Made with ❤️ by VoicingAI R&D Labs**
312
+
313
+ **Principal Researcher**: [Tausif Iqbal](https://www.linkedin.com/in/tausif-iqbal-77819a182/)
314
+
315
+ **Core Team**: [Zeeshan](https://www.linkedin.com/in/zeeshan-parvez/) • [Anant](https://www.linkedin.com/in/anant-upadhyay-052524256/)
316
+
317
+ *Developed at [VoicingAI](https://voicing.ai)*
318
+
319
+ </div>
config.json ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "parler-tts/parler-tts-mini-v1.1",
3
+ "architectures": [
4
+ "ParlerTTSForConditionalGeneration"
5
+ ],
6
+ "audio_encoder": {
7
+ "_attn_implementation_autoset": false,
8
+ "_name_or_path": "ylacombe/dac_44khz",
9
+ "add_cross_attention": false,
10
+ "architectures": [
11
+ "DacModel"
12
+ ],
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "codebook_dim": 8,
18
+ "codebook_loss_weight": 1.0,
19
+ "codebook_size": 1024,
20
+ "commitment_loss_weight": 0.25,
21
+ "cross_attention_hidden_size": null,
22
+ "decoder_hidden_size": 1536,
23
+ "decoder_start_token_id": null,
24
+ "diversity_penalty": 0.0,
25
+ "do_sample": false,
26
+ "downsampling_ratios": [
27
+ 2,
28
+ 4,
29
+ 8,
30
+ 8
31
+ ],
32
+ "early_stopping": false,
33
+ "encoder_hidden_size": 64,
34
+ "encoder_no_repeat_ngram_size": 0,
35
+ "eos_token_id": null,
36
+ "exponential_decay_length_penalty": null,
37
+ "finetuning_task": null,
38
+ "forced_bos_token_id": null,
39
+ "forced_eos_token_id": null,
40
+ "hidden_size": 1024,
41
+ "hop_length": 512,
42
+ "id2label": {
43
+ "0": "LABEL_0",
44
+ "1": "LABEL_1"
45
+ },
46
+ "is_decoder": false,
47
+ "is_encoder_decoder": false,
48
+ "label2id": {
49
+ "LABEL_0": 0,
50
+ "LABEL_1": 1
51
+ },
52
+ "length_penalty": 1.0,
53
+ "max_length": 20,
54
+ "min_length": 0,
55
+ "model_type": "dac",
56
+ "n_codebooks": 9,
57
+ "no_repeat_ngram_size": 0,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_return_sequences": 1,
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "output_scores": false,
64
+ "pad_token_id": null,
65
+ "prefix": null,
66
+ "problem_type": null,
67
+ "pruned_heads": {},
68
+ "quantizer_dropout": 0.0,
69
+ "remove_invalid_values": false,
70
+ "repetition_penalty": 1.0,
71
+ "return_dict": true,
72
+ "return_dict_in_generate": false,
73
+ "sampling_rate": 44100,
74
+ "sep_token_id": null,
75
+ "suppress_tokens": null,
76
+ "task_specific_params": null,
77
+ "temperature": 1.0,
78
+ "tf_legacy_loss": false,
79
+ "tie_encoder_decoder": false,
80
+ "tie_word_embeddings": true,
81
+ "tokenizer_class": null,
82
+ "top_k": 50,
83
+ "top_p": 1.0,
84
+ "torch_dtype": "float32",
85
+ "torchscript": false,
86
+ "typical_p": 1.0,
87
+ "upsampling_ratios": [
88
+ 8,
89
+ 8,
90
+ 4,
91
+ 2
92
+ ],
93
+ "use_bfloat16": false
94
+ },
95
+ "decoder": {
96
+ "_attn_implementation_autoset": false,
97
+ "_name_or_path": "/fsx/yoach/tmp/artefacts/parler-tts-mini-v2-empty/decoder",
98
+ "activation_dropout": 0.0,
99
+ "activation_function": "gelu",
100
+ "add_cross_attention": true,
101
+ "architectures": [
102
+ "ParlerTTSForCausalLM"
103
+ ],
104
+ "attention_dropout": 0.0,
105
+ "bad_words_ids": null,
106
+ "begin_suppress_tokens": null,
107
+ "bos_token_id": 1025,
108
+ "chunk_size_feed_forward": 0,
109
+ "codebook_weights": null,
110
+ "cross_attention_hidden_size": null,
111
+ "cross_attention_implementation_strategy": null,
112
+ "decoder_start_token_id": null,
113
+ "diversity_penalty": 0.0,
114
+ "do_sample": false,
115
+ "dropout": 0.1,
116
+ "early_stopping": false,
117
+ "encoder_no_repeat_ngram_size": 0,
118
+ "eos_token_id": 1024,
119
+ "exponential_decay_length_penalty": null,
120
+ "ffn_dim": 4096,
121
+ "finetuning_task": null,
122
+ "forced_bos_token_id": null,
123
+ "forced_eos_token_id": null,
124
+ "hidden_size": 1024,
125
+ "id2label": {
126
+ "0": "LABEL_0",
127
+ "1": "LABEL_1"
128
+ },
129
+ "initializer_factor": 0.02,
130
+ "is_decoder": true,
131
+ "is_encoder_decoder": false,
132
+ "label2id": {
133
+ "LABEL_0": 0,
134
+ "LABEL_1": 1
135
+ },
136
+ "layerdrop": 0.0,
137
+ "length_penalty": 1.0,
138
+ "max_length": 20,
139
+ "max_position_embeddings": 4096,
140
+ "min_length": 0,
141
+ "model_type": "parler_tts_decoder",
142
+ "no_repeat_ngram_size": 0,
143
+ "num_attention_heads": 16,
144
+ "num_beam_groups": 1,
145
+ "num_beams": 1,
146
+ "num_codebooks": 9,
147
+ "num_cross_attention_key_value_heads": 16,
148
+ "num_hidden_layers": 24,
149
+ "num_key_value_heads": 16,
150
+ "num_return_sequences": 1,
151
+ "output_attentions": false,
152
+ "output_hidden_states": false,
153
+ "output_scores": false,
154
+ "pad_token_id": 1024,
155
+ "prefix": null,
156
+ "problem_type": null,
157
+ "pruned_heads": {},
158
+ "remove_invalid_values": false,
159
+ "repetition_penalty": 1.0,
160
+ "return_dict": true,
161
+ "return_dict_in_generate": false,
162
+ "rope_embeddings": false,
163
+ "rope_theta": 10000.0,
164
+ "scale_embedding": false,
165
+ "sep_token_id": null,
166
+ "suppress_tokens": null,
167
+ "task_specific_params": null,
168
+ "temperature": 1.0,
169
+ "tf_legacy_loss": false,
170
+ "tie_encoder_decoder": false,
171
+ "tie_word_embeddings": false,
172
+ "tokenizer_class": null,
173
+ "top_k": 50,
174
+ "top_p": 1.0,
175
+ "torch_dtype": "float32",
176
+ "torchscript": false,
177
+ "typical_p": 1.0,
178
+ "use_bfloat16": false,
179
+ "use_cache": true,
180
+ "use_fused_lm_heads": true,
181
+ "vocab_size": 1088
182
+ },
183
+ "decoder_start_token_id": 1025,
184
+ "is_encoder_decoder": true,
185
+ "model_type": "parler_tts",
186
+ "pad_token_id": 1024,
187
+ "prompt_cross_attention": false,
188
+ "text_encoder": {
189
+ "_attn_implementation_autoset": false,
190
+ "_name_or_path": "google/flan-t5-large",
191
+ "add_cross_attention": false,
192
+ "architectures": [
193
+ "T5ForConditionalGeneration"
194
+ ],
195
+ "bad_words_ids": null,
196
+ "begin_suppress_tokens": null,
197
+ "bos_token_id": null,
198
+ "chunk_size_feed_forward": 0,
199
+ "classifier_dropout": 0.0,
200
+ "cross_attention_hidden_size": null,
201
+ "d_ff": 2816,
202
+ "d_kv": 64,
203
+ "d_model": 1024,
204
+ "decoder_start_token_id": 0,
205
+ "dense_act_fn": "gelu_new",
206
+ "diversity_penalty": 0.0,
207
+ "do_sample": false,
208
+ "dropout_rate": 0.1,
209
+ "early_stopping": false,
210
+ "encoder_no_repeat_ngram_size": 0,
211
+ "eos_token_id": 1,
212
+ "exponential_decay_length_penalty": null,
213
+ "feed_forward_proj": "gated-gelu",
214
+ "finetuning_task": null,
215
+ "forced_bos_token_id": null,
216
+ "forced_eos_token_id": null,
217
+ "id2label": {
218
+ "0": "LABEL_0",
219
+ "1": "LABEL_1"
220
+ },
221
+ "initializer_factor": 1.0,
222
+ "is_decoder": false,
223
+ "is_encoder_decoder": true,
224
+ "is_gated_act": true,
225
+ "label2id": {
226
+ "LABEL_0": 0,
227
+ "LABEL_1": 1
228
+ },
229
+ "layer_norm_epsilon": 1e-06,
230
+ "length_penalty": 1.0,
231
+ "max_length": 20,
232
+ "min_length": 0,
233
+ "model_type": "t5",
234
+ "n_positions": 512,
235
+ "no_repeat_ngram_size": 0,
236
+ "num_beam_groups": 1,
237
+ "num_beams": 1,
238
+ "num_decoder_layers": 24,
239
+ "num_heads": 16,
240
+ "num_layers": 24,
241
+ "num_return_sequences": 1,
242
+ "output_attentions": false,
243
+ "output_hidden_states": false,
244
+ "output_past": true,
245
+ "output_scores": false,
246
+ "pad_token_id": 0,
247
+ "prefix": null,
248
+ "problem_type": null,
249
+ "pruned_heads": {},
250
+ "relative_attention_max_distance": 128,
251
+ "relative_attention_num_buckets": 32,
252
+ "remove_invalid_values": false,
253
+ "repetition_penalty": 1.0,
254
+ "return_dict": true,
255
+ "return_dict_in_generate": false,
256
+ "sep_token_id": null,
257
+ "suppress_tokens": null,
258
+ "task_specific_params": null,
259
+ "temperature": 1.0,
260
+ "tf_legacy_loss": false,
261
+ "tie_encoder_decoder": false,
262
+ "tie_word_embeddings": false,
263
+ "tokenizer_class": null,
264
+ "top_k": 50,
265
+ "top_p": 1.0,
266
+ "torch_dtype": null,
267
+ "torchscript": false,
268
+ "typical_p": 1.0,
269
+ "use_bfloat16": false,
270
+ "use_cache": true,
271
+ "vocab_size": 32128
272
+ },
273
+ "torch_dtype": "float32",
274
+ "transformers_version": "4.46.1",
275
+ "vocab_size": 90714
276
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1025,
4
+ "decoder_start_token_id": 1025,
5
+ "do_sample": true,
6
+ "eos_token_id": 1024,
7
+ "max_length": 2610,
8
+ "pad_token_id": 1024,
9
+ "transformers_version": "4.46.1"
10
+ }
logo_.svg ADDED
model-001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e8b5705c2bc08ad931071b4c5b2ddfc37550829078e9b8ddf4eb50dfdd82657
3
+ size 3751321772
preprocessor_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length_s": null,
3
+ "feature_extractor_type": "EncodecFeatureExtractor",
4
+ "feature_size": 1,
5
+ "overlap": null,
6
+ "padding_side": "right",
7
+ "padding_value": 0.0,
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 44100
10
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc8fa773221597d09cfadb23a2b1bd717488a0481505469ea56d42cb044de9b5
3
+ size 1795391
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": false,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "<unk>",
37
+ "padding_side": "left",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }