hypaai commited on
Commit
8741f16
·
verified ·
1 Parent(s): 1f32b04

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +248 -13
README.md CHANGED
@@ -1,21 +1,256 @@
1
  ---
2
- base_model: hypaai/Hypa-Orpheus-3b-TTS-VC
3
- tags:
4
- - text-generation-inference
5
- - transformers
6
- - unsloth
7
- - llama
8
  license: apache-2.0
 
 
 
 
9
  language:
10
- - en
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
- # Uploaded finetuned model
14
 
15
- - **Developed by:** hypaai
16
- - **License:** apache-2.0
17
- - **Finetuned from model :** hypaai/Hypa-Orpheus-3b-TTS-VC
 
 
 
18
 
19
- This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
1
  ---
2
+ library_name: transformers
3
+ pipeline_tag: text-generation
 
 
 
 
4
  license: apache-2.0
5
+ base_model:
6
+ - hypaai/Hypa-Orpheus-3b-TTS-VC
7
+ datasets:
8
+ - hypaai/Hypa-Voices-snac
9
  language:
10
+ - en
11
+ - fr
12
+ - es
13
+ - pt
14
+ - ar
15
+ - sw
16
+ - pcm
17
+ - yo
18
+ - ha
19
+ - ig
20
+ - ibb
21
+ - tiv
22
+ - efi
23
+ - anw
24
+ - idc
25
+ - igl
26
+ - nup
27
+ - ego
28
+ - fon
29
+ - urh
30
+ - tw
31
+ - ibr
32
+ tags:
33
+ - orpheus
34
+ - llama
35
+ - text-to-speech
36
+ - voice-cloning
37
+ - speech-synthesis
38
+ - snac
39
+ - multilingual
40
+ - low-resource
41
+ - underrepresented-languages
42
+ - unsloth
43
+ - lora
44
+ - qlora
45
+ - continued-finetuning
46
+ - hypa-ai
47
+ ---
48
+
49
+ <div align="center">
50
+
51
+ ![Hypa-Orpheus 3B](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC/resolve/main/Hypa_Orpheus.jpg)
52
+
53
+ **Extended continued fine-tune of Hypa-Orpheus 3B with a higher-capacity LoRA adapter (r=2048), merged to 16-bit bf16 for inference.**
54
+
55
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
56
+ [![Base: Hypa-Orpheus 3B](https://img.shields.io/badge/Base-Hypa--Orpheus%203B-blue)](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC)
57
+ [![Collection: Hypa-Orpheus](https://img.shields.io/badge/%F0%9F%A4%97%20Collection-Hypa--Orpheus-yellow)](https://huggingface.co/collections/hypaai/hypa-orpheus)
58
+ [![Primary release](https://img.shields.io/badge/Primary-Hypa--Orpheus%203B-green)](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC)
59
+ [![Trained with Unsloth](https://img.shields.io/badge/Trained%20with-Unsloth-orange)](https://github.com/unslothai/unsloth)
60
+
61
+ </div>
62
+
63
+ ## Model Description
64
+
65
+ **Hypa-Orpheus 3B Extended** (`hypaai/Hypa-Orpheus-3b-TTS-VC-ext`) is a **continued fine-tune** of the production [Hypa-Orpheus 3B](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC) release. It uses the same Hypa-Voices corpus, prompt formats, and SNAC training pipeline as the primary model, but attaches a **much higher-rank LoRA adapter** (`r=2048`, `α=2048`) on top of the merged Step **3a** checkpoint and trains further on the same precomputed integer SNAC shards.
66
+
67
+ This is an **experimental capacity extension**, not a replacement for the primary release. It exists for researchers and deployers who want the strongest held-out loss we observed after continuing training with a larger adapter.
68
+
69
+ **Collection:** [hypaai/hypa-orpheus](https://huggingface.co/collections/hypaai/hypa-orpheus)
70
+
71
+ | Repository | Role | Best for |
72
+ | --- | --- | --- |
73
+ | [`hypaai/Hypa-Orpheus-3b-TTS-VC`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC) | Primary merged release (r=512, step 44,334) | Default production deployment |
74
+ | **`hypaai/Hypa-Orpheus-3b-TTS-VC-ext` (this repo)** | Extended merged release (r=2048, step 4,992) | Higher-capacity continuation checkpoint |
75
+ | [`hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs) | Primary LoRA + TensorBoard | Primary adapter inspection and retraining |
76
+ | [`hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext) | Extended LoRA + TensorBoard | Extended adapter inspection and retraining |
77
+
78
+ | Property | Primary release | **Extended (this repo)** |
79
+ | --- | --- | --- |
80
+ | **Starting checkpoint** | `unsloth/orpheus-3b-0.1-ft` | `hypaai/Hypa-Orpheus-3b-TTS-VC` |
81
+ | **LoRA rank / alpha** | r=512, α=512 | **r=2048, α=2048** |
82
+ | **Trainable parameters** | 778M (19.07%) | **~3.11B (~76%)** |
83
+ | **Adapter size** | ~3.1 GB | **~12.4 GB** |
84
+ | **Effective batch size** | 96 | **256** |
85
+ | **Optimizer steps (shipped)** | 44,334 | **4,992** |
86
+ | **Best validation loss** | 3.513 | **3.438** |
87
+ | **Approx. validation PPL** | 33.5 | **31.1** |
88
+
89
+ Capabilities, languages, prompt structure, SNAC decode path, and intended use cases are identical to the primary model. See the main model card for the full description:
90
+
91
+ **[hypaai/Hypa-Orpheus-3b-TTS-VC README](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC)**
92
+
93
+ ---
94
+
95
+ ## What Changed in This Run
96
+
97
+ The extended run kept the same data mixture and response-only SNAC supervision, but increased adapter capacity and batch size while continuing from the already merged production weights:
98
+
99
+ | Hyperparameter | Primary release | Extended run |
100
+ | --- | --- | --- |
101
+ | Base weights | 4-bit QLoRA on Orpheus FT | **Merged bf16 Hypa-Orpheus 3B** |
102
+ | LoRA rank (r) | 512 | **2048** |
103
+ | LoRA alpha (α) | 512 | **2048** |
104
+ | Per-device batch size | 16 | 16 |
105
+ | Gradient accumulation | 6 | **16** |
106
+ | **Effective batch size** | **96** | **256** |
107
+ | Learning rate | 5e-5 | 5e-5 |
108
+ | LR schedule | cosine, 3% warmup | cosine, **498 warmup steps** |
109
+ | Optimizer | AdamW 8-bit | AdamW 8-bit |
110
+ | Weight decay | 0.01 | 0.01 |
111
+ | Max grad norm | 1.0 | 1.0 |
112
+ | Eval / save interval | 2,217 steps | **832 steps** |
113
+ | Planned step budget | 44,334 | **16,626** |
114
+ | **Shipped checkpoint** | step 44,334 | **step 4,992** |
115
+ | Precision | bfloat16 | bfloat16 |
116
+ | Random seed | 3407 | 3407 |
117
+
118
+ The published extended checkpoint reflects **4,992 optimizer steps**, about **30% of one effective epoch** on the same interleaved TTS/VC mixture. Training was stopped and released at the validation-best step observed in that continuation segment.
119
+
120
+ ---
121
+
122
+ ## Evaluation and Checkpoint Selection
123
+
124
+ TensorBoard logs for the extended adapter:
125
+
126
+ **[Hypa-Orpheus 3B Extended LoRA training logs](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext/tensorboard)**
127
+
128
+ Headline metrics from the shipped continuation:
129
+
130
+ | Metric | Value | Step |
131
+ | --- | --- | --- |
132
+ | Initial training loss | **3.582** | 1 |
133
+ | Final training loss | **3.433** | 4,992 |
134
+ | Initial validation loss | **3.496** | 832 |
135
+ | **Best validation loss (shipped)** | **3.438** | **4,992** |
136
+
137
+ Compared with the primary release validation loss of **3.513** at step **44,334**, the extended checkpoint improves held-out loss by **0.075** (approximate validation perplexity **33.5 → 31.1**). Validation loss improved at every logged evaluation interval in this continuation.
138
+
139
+ | Step | Training Loss | Validation Loss | Val PPL | Gen. Gap |
140
+ | --- | --- | --- | --- | --- |
141
+ | 832 | 3.531 | 3.496 | 33.0 | −0.035 |
142
+ | 1,664 | 3.491 | 3.478 | 32.4 | −0.013 |
143
+ | 2,496 | 3.483 | 3.464 | 31.9 | −0.019 |
144
+ | 3,328 | 3.469 | 3.456 | 31.7 | −0.012 |
145
+ | 4,160 | 3.463 | 3.451 | 31.5 | −0.012 |
146
+ | **4,992** | **3.433** | **3.438** | **31.1** | **+0.006** |
147
+
148
+ As with the primary release, these scalars measure uncertainty over the supervised target SNAC stream. They do not, by themselves, prove better perceptual quality. The extended checkpoint should be treated as a **loss-improved continuation** pending formal listening and task benchmarks.
149
+
150
+ Gradient norms remained stable throughout the run (roughly **0.18 → 0.11**).
151
+
152
  ---
153
 
154
+ ## Which Checkpoint Should I Use?
155
 
156
+ | Use case | Recommendation |
157
+ | --- | --- |
158
+ | **Default production** | [`hypaai/Hypa-Orpheus-3b-TTS-VC`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC) |
159
+ | **Smaller adapter / full primary training budget** | Primary LoRA repo |
160
+ | **Lowest published held-out loss after continuation** | **This repo (`-ext`)** |
161
+ | **Further high-rank experimentation** | Extended LoRA repo |
162
 
163
+ Choose the primary release when you want the fully budgeted Step **3a** training run and the smaller r=512 adapter footprint. Choose this extended release when you want the best validation loss we published after continuing from that checkpoint with a r=2048 adapter, and can accept the larger merged weights and shorter continuation schedule.
164
+
165
+ ---
166
+
167
+ ## Quick Start
168
+
169
+ ### Load the extended merged model
170
+
171
+ ```python
172
+ from transformers import AutoTokenizer, AutoModelForCausalLM
173
+ import torch
174
+
175
+ model_id = "hypaai/Hypa-Orpheus-3b-TTS-VC-ext"
176
+
177
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
178
+ model = AutoModelForCausalLM.from_pretrained(
179
+ model_id,
180
+ torch_dtype=torch.bfloat16,
181
+ device_map="auto",
182
+ )
183
+ ```
184
+
185
+ Prompt assembly, SNAC encode/decode, and vLLM serving follow the same conventions as the primary release. This repository includes the same `handler.py` inference entrypoint pattern as [`hypaai/Hypa-Orpheus-3b-TTS-VC`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC).
186
+
187
+ ```bash
188
+ vllm serve hypaai/Hypa-Orpheus-3b-TTS-VC-ext --dtype bfloat16 --max-model-len 4096
189
+ ```
190
+
191
+ ### Load the extended LoRA adapter
192
+
193
+ See [`hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext) for adapter loading, merging, and TensorBoard links.
194
+
195
+ ---
196
+
197
+ ## Limitations (Extended Release)
198
+
199
+ - **Shorter continuation budget.** The shipped extended checkpoint covers **4,992** steps, not the full planned **16,626**-step schedule.
200
+ - **Much larger adapter.** r=2048 increases adapter storage and merge size roughly **4×** versus the primary release.
201
+ - **Experimental status.** The primary release remains our default production artifact; this continuation is published for transparency and research comparison.
202
+ - **Same perceptual eval gap.** Improved held-out loss does not yet come with published WER/CER, speaker-similarity, or MOS results.
203
+
204
+ For shared limitations on languages, prompt sensitivity, and context length, see the [primary model card](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC).
205
+
206
+ ---
207
+
208
+ ## Released Artifacts
209
+
210
+ - **Extended merged 16-bit model (this repo):** [`hypaai/Hypa-Orpheus-3b-TTS-VC-ext`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-ext)
211
+ - **Extended LoRA + TensorBoard:** [`hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs-ext)
212
+ - **Primary merged release:** [`hypaai/Hypa-Orpheus-3b-TTS-VC`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC)
213
+ - **Primary LoRA + TensorBoard:** [`hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs`](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-LoRAs)
214
+ - **Training data (public subset):** [Hypa-Voices collection](https://huggingface.co/collections/hypaai/hypa-voices)
215
+
216
+ For questions or contributions, contact **chris@hypaintelligence.com** or open an issue on Hugging Face.
217
+
218
+ ---
219
+
220
+ ## Citation
221
+
222
+ If you use the extended Hypa-Orpheus checkpoint, please cite both the primary release and this continuation:
223
+
224
+ ```bibtex
225
+ @misc{hypaorpheus2026,
226
+ title = {Hypa-Orpheus 3B: Multilingual Text-to-Speech and Voice Cloning for Underrepresented Languages},
227
+ author = {{Hypa Intelligence and AfroVoices}},
228
+ year = {2026},
229
+ publisher = {Hugging Face},
230
+ howpublished = {\url{https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC}}
231
+ }
232
+
233
+ @misc{hypaorpheus2026ext,
234
+ title = {Hypa-Orpheus 3B Extended: Continued Fine-Tuning with Higher-Capacity LoRA},
235
+ author = {{Hypa Intelligence and AfroVoices}},
236
+ year = {2026},
237
+ publisher = {Hugging Face},
238
+ howpublished = {\url{https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC-ext}}
239
+ }
240
+ ```
241
+
242
+ ---
243
+
244
+ ## License
245
+
246
+ Released under the **Apache License 2.0**.
247
+
248
+ ---
249
+
250
+ ## Acknowledgments
251
+
252
+ Same upstream acknowledgments as the [primary Hypa-Orpheus release](https://huggingface.co/hypaai/Hypa-Orpheus-3b-TTS-VC#acknowledgments): Canopy Labs (Orpheus), Meta AI (Llama), Hubert Siuzdak (SNAC), Unsloth, RunPod, Mozilla Common Voice, AfroVoices, and Hypa Intelligence Research (HaIR).
253
+
254
+ ---
255
 
256
+ **Hypa Intelligence** • [Website](https://hypaintelligence.com) • [Hugging Face](https://huggingface.co/hypaai) • [Updates](https://hypaintelligence.com/updates)