Evaluate further Anna fine-tuning and training-consistent voicepacks
This commit is contained in:
1 parent
c15f24e36b
commit
d872edc0d6
28 files changed
+2193
-1
No files matched your search
@@ -0,0 +1,178 @@
|
||||
# Anna voice/accent follow-up · 27 October 2026
|
||||
|
||||
Michael clarified that technical-word pronunciation belongs to the existing
|
||||
Athena enhancer. This experiment targets **Anna identity and perceived accent**,
|
||||
not a new technical lexicon, phonemizer replacement or active endpoint switch.
|
||||
He asked about further training after hearing the first Anna pilot.
|
||||
|
||||
## Protocol fixed before new listening outputs
|
||||
|
||||
- Keep the existing Anna pilot and all production files. Own root
|
||||
`/data/athena-kikiri-anna-more-20261027`, 0700. Reuse the previous isolated
|
||||
native training/CPU environments and private dataset read-only; no downloads
|
||||
or new service/container. Assets/dependencies/pins are described in
|
||||
[the original pilot](../kikiri-anna-training-2026-10-27/README.md).
|
||||
- Start from the pilot's **trained Stage 2**, not the public base. Twenty
|
||||
additional epochs, fresh Adam optimizers because the pilot saved weights
|
||||
only. LR 1e-5 acoustic/main, 1e-6 BERT (one fifth of the pilot), FP32,
|
||||
batch two, 160-frame crops, full small-batch SLM branch, Torch seed 20261028.
|
||||
Upstream meldataset import resets Python/NumPy to seed 1; that behavior is
|
||||
retained, rather than claiming that all random generators use the Torch seed.
|
||||
Keep waveform GAN and WavLM active from the start; diffusion unused.
|
||||
- Same 63 Anna training clips / 731.265 s, six validation / 68.215 s and
|
||||
seven held-out / 82.55 s. No new training material, no held-out or evaluation
|
||||
text leaked into training. More passes do not create more phonetic coverage.
|
||||
Local ASR-generated training transcripts are still not manually certified.
|
||||
- Save weight-only checkpoints after 5/10/15/20 extra epochs. No output-driven
|
||||
tuning; compare +10/+20 to the fixed original pilot. The short original
|
||||
story and one preregistered expressive German passage are in `compare.py`.
|
||||
No custom pronunciation substitutions or production enhancer in any arm.
|
||||
- CPU synthesis uses the same pinned CPU-only Torch/Misaki, four threads,
|
||||
speed=1, seed 42, 24 kHz mono PCM16. One explicit warmup per arm; model load
|
||||
and WAV writing excluded. Qwen resident for measurement, without added
|
||||
synthetic LLM generation. ASR is a completeness aid, not an accent/identity
|
||||
score. Michael must listen to establish a voice/accent gain.
|
||||
|
||||
## Important continuation correction
|
||||
|
||||
The upstream `second_stage_load_pretrained=true` branch loads parameters after
|
||||
building optimizers, then **replaces predictor_encoder with a copy of
|
||||
style_encoder**. That is appropriate initialization for Stage 1-to-2, but
|
||||
discards learned Stage 2 prosody and leaves the optimizer referencing the old
|
||||
encoder when used as a continued Stage 2 fine-tune.
|
||||
|
||||
`train.py` creates an own copy of the exact pinned source with only that
|
||||
three-line reset removed. Original StyleTTS2 remains unchanged. All modules
|
||||
load strictly, including predictor_encoder and discriminators. Optimizer
|
||||
parameter identities are explicitly checked. Original/adapted source hashes
|
||||
and the precise change are recorded in `source-adaptation.json`. This is a
|
||||
parameter warmstart with fresh optimizers, not an exact optimizer-state resume.
|
||||
|
||||
## Separate voicepack export check
|
||||
|
||||
Primary controlled comparisons use the **same first-stage timbre encoder**
|
||||
as the original pilot and the corresponding checkpoint's prosody encoder.
|
||||
That keeps the previous recommended export recipe constant. A separate +20
|
||||
ablation uses **both encoders from the same +20 checkpoint**, to check whether
|
||||
the older timbre embedding is limiting the speaker match. Do not attribute an
|
||||
effect of that different voicepack recipe to extra training alone. Both use
|
||||
only the same 63 training recordings; no pitch shift, EQ or time stretching.
|
||||
|
||||
## Operation and native reproduction
|
||||
|
||||
Use the read-only existing sources and pinned standalone CPython 3.11 runtime
|
||||
from the previous experiment, plus its CUDA training venv and separate CPU
|
||||
venv. These paths are explicit dependencies, not container-provided packages.
|
||||
For a fresh native Debian host, reproduce those documented source/environment
|
||||
recipes and restore the private authorized recording/segments first. This
|
||||
experiment is not a production installer or a complete encrypted restore test.
|
||||
|
||||
`train.py prepare` performs only configuration/source preparation. Run its
|
||||
training mode on the RTX 5080 UUID, CPUQuota=500%, AllowedCPUs=2–5/8–11,
|
||||
MemoryMax=14 GiB, no swap/network, nice 10, RuntimeMaxSec=1800, writable own
|
||||
root only. Do not expose GPU devices to export/CPU/ASR units. Before GPU use,
|
||||
snapshot the actual current state, pause only the offered chat profiles via
|
||||
authenticated Deck UI, confirm zero running/waiting requests, and use regular
|
||||
`Modell entladen`. TTS/STT stay published/resident. After success or failure,
|
||||
finish/stop only the own trainer, restore exactly the previous publications
|
||||
and reload the original Qwen profile through an authenticated ordinary request.
|
||||
No Deck, Hermes or host restart. `verify.py` compares state hashes and CPU TTS
|
||||
PIDs and checks that no own trainer remains.
|
||||
|
||||
Run `export.py 10` / `export.py 20` with the training venv but GPU devices
|
||||
hidden. Run `compare.py baseline|extra10|extra20|matched20` with the CPU venv,
|
||||
CPUQuota=400%, same affinity, MemoryMax=3 GiB, no swap/network, private devices,
|
||||
own writable TMPDIR. `score.py` uses the existing local Parakeet CLI. Audio,
|
||||
private checkpoints and original transcripts remain outside Git/cloud.
|
||||
|
||||
## Additional code finding: voicepack mel-bank mismatch
|
||||
|
||||
After the twenty-round training finished, before generating its evaluation
|
||||
audio, a direct source/runtime comparison found that StyleTTS2's actual
|
||||
`meldataset.to_mel` uses a **nominal sample_rate parameter of 16000**, while the
|
||||
Kikiri voicepack extractor explicitly constructs a 24000 transform. The mel
|
||||
filterbanks have equal shapes but differ (relative Frobenius difference
|
||||
1.25764). Both operate on 24-kHz recordings; this is an encoder-input
|
||||
representation mismatch, not evidence of a Chinese training language.
|
||||
|
||||
New separate export ablations use the actual `meldataset.preprocess` filter
|
||||
and log normalization. They **do not resample or downgrade** reference/output
|
||||
audio. No additional leading/trailing zeros are added, to keep the same clip
|
||||
content as the earlier export and isolate the filterbank change. Full-utterance
|
||||
averaging differs from the trainer's random short crops, as in the original
|
||||
voicepack recipe. All output WAVs remain 24 kHz. The base inference model and
|
||||
phonemizer are untouched.
|
||||
|
||||
The +10 export retains the first (24-kHz-parameter) recipe. The +20 export
|
||||
also supplies `trainingmel.pt` (old first-stage timbre encoder, new prosody,
|
||||
training-consistent mel bank) and `fullmatch.pt` (both current encoders, same
|
||||
training-consistent mel bank). CPU comparisons `extra10` / `extra20` isolate
|
||||
additional training under the original export. `mel20` then changes only the
|
||||
filterbank recipe; `full20` additionally changes the timbre encoder. Do not
|
||||
attribute a `full20` improvement to training alone, or claim the mismatch
|
||||
proves the source of the perceived accent.
|
||||
|
||||
## Observed result
|
||||
|
||||
Training completed: **20 additional epochs / 620 batches in 508.95 s** on the
|
||||
RTX 5080. All thirteen components loaded strictly, with verified optimizer
|
||||
bindings. The trained predictor encoder received 620 updates, the additional
|
||||
SLM branch ran 620 times and its discriminator received sixty updates.
|
||||
Peak Torch allocation 12.17 GiB, reserved 13.00 GiB; transient unit host-RAM
|
||||
peak 6.8 GiB. All saved floating weights were finite. The original pilot model
|
||||
and voicepack hashes still match; no overwrite. `weight-audit.json` independently
|
||||
confirms changes in learned-state tensors of BERT, predictor, both speaker
|
||||
encoders and decoder (normalization-statistic buffers excluded).
|
||||
|
||||
Validation loss was 0.42175 at +10 and 0.43037 at +20, versus 0.43826 in the
|
||||
pilot. Six validation recordings and a fluctuating reconstruction objective
|
||||
do not establish a perceptual gain. No automated accent-removal claim.
|
||||
|
||||
Every arm uses the same 81,810,022-parameter CPU model architecture and the
|
||||
same two German texts. The initial baseline completed before chat publication
|
||||
was paused, with unchanged production hashes. Later arms ran after Qwen was
|
||||
restored and the export unit had finished. No added LLM generation workload.
|
||||
|
||||
| Arm | Story audio / generation | Expressive audio / generation | Weighted RTF |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| Original pilot | 16.450 / 5.075 s | 16.125 / 5.089 s | 0.3120 |
|
||||
| +10, same export recipe | 16.250 / 5.428 s | 16.175 / 5.250 s | 0.3293 |
|
||||
| +20, same export recipe | 16.300 / 5.206 s | 16.175 / 5.378 s | 0.3259 |
|
||||
| +20, training-consistent mel bank | 15.725 / 5.079 s | 15.700 / 4.960 s | 0.3194 |
|
||||
| +20, current encoders + training mel bank | 15.725 / 5.242 s | 15.700 / 5.286 s | 0.3350 |
|
||||
|
||||
Observed reserve remains approximately **3× realtime**. These are short,
|
||||
file-based renders, not a sustained-load, streaming-start-latency, Hermes or
|
||||
Conduit client test. No dropped/truncated phonemes or clipped samples in any
|
||||
arm. WAVs are 24 kHz mono PCM16; all ten local copies match recorded remote
|
||||
hashes and durations. Model/voice preparation took 0.764–0.889 s separately.
|
||||
The file-based pipeline yields one whole paragraph, not incremental frames.
|
||||
|
||||
Local Parakeet STT recovered both texts in every arm without omissions.
|
||||
It consistently wrote **Wögel** for Vögel, one lexical edit in each 36-/40-word
|
||||
case; punctuation changes are unscored. The phoneme trace in all arms also
|
||||
contains the same initial `v` for that word. Further training and the export
|
||||
variants did not change the transcript. Thus ASR supplies **no measured
|
||||
intelligibility improvement** here and cannot judge the perceived accent or
|
||||
Anna similarity. Michael's listening assessment of these new samples remains
|
||||
pending. The text enhancer and phonemizer are unchanged.
|
||||
|
||||
The +20 original-recipe and mel-only variants retain the earlier timbre
|
||||
encoder to isolate changes. `full20` additionally uses the current trained
|
||||
timbre encoder. Any audible change there combines additional training and
|
||||
an altered voicepack; it must not be credited to more epochs alone.
|
||||
|
||||
Final normal authenticated reload returned a completion choice for the
|
||||
previous `flash-next-strata-iq3-dual`. All twelve original chat publications
|
||||
are back. Production profile/endpoint/audio/CPU/reference/worker-source hashes,
|
||||
CPU TTS PIDs and Deck start time match the before-state. No own trainer,
|
||||
exporter, CPU evaluator or STT unit remains. Active Articulino TTS, Hermes,
|
||||
Mac apps and VPN untouched. See `final-verification.json`.
|
||||
|
||||
Own additional root occupies about **3.5 GiB**, reusing existing assets and
|
||||
environments explicitly. Private checkpoints and voices remain only there;
|
||||
local listening copies are outside Git under
|
||||
`work/kikiri-anna-followup-20261027/audio/`. No endpoint profile or activation.
|
||||
Documentation/scripts and synthetic metrics only are committed. Sopro technical
|
||||
B remains the previously preferred listening reference until Michael chooses
|
||||
otherwise.
|
||||
@@ -0,0 +1,24 @@
|
||||
"""Verify retained pilot and actual learned-state changes; not a quality score."""
|
||||
from pathlib import Path
|
||||
import os,json,hashlib
|
||||
os.environ.update(CUDA_VISIBLE_DEVICES='',OMP_NUM_THREADS='2',OPENBLAS_NUM_THREADS='1')
|
||||
import torch
|
||||
torch.set_num_threads(2)
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027');BASE=Path('/data/athena-kikiri-anna-20261027')
|
||||
old=torch.load(BASE/'run/epoch_2nd_00011.pth',map_location='cpu',weights_only=True)['net']
|
||||
new=torch.load(ROOT/'run/anna-extra-20.pth',map_location='cpu',weights_only=True)['net']
|
||||
rows=[]
|
||||
for component in ('bert','predictor','predictor_encoder','style_encoder','decoder'):
|
||||
a={k.removeprefix('module.'):v for k,v in old[component].items()};b={k.removeprefix('module.'):v for k,v in new[component].items()}
|
||||
keys=[k for k,t in a.items() if t.is_floating_point() and not k.endswith(('._u','._v','running_mean','running_var'))]
|
||||
changed=sum(not torch.equal(a[k],b[k]) for k in keys)
|
||||
assert changed>0,component
|
||||
rows.append(dict(component=component,float_state_tensors_without_norm_buffers=len(keys),changed_tensors=changed))
|
||||
manifest=json.loads((BASE/'export.json').read_text())
|
||||
retained=[]
|
||||
for f in manifest['files']:
|
||||
p=BASE/'model'/f['file'];same=hashlib.file_digest(p.open('rb'),'sha256').hexdigest()==f['sha256']
|
||||
retained.append(dict(file=f['file'],same=same));assert same
|
||||
result=dict(learned_state_changes=rows,original_pilot_retained=retained,
|
||||
note='Changed parameters/state and strict warmstart establish training occurred; no accent or speaker-similarity metric.')
|
||||
(ROOT/'weight-audit.json').write_text(json.dumps(result,indent=2));print(json.dumps(result),flush=True)
|
||||
@@ -0,0 +1,69 @@
|
||||
"""Same CPU frontend, original German story plus an expressive German passage."""
|
||||
from pathlib import Path
|
||||
import os,sys,json,time,hashlib,random,resource
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027');BASE=Path('/data/athena-kikiri-anna-20261027')
|
||||
PUBLIC=Path('/data/athena-kikiri-victoria-cpu-20261027')
|
||||
(ROOT/'tmp').mkdir(exist_ok=True,mode=0o700)
|
||||
os.environ.update(CUDA_VISIBLE_DEVICES='',HF_HUB_OFFLINE='1',HF_HOME=str(ROOT/'cache/huggingface'),
|
||||
HF_HUB_DISABLE_TELEMETRY='1',HF_HUB_DISABLE_IMPLICIT_TOKEN='1',TMPDIR=str(ROOT/'tmp'),
|
||||
XDG_CACHE_HOME=str(ROOT/'cache'),OMP_NUM_THREADS='4',OPENBLAS_NUM_THREADS='1',TOKENIZERS_PARALLELISM='false')
|
||||
import numpy as np,soundfile as sf,torch,torch._dynamo
|
||||
from kokoro import KModel,KPipeline
|
||||
from support import CASES,write,preservation
|
||||
torch.set_num_threads(4);torch.set_num_interop_threads(1);os.sched_setaffinity(0,{2,3,4,5,8,9,10,11})
|
||||
assert torch.version.cuda is None and not torch.cuda.is_available()
|
||||
os.umask(0o077);arm=sys.argv[1]
|
||||
assert arm in ('baseline','extra10','extra20','matched20','mel20','full20')
|
||||
if arm=='baseline':model_path=BASE/'model/anna.pth';voice_path=BASE/'model/anna.pt'
|
||||
else:
|
||||
n=10 if arm=='extra10' else 20
|
||||
model_path=ROOT/'models'/f'extra-{n:02d}'/'model.pth'
|
||||
voice_path=model_path.parent/({'matched20':'matched.pt','mel20':'trainingmel.pt','full20':'fullmatch.pt'}.get(arm,'controlled.pt'))
|
||||
random.seed(42);np.random.seed(42);torch.manual_seed(42)
|
||||
started=time.monotonic()
|
||||
model=KModel(repo_id='hexgrad/Kokoro-82M',config=str(PUBLIC/'source/training/config.json'),model=str(model_path)).to('cpu').eval()
|
||||
weights=torch.load(model_path,map_location='cpu',weights_only=True);compat=[]
|
||||
for name,state in weights.items():
|
||||
c=getattr(model,name);state={k.removeprefix('module.'):v for k,v in state.items()}
|
||||
check=c.load_state_dict(state,strict=False);assert not check.unexpected_keys
|
||||
current=c.state_dict()
|
||||
for key in check.missing_keys:
|
||||
path,param=key.rsplit('.',1);layer=c.get_submodule(path)
|
||||
assert isinstance(layer,torch.nn.InstanceNorm1d) and layer.affine and param in ('weight','bias')
|
||||
assert torch.all(current[key]==(1 if param=='weight' else 0))
|
||||
state[key]=current[key]
|
||||
c.load_state_dict(state,strict=True);compat.append(dict(component=name,identity_affine_keys=check.missing_keys))
|
||||
del weights
|
||||
voice=torch.load(voice_path,map_location='cpu',weights_only=True);assert voice.shape==(510,1,256) and torch.isfinite(voice).all()
|
||||
pipeline=KPipeline(lang_code='d',repo_id='hexgrad/Kokoro-82M',model=model,device='cpu')
|
||||
g2p=pipeline.g2p
|
||||
def compatible(text):
|
||||
ps,t=g2p(text);return ps.replace('ʏ','y'),t
|
||||
pipeline.g2p=compatible
|
||||
report=dict(arm=arm,device='cpu',threads=4,model_load_seconds=time.monotonic()-started,
|
||||
model_sha256=hashlib.file_digest(model_path.open('rb'),'sha256').hexdigest(),
|
||||
voice_sha256=hashlib.file_digest(voice_path.open('rb'),'sha256').hexdigest(),
|
||||
parameters=sum(p.numel() for p in model.parameters()),strict_components=compat,runs=[])
|
||||
(ROOT/'outputs').mkdir(exist_ok=True)
|
||||
def render(text,name,save=True):
|
||||
random.seed(42);np.random.seed(42);torch.manual_seed(42);start=time.monotonic();chunks=[];ps=[]
|
||||
for r in pipeline(text,voice=voice,speed=1):
|
||||
assert len(r.phonemes)<=510
|
||||
x=r.audio.detach().cpu().numpy().reshape(-1);assert np.isfinite(x).all()
|
||||
chunks.append(x);ps.append(r.phonemes)
|
||||
elapsed=time.monotonic()-start;x=np.concatenate(chunks);duration=len(x)/24000
|
||||
row=dict(text=text,duration_seconds=duration,generation_seconds=elapsed,rtf=elapsed/duration,
|
||||
realtime_multiple=duration/elapsed,phonemes=ps,clipped_fraction=float(np.mean(np.abs(x)>=1)),
|
||||
peak=float(np.max(np.abs(x))),chunks=len(chunks),dropped=sorted({c for p in ps for c in p if c not in model.vocab}),
|
||||
peak_rss_kib=resource.getrusage(resource.RUSAGE_SELF).ru_maxrss)
|
||||
if save:
|
||||
p=ROOT/'outputs'/name;sf.write(p,x,24000,subtype='PCM_16');row.update(file=name,sha256=hashlib.file_digest(p.open('rb'),'sha256').hexdigest())
|
||||
return row
|
||||
report['warmup']=render('Die Stimme ist bereit.','warmup.wav',False)
|
||||
cases=[CASES[0],dict(id='expressive',text='Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.')]
|
||||
for case in cases:
|
||||
row=render(case['text'],f'anna-{arm}-{case["id"]}.wav');row['case']=case['id'];report['runs'].append(row)
|
||||
write(ROOT/f'cpu-{arm}.json',report)
|
||||
report.update(complete=True,preservation=preservation(),weighted_rtf=sum(x['generation_seconds'] for x in report['runs'])/sum(x['duration_seconds'] for x in report['runs']))
|
||||
write(ROOT/f'cpu-{arm}.json',report)
|
||||
print(json.dumps(dict(arm=arm,weighted_rtf=report['weighted_rtf'],runs=[{k:r[k] for k in ('case','duration_seconds','generation_seconds','rtf')} for r in report['runs']],preservation=report['preservation'])),flush=True)
|
||||
@@ -0,0 +1,32 @@
|
||||
"""Authenticated observation and final reload. Credential only arrives on stdin."""
|
||||
from pathlib import Path
|
||||
import hashlib, json, sys, time, urllib.request
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027')
|
||||
PUBLIC=Path('/data/athena-kikiri-victoria-cpu-20261027')
|
||||
sys.path.insert(0,str(PUBLIC))
|
||||
from support import snapshot
|
||||
key=json.load(sys.stdin)['api_key']
|
||||
def request(path,body=None,port=8108):
|
||||
data=None if body is None else json.dumps(body).encode()
|
||||
req=urllib.request.Request(f'http://127.0.0.1:{port}'+path,data=data,
|
||||
headers={'Authorization':'Bearer '+key,'Content-Type':'application/json'})
|
||||
with urllib.request.urlopen(req,timeout=600) as f:return json.load(f)
|
||||
def safe_status():
|
||||
e=request('/api/v1/status')['endpoint']
|
||||
return {k:e.get(k) for k in ('state','active_requests','scheduler','requests_running','requests_queued')}
|
||||
mode=sys.argv[1]
|
||||
if mode=='before':
|
||||
before=snapshot()
|
||||
worker=json.loads(Path('/opt/athena-deck-dev/runtime/state/strata-worker/worker.json').read_text())
|
||||
before['previous_profile']=worker['model_name']
|
||||
(ROOT/'production-before.json').write_text(json.dumps(before,indent=2))
|
||||
print(json.dumps(dict(previous_profile=before['previous_profile'],status=safe_status())))
|
||||
elif mode=='status':print(json.dumps(safe_status()))
|
||||
elif mode=='restore':
|
||||
before=json.loads((ROOT/'production-before.json').read_text())
|
||||
status=safe_status()
|
||||
while status.get('active_requests'):
|
||||
time.sleep(3);status=safe_status()
|
||||
result=request('/v1/chat/completions',dict(model=before['previous_profile'],messages=[{'role':'user','content':'Antworte mit OK.'}],
|
||||
max_tokens=1,temperature=0,reasoning_effort='none'),8120)
|
||||
print(json.dumps(dict(choices_present=bool(result.get('choices')),status=safe_status())))
|
||||
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"arm": "baseline",
|
||||
"device": "cpu",
|
||||
"threads": 4,
|
||||
"model_load_seconds": 0.7644154829904437,
|
||||
"model_sha256": "4c338c80196b7cd7310af2cf9134c794703a80ffa2e15d875beb173db3af68a2",
|
||||
"voice_sha256": "aec10d3d0e0c7769d530366e1523c80932d2ce75935e95d93441e327da80e4ad",
|
||||
"parameters": 81810022,
|
||||
"strict_components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"identity_affine_keys": [
|
||||
"F0.0.norm1.norm.weight",
|
||||
"F0.0.norm1.norm.bias",
|
||||
"F0.0.norm2.norm.weight",
|
||||
"F0.0.norm2.norm.bias",
|
||||
"F0.1.norm1.norm.weight",
|
||||
"F0.1.norm1.norm.bias",
|
||||
"F0.1.norm2.norm.weight",
|
||||
"F0.1.norm2.norm.bias",
|
||||
"F0.2.norm1.norm.weight",
|
||||
"F0.2.norm1.norm.bias",
|
||||
"F0.2.norm2.norm.weight",
|
||||
"F0.2.norm2.norm.bias",
|
||||
"N.0.norm1.norm.weight",
|
||||
"N.0.norm1.norm.bias",
|
||||
"N.0.norm2.norm.weight",
|
||||
"N.0.norm2.norm.bias",
|
||||
"N.1.norm1.norm.weight",
|
||||
"N.1.norm1.norm.bias",
|
||||
"N.1.norm2.norm.weight",
|
||||
"N.1.norm2.norm.bias",
|
||||
"N.2.norm1.norm.weight",
|
||||
"N.2.norm1.norm.bias",
|
||||
"N.2.norm2.norm.weight",
|
||||
"N.2.norm2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"identity_affine_keys": [
|
||||
"encode.norm1.norm.weight",
|
||||
"encode.norm1.norm.bias",
|
||||
"encode.norm2.norm.weight",
|
||||
"encode.norm2.norm.bias",
|
||||
"decode.0.norm1.norm.weight",
|
||||
"decode.0.norm1.norm.bias",
|
||||
"decode.0.norm2.norm.weight",
|
||||
"decode.0.norm2.norm.bias",
|
||||
"decode.1.norm1.norm.weight",
|
||||
"decode.1.norm1.norm.bias",
|
||||
"decode.1.norm2.norm.weight",
|
||||
"decode.1.norm2.norm.bias",
|
||||
"decode.2.norm1.norm.weight",
|
||||
"decode.2.norm1.norm.bias",
|
||||
"decode.2.norm2.norm.weight",
|
||||
"decode.2.norm2.norm.bias",
|
||||
"decode.3.norm1.norm.weight",
|
||||
"decode.3.norm1.norm.bias",
|
||||
"decode.3.norm2.norm.weight",
|
||||
"decode.3.norm2.norm.bias",
|
||||
"generator.noise_res.0.adain1.0.norm.weight",
|
||||
"generator.noise_res.0.adain1.0.norm.bias",
|
||||
"generator.noise_res.0.adain1.1.norm.weight",
|
||||
"generator.noise_res.0.adain1.1.norm.bias",
|
||||
"generator.noise_res.0.adain1.2.norm.weight",
|
||||
"generator.noise_res.0.adain1.2.norm.bias",
|
||||
"generator.noise_res.0.adain2.0.norm.weight",
|
||||
"generator.noise_res.0.adain2.0.norm.bias",
|
||||
"generator.noise_res.0.adain2.1.norm.weight",
|
||||
"generator.noise_res.0.adain2.1.norm.bias",
|
||||
"generator.noise_res.0.adain2.2.norm.weight",
|
||||
"generator.noise_res.0.adain2.2.norm.bias",
|
||||
"generator.noise_res.1.adain1.0.norm.weight",
|
||||
"generator.noise_res.1.adain1.0.norm.bias",
|
||||
"generator.noise_res.1.adain1.1.norm.weight",
|
||||
"generator.noise_res.1.adain1.1.norm.bias",
|
||||
"generator.noise_res.1.adain1.2.norm.weight",
|
||||
"generator.noise_res.1.adain1.2.norm.bias",
|
||||
"generator.noise_res.1.adain2.0.norm.weight",
|
||||
"generator.noise_res.1.adain2.0.norm.bias",
|
||||
"generator.noise_res.1.adain2.1.norm.weight",
|
||||
"generator.noise_res.1.adain2.1.norm.bias",
|
||||
"generator.noise_res.1.adain2.2.norm.weight",
|
||||
"generator.noise_res.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.0.adain1.0.norm.weight",
|
||||
"generator.resblocks.0.adain1.0.norm.bias",
|
||||
"generator.resblocks.0.adain1.1.norm.weight",
|
||||
"generator.resblocks.0.adain1.1.norm.bias",
|
||||
"generator.resblocks.0.adain1.2.norm.weight",
|
||||
"generator.resblocks.0.adain1.2.norm.bias",
|
||||
"generator.resblocks.0.adain2.0.norm.weight",
|
||||
"generator.resblocks.0.adain2.0.norm.bias",
|
||||
"generator.resblocks.0.adain2.1.norm.weight",
|
||||
"generator.resblocks.0.adain2.1.norm.bias",
|
||||
"generator.resblocks.0.adain2.2.norm.weight",
|
||||
"generator.resblocks.0.adain2.2.norm.bias",
|
||||
"generator.resblocks.1.adain1.0.norm.weight",
|
||||
"generator.resblocks.1.adain1.0.norm.bias",
|
||||
"generator.resblocks.1.adain1.1.norm.weight",
|
||||
"generator.resblocks.1.adain1.1.norm.bias",
|
||||
"generator.resblocks.1.adain1.2.norm.weight",
|
||||
"generator.resblocks.1.adain1.2.norm.bias",
|
||||
"generator.resblocks.1.adain2.0.norm.weight",
|
||||
"generator.resblocks.1.adain2.0.norm.bias",
|
||||
"generator.resblocks.1.adain2.1.norm.weight",
|
||||
"generator.resblocks.1.adain2.1.norm.bias",
|
||||
"generator.resblocks.1.adain2.2.norm.weight",
|
||||
"generator.resblocks.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.2.adain1.0.norm.weight",
|
||||
"generator.resblocks.2.adain1.0.norm.bias",
|
||||
"generator.resblocks.2.adain1.1.norm.weight",
|
||||
"generator.resblocks.2.adain1.1.norm.bias",
|
||||
"generator.resblocks.2.adain1.2.norm.weight",
|
||||
"generator.resblocks.2.adain1.2.norm.bias",
|
||||
"generator.resblocks.2.adain2.0.norm.weight",
|
||||
"generator.resblocks.2.adain2.0.norm.bias",
|
||||
"generator.resblocks.2.adain2.1.norm.weight",
|
||||
"generator.resblocks.2.adain2.1.norm.bias",
|
||||
"generator.resblocks.2.adain2.2.norm.weight",
|
||||
"generator.resblocks.2.adain2.2.norm.bias",
|
||||
"generator.resblocks.3.adain1.0.norm.weight",
|
||||
"generator.resblocks.3.adain1.0.norm.bias",
|
||||
"generator.resblocks.3.adain1.1.norm.weight",
|
||||
"generator.resblocks.3.adain1.1.norm.bias",
|
||||
"generator.resblocks.3.adain1.2.norm.weight",
|
||||
"generator.resblocks.3.adain1.2.norm.bias",
|
||||
"generator.resblocks.3.adain2.0.norm.weight",
|
||||
"generator.resblocks.3.adain2.0.norm.bias",
|
||||
"generator.resblocks.3.adain2.1.norm.weight",
|
||||
"generator.resblocks.3.adain2.1.norm.bias",
|
||||
"generator.resblocks.3.adain2.2.norm.weight",
|
||||
"generator.resblocks.3.adain2.2.norm.bias",
|
||||
"generator.resblocks.4.adain1.0.norm.weight",
|
||||
"generator.resblocks.4.adain1.0.norm.bias",
|
||||
"generator.resblocks.4.adain1.1.norm.weight",
|
||||
"generator.resblocks.4.adain1.1.norm.bias",
|
||||
"generator.resblocks.4.adain1.2.norm.weight",
|
||||
"generator.resblocks.4.adain1.2.norm.bias",
|
||||
"generator.resblocks.4.adain2.0.norm.weight",
|
||||
"generator.resblocks.4.adain2.0.norm.bias",
|
||||
"generator.resblocks.4.adain2.1.norm.weight",
|
||||
"generator.resblocks.4.adain2.1.norm.bias",
|
||||
"generator.resblocks.4.adain2.2.norm.weight",
|
||||
"generator.resblocks.4.adain2.2.norm.bias",
|
||||
"generator.resblocks.5.adain1.0.norm.weight",
|
||||
"generator.resblocks.5.adain1.0.norm.bias",
|
||||
"generator.resblocks.5.adain1.1.norm.weight",
|
||||
"generator.resblocks.5.adain1.1.norm.bias",
|
||||
"generator.resblocks.5.adain1.2.norm.weight",
|
||||
"generator.resblocks.5.adain1.2.norm.bias",
|
||||
"generator.resblocks.5.adain2.0.norm.weight",
|
||||
"generator.resblocks.5.adain2.0.norm.bias",
|
||||
"generator.resblocks.5.adain2.1.norm.weight",
|
||||
"generator.resblocks.5.adain2.1.norm.bias",
|
||||
"generator.resblocks.5.adain2.2.norm.weight",
|
||||
"generator.resblocks.5.adain2.2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"identity_affine_keys": []
|
||||
}
|
||||
],
|
||||
"runs": [
|
||||
{
|
||||
"text": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"duration_seconds": 16.45,
|
||||
"generation_seconds": 5.074739406001754,
|
||||
"rtf": 0.30849479671743185,
|
||||
"realtime_multiple": 3.2415457590876566,
|
||||
"phonemes": [
|
||||
"vˌɛn duː mˈɑːkst, ɛɾʦˈɛːlə ɪç diːɾ ˌInə kˈʊɐʦə ɡəʃˈɪçtə. ˈanɑː ˈœfnətə das fˈɛnstɜ ʊnt hˈœɾtə dɾˈI vˈøːɡəl zˈɪŋən. Wf deːm tˈɪʃ lˈɑːɡən zˈiːbən bˈyːçɜ ʊnt ˌInə rˈoːtə tˈasə. ʦʊm ʃlˈʊs zˈɑːɡtə ziː: das hat vˈʊndɜbˌɑːɾ fʊŋkʦjˌoːnˈiːɾt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.5309355854988098,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1242828,
|
||||
"file": "anna-baseline-story.wav",
|
||||
"sha256": "8aa348e69e5de63a62989fbc6b0755b9dcaf1bbe7ccd47db6d7429d44cd4e6e1",
|
||||
"case": "story"
|
||||
},
|
||||
{
|
||||
"text": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"duration_seconds": 16.125,
|
||||
"generation_seconds": 5.089496303990018,
|
||||
"rtf": 0.3156276777668228,
|
||||
"realtime_multiple": 3.168289951867824,
|
||||
"phonemes": [
|
||||
"ɡˈuːtən mˈɔɾɡən, mˈɪçaˌeːl. ʃˈøːn, das duː vˈiːdɜ dɑː bɪst! dɾˈWsən rˈWʃt dɛɾ rˈeːɡən, ʊnt diː vˈøːɡəl zˈuːxən ʃˈʊʦ ˌʊntɜ deːm dˈax. vˈɪɾklɪç? das hˌɛtə ɪç nˈɪçt ɡədˈaxt. hˈɔøtə nˈeːmən viːɾ ʊns In vˈeːnɪç ʦˈIt ʊnt mˈaxən ˈaləs ɡˌanʦ ɪn rˈuːə."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.6178359389305115,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1280924,
|
||||
"file": "anna-baseline-expressive.wav",
|
||||
"sha256": "d8ed7631e93519e40f15cc7193562e877ef39f7f8c5d1fad5ed8f5c990b67b01",
|
||||
"case": "expressive"
|
||||
}
|
||||
],
|
||||
"warmup": {
|
||||
"text": "Die Stimme ist bereit.",
|
||||
"duration_seconds": 2.225,
|
||||
"generation_seconds": 0.6164798969984986,
|
||||
"rtf": 0.2770696166285387,
|
||||
"realtime_multiple": 3.6092012259167294,
|
||||
"phonemes": [
|
||||
"diː ʃtˈɪmə ɪst bərˈIt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.43249526619911194,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1041288
|
||||
},
|
||||
"complete": true,
|
||||
"preservation": {
|
||||
"files_equal": true,
|
||||
"cpu_tts_pids_equal": true,
|
||||
"deck_start_equal": true
|
||||
},
|
||||
"weighted_rtf": 0.3120256549498625
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"arm": "extra10",
|
||||
"device": "cpu",
|
||||
"threads": 4,
|
||||
"model_load_seconds": 0.8885231470048893,
|
||||
"model_sha256": "10a04396a2cd79fcf6c65f291f86f9d288470729b2ee249ca269a6b14a58d3f3",
|
||||
"voice_sha256": "8353f828f92d6c71c67341282ee00a1a51a8f955e4f5d036d4cebcda0e51a837",
|
||||
"parameters": 81810022,
|
||||
"strict_components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"identity_affine_keys": [
|
||||
"F0.0.norm1.norm.weight",
|
||||
"F0.0.norm1.norm.bias",
|
||||
"F0.0.norm2.norm.weight",
|
||||
"F0.0.norm2.norm.bias",
|
||||
"F0.1.norm1.norm.weight",
|
||||
"F0.1.norm1.norm.bias",
|
||||
"F0.1.norm2.norm.weight",
|
||||
"F0.1.norm2.norm.bias",
|
||||
"F0.2.norm1.norm.weight",
|
||||
"F0.2.norm1.norm.bias",
|
||||
"F0.2.norm2.norm.weight",
|
||||
"F0.2.norm2.norm.bias",
|
||||
"N.0.norm1.norm.weight",
|
||||
"N.0.norm1.norm.bias",
|
||||
"N.0.norm2.norm.weight",
|
||||
"N.0.norm2.norm.bias",
|
||||
"N.1.norm1.norm.weight",
|
||||
"N.1.norm1.norm.bias",
|
||||
"N.1.norm2.norm.weight",
|
||||
"N.1.norm2.norm.bias",
|
||||
"N.2.norm1.norm.weight",
|
||||
"N.2.norm1.norm.bias",
|
||||
"N.2.norm2.norm.weight",
|
||||
"N.2.norm2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"identity_affine_keys": [
|
||||
"encode.norm1.norm.weight",
|
||||
"encode.norm1.norm.bias",
|
||||
"encode.norm2.norm.weight",
|
||||
"encode.norm2.norm.bias",
|
||||
"decode.0.norm1.norm.weight",
|
||||
"decode.0.norm1.norm.bias",
|
||||
"decode.0.norm2.norm.weight",
|
||||
"decode.0.norm2.norm.bias",
|
||||
"decode.1.norm1.norm.weight",
|
||||
"decode.1.norm1.norm.bias",
|
||||
"decode.1.norm2.norm.weight",
|
||||
"decode.1.norm2.norm.bias",
|
||||
"decode.2.norm1.norm.weight",
|
||||
"decode.2.norm1.norm.bias",
|
||||
"decode.2.norm2.norm.weight",
|
||||
"decode.2.norm2.norm.bias",
|
||||
"decode.3.norm1.norm.weight",
|
||||
"decode.3.norm1.norm.bias",
|
||||
"decode.3.norm2.norm.weight",
|
||||
"decode.3.norm2.norm.bias",
|
||||
"generator.noise_res.0.adain1.0.norm.weight",
|
||||
"generator.noise_res.0.adain1.0.norm.bias",
|
||||
"generator.noise_res.0.adain1.1.norm.weight",
|
||||
"generator.noise_res.0.adain1.1.norm.bias",
|
||||
"generator.noise_res.0.adain1.2.norm.weight",
|
||||
"generator.noise_res.0.adain1.2.norm.bias",
|
||||
"generator.noise_res.0.adain2.0.norm.weight",
|
||||
"generator.noise_res.0.adain2.0.norm.bias",
|
||||
"generator.noise_res.0.adain2.1.norm.weight",
|
||||
"generator.noise_res.0.adain2.1.norm.bias",
|
||||
"generator.noise_res.0.adain2.2.norm.weight",
|
||||
"generator.noise_res.0.adain2.2.norm.bias",
|
||||
"generator.noise_res.1.adain1.0.norm.weight",
|
||||
"generator.noise_res.1.adain1.0.norm.bias",
|
||||
"generator.noise_res.1.adain1.1.norm.weight",
|
||||
"generator.noise_res.1.adain1.1.norm.bias",
|
||||
"generator.noise_res.1.adain1.2.norm.weight",
|
||||
"generator.noise_res.1.adain1.2.norm.bias",
|
||||
"generator.noise_res.1.adain2.0.norm.weight",
|
||||
"generator.noise_res.1.adain2.0.norm.bias",
|
||||
"generator.noise_res.1.adain2.1.norm.weight",
|
||||
"generator.noise_res.1.adain2.1.norm.bias",
|
||||
"generator.noise_res.1.adain2.2.norm.weight",
|
||||
"generator.noise_res.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.0.adain1.0.norm.weight",
|
||||
"generator.resblocks.0.adain1.0.norm.bias",
|
||||
"generator.resblocks.0.adain1.1.norm.weight",
|
||||
"generator.resblocks.0.adain1.1.norm.bias",
|
||||
"generator.resblocks.0.adain1.2.norm.weight",
|
||||
"generator.resblocks.0.adain1.2.norm.bias",
|
||||
"generator.resblocks.0.adain2.0.norm.weight",
|
||||
"generator.resblocks.0.adain2.0.norm.bias",
|
||||
"generator.resblocks.0.adain2.1.norm.weight",
|
||||
"generator.resblocks.0.adain2.1.norm.bias",
|
||||
"generator.resblocks.0.adain2.2.norm.weight",
|
||||
"generator.resblocks.0.adain2.2.norm.bias",
|
||||
"generator.resblocks.1.adain1.0.norm.weight",
|
||||
"generator.resblocks.1.adain1.0.norm.bias",
|
||||
"generator.resblocks.1.adain1.1.norm.weight",
|
||||
"generator.resblocks.1.adain1.1.norm.bias",
|
||||
"generator.resblocks.1.adain1.2.norm.weight",
|
||||
"generator.resblocks.1.adain1.2.norm.bias",
|
||||
"generator.resblocks.1.adain2.0.norm.weight",
|
||||
"generator.resblocks.1.adain2.0.norm.bias",
|
||||
"generator.resblocks.1.adain2.1.norm.weight",
|
||||
"generator.resblocks.1.adain2.1.norm.bias",
|
||||
"generator.resblocks.1.adain2.2.norm.weight",
|
||||
"generator.resblocks.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.2.adain1.0.norm.weight",
|
||||
"generator.resblocks.2.adain1.0.norm.bias",
|
||||
"generator.resblocks.2.adain1.1.norm.weight",
|
||||
"generator.resblocks.2.adain1.1.norm.bias",
|
||||
"generator.resblocks.2.adain1.2.norm.weight",
|
||||
"generator.resblocks.2.adain1.2.norm.bias",
|
||||
"generator.resblocks.2.adain2.0.norm.weight",
|
||||
"generator.resblocks.2.adain2.0.norm.bias",
|
||||
"generator.resblocks.2.adain2.1.norm.weight",
|
||||
"generator.resblocks.2.adain2.1.norm.bias",
|
||||
"generator.resblocks.2.adain2.2.norm.weight",
|
||||
"generator.resblocks.2.adain2.2.norm.bias",
|
||||
"generator.resblocks.3.adain1.0.norm.weight",
|
||||
"generator.resblocks.3.adain1.0.norm.bias",
|
||||
"generator.resblocks.3.adain1.1.norm.weight",
|
||||
"generator.resblocks.3.adain1.1.norm.bias",
|
||||
"generator.resblocks.3.adain1.2.norm.weight",
|
||||
"generator.resblocks.3.adain1.2.norm.bias",
|
||||
"generator.resblocks.3.adain2.0.norm.weight",
|
||||
"generator.resblocks.3.adain2.0.norm.bias",
|
||||
"generator.resblocks.3.adain2.1.norm.weight",
|
||||
"generator.resblocks.3.adain2.1.norm.bias",
|
||||
"generator.resblocks.3.adain2.2.norm.weight",
|
||||
"generator.resblocks.3.adain2.2.norm.bias",
|
||||
"generator.resblocks.4.adain1.0.norm.weight",
|
||||
"generator.resblocks.4.adain1.0.norm.bias",
|
||||
"generator.resblocks.4.adain1.1.norm.weight",
|
||||
"generator.resblocks.4.adain1.1.norm.bias",
|
||||
"generator.resblocks.4.adain1.2.norm.weight",
|
||||
"generator.resblocks.4.adain1.2.norm.bias",
|
||||
"generator.resblocks.4.adain2.0.norm.weight",
|
||||
"generator.resblocks.4.adain2.0.norm.bias",
|
||||
"generator.resblocks.4.adain2.1.norm.weight",
|
||||
"generator.resblocks.4.adain2.1.norm.bias",
|
||||
"generator.resblocks.4.adain2.2.norm.weight",
|
||||
"generator.resblocks.4.adain2.2.norm.bias",
|
||||
"generator.resblocks.5.adain1.0.norm.weight",
|
||||
"generator.resblocks.5.adain1.0.norm.bias",
|
||||
"generator.resblocks.5.adain1.1.norm.weight",
|
||||
"generator.resblocks.5.adain1.1.norm.bias",
|
||||
"generator.resblocks.5.adain1.2.norm.weight",
|
||||
"generator.resblocks.5.adain1.2.norm.bias",
|
||||
"generator.resblocks.5.adain2.0.norm.weight",
|
||||
"generator.resblocks.5.adain2.0.norm.bias",
|
||||
"generator.resblocks.5.adain2.1.norm.weight",
|
||||
"generator.resblocks.5.adain2.1.norm.bias",
|
||||
"generator.resblocks.5.adain2.2.norm.weight",
|
||||
"generator.resblocks.5.adain2.2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"identity_affine_keys": []
|
||||
}
|
||||
],
|
||||
"runs": [
|
||||
{
|
||||
"text": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"duration_seconds": 16.25,
|
||||
"generation_seconds": 5.428162858996075,
|
||||
"rtf": 0.3340407913228354,
|
||||
"realtime_multiple": 2.9936463628884926,
|
||||
"phonemes": [
|
||||
"vˌɛn duː mˈɑːkst, ɛɾʦˈɛːlə ɪç diːɾ ˌInə kˈʊɐʦə ɡəʃˈɪçtə. ˈanɑː ˈœfnətə das fˈɛnstɜ ʊnt hˈœɾtə dɾˈI vˈøːɡəl zˈɪŋən. Wf deːm tˈɪʃ lˈɑːɡən zˈiːbən bˈyːçɜ ʊnt ˌInə rˈoːtə tˈasə. ʦʊm ʃlˈʊs zˈɑːɡtə ziː: das hat vˈʊndɜbˌɑːɾ fʊŋkʦjˌoːnˈiːɾt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.6360257863998413,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1239708,
|
||||
"file": "anna-extra10-story.wav",
|
||||
"sha256": "2c3b99db060f78367bb9b3154cd7240efcb5a9968cc661ce5e73bf4a3d052d4c",
|
||||
"case": "story"
|
||||
},
|
||||
{
|
||||
"text": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"duration_seconds": 16.175,
|
||||
"generation_seconds": 5.249826907995157,
|
||||
"rtf": 0.3245642601542601,
|
||||
"realtime_multiple": 3.08105396301095,
|
||||
"phonemes": [
|
||||
"ɡˈuːtən mˈɔɾɡən, mˈɪçaˌeːl. ʃˈøːn, das duː vˈiːdɜ dɑː bɪst! dɾˈWsən rˈWʃt dɛɾ rˈeːɡən, ʊnt diː vˈøːɡəl zˈuːxən ʃˈʊʦ ˌʊntɜ deːm dˈax. vˈɪɾklɪç? das hˌɛtə ɪç nˈɪçt ɡədˈaxt. hˈɔøtə nˈeːmən viːɾ ʊns In vˈeːnɪç ʦˈIt ʊnt mˈaxən ˈaləs ɡˌanʦ ɪn rˈuːə."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.720389723777771,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1281248,
|
||||
"file": "anna-extra10-expressive.wav",
|
||||
"sha256": "95cd3e66b93c837e8a922e44bb66c056eed713d30ba559fff19bc00bc7046ae8",
|
||||
"case": "expressive"
|
||||
}
|
||||
],
|
||||
"warmup": {
|
||||
"text": "Die Stimme ist bereit.",
|
||||
"duration_seconds": 2.225,
|
||||
"generation_seconds": 0.7871658880030736,
|
||||
"rtf": 0.3537824215744151,
|
||||
"realtime_multiple": 2.826596063054135,
|
||||
"phonemes": [
|
||||
"diː ʃtˈɪmə ɪst bərˈIt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.5431588292121887,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1040920
|
||||
},
|
||||
"complete": true,
|
||||
"preservation": {
|
||||
"files_equal": true,
|
||||
"cpu_tts_pids_equal": true,
|
||||
"deck_start_equal": true
|
||||
},
|
||||
"weighted_rtf": 0.329313485489321
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"arm": "extra20",
|
||||
"device": "cpu",
|
||||
"threads": 4,
|
||||
"model_load_seconds": 0.783004910001182,
|
||||
"model_sha256": "7668ac570e3ae705362e199f0eb221a811275f0c80fffbd47a402c3ef3463275",
|
||||
"voice_sha256": "6568568a8b382684e3cad40730d680bc8492e63534ca3f99ac8fbaf5641cd991",
|
||||
"parameters": 81810022,
|
||||
"strict_components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"identity_affine_keys": [
|
||||
"F0.0.norm1.norm.weight",
|
||||
"F0.0.norm1.norm.bias",
|
||||
"F0.0.norm2.norm.weight",
|
||||
"F0.0.norm2.norm.bias",
|
||||
"F0.1.norm1.norm.weight",
|
||||
"F0.1.norm1.norm.bias",
|
||||
"F0.1.norm2.norm.weight",
|
||||
"F0.1.norm2.norm.bias",
|
||||
"F0.2.norm1.norm.weight",
|
||||
"F0.2.norm1.norm.bias",
|
||||
"F0.2.norm2.norm.weight",
|
||||
"F0.2.norm2.norm.bias",
|
||||
"N.0.norm1.norm.weight",
|
||||
"N.0.norm1.norm.bias",
|
||||
"N.0.norm2.norm.weight",
|
||||
"N.0.norm2.norm.bias",
|
||||
"N.1.norm1.norm.weight",
|
||||
"N.1.norm1.norm.bias",
|
||||
"N.1.norm2.norm.weight",
|
||||
"N.1.norm2.norm.bias",
|
||||
"N.2.norm1.norm.weight",
|
||||
"N.2.norm1.norm.bias",
|
||||
"N.2.norm2.norm.weight",
|
||||
"N.2.norm2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"identity_affine_keys": [
|
||||
"encode.norm1.norm.weight",
|
||||
"encode.norm1.norm.bias",
|
||||
"encode.norm2.norm.weight",
|
||||
"encode.norm2.norm.bias",
|
||||
"decode.0.norm1.norm.weight",
|
||||
"decode.0.norm1.norm.bias",
|
||||
"decode.0.norm2.norm.weight",
|
||||
"decode.0.norm2.norm.bias",
|
||||
"decode.1.norm1.norm.weight",
|
||||
"decode.1.norm1.norm.bias",
|
||||
"decode.1.norm2.norm.weight",
|
||||
"decode.1.norm2.norm.bias",
|
||||
"decode.2.norm1.norm.weight",
|
||||
"decode.2.norm1.norm.bias",
|
||||
"decode.2.norm2.norm.weight",
|
||||
"decode.2.norm2.norm.bias",
|
||||
"decode.3.norm1.norm.weight",
|
||||
"decode.3.norm1.norm.bias",
|
||||
"decode.3.norm2.norm.weight",
|
||||
"decode.3.norm2.norm.bias",
|
||||
"generator.noise_res.0.adain1.0.norm.weight",
|
||||
"generator.noise_res.0.adain1.0.norm.bias",
|
||||
"generator.noise_res.0.adain1.1.norm.weight",
|
||||
"generator.noise_res.0.adain1.1.norm.bias",
|
||||
"generator.noise_res.0.adain1.2.norm.weight",
|
||||
"generator.noise_res.0.adain1.2.norm.bias",
|
||||
"generator.noise_res.0.adain2.0.norm.weight",
|
||||
"generator.noise_res.0.adain2.0.norm.bias",
|
||||
"generator.noise_res.0.adain2.1.norm.weight",
|
||||
"generator.noise_res.0.adain2.1.norm.bias",
|
||||
"generator.noise_res.0.adain2.2.norm.weight",
|
||||
"generator.noise_res.0.adain2.2.norm.bias",
|
||||
"generator.noise_res.1.adain1.0.norm.weight",
|
||||
"generator.noise_res.1.adain1.0.norm.bias",
|
||||
"generator.noise_res.1.adain1.1.norm.weight",
|
||||
"generator.noise_res.1.adain1.1.norm.bias",
|
||||
"generator.noise_res.1.adain1.2.norm.weight",
|
||||
"generator.noise_res.1.adain1.2.norm.bias",
|
||||
"generator.noise_res.1.adain2.0.norm.weight",
|
||||
"generator.noise_res.1.adain2.0.norm.bias",
|
||||
"generator.noise_res.1.adain2.1.norm.weight",
|
||||
"generator.noise_res.1.adain2.1.norm.bias",
|
||||
"generator.noise_res.1.adain2.2.norm.weight",
|
||||
"generator.noise_res.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.0.adain1.0.norm.weight",
|
||||
"generator.resblocks.0.adain1.0.norm.bias",
|
||||
"generator.resblocks.0.adain1.1.norm.weight",
|
||||
"generator.resblocks.0.adain1.1.norm.bias",
|
||||
"generator.resblocks.0.adain1.2.norm.weight",
|
||||
"generator.resblocks.0.adain1.2.norm.bias",
|
||||
"generator.resblocks.0.adain2.0.norm.weight",
|
||||
"generator.resblocks.0.adain2.0.norm.bias",
|
||||
"generator.resblocks.0.adain2.1.norm.weight",
|
||||
"generator.resblocks.0.adain2.1.norm.bias",
|
||||
"generator.resblocks.0.adain2.2.norm.weight",
|
||||
"generator.resblocks.0.adain2.2.norm.bias",
|
||||
"generator.resblocks.1.adain1.0.norm.weight",
|
||||
"generator.resblocks.1.adain1.0.norm.bias",
|
||||
"generator.resblocks.1.adain1.1.norm.weight",
|
||||
"generator.resblocks.1.adain1.1.norm.bias",
|
||||
"generator.resblocks.1.adain1.2.norm.weight",
|
||||
"generator.resblocks.1.adain1.2.norm.bias",
|
||||
"generator.resblocks.1.adain2.0.norm.weight",
|
||||
"generator.resblocks.1.adain2.0.norm.bias",
|
||||
"generator.resblocks.1.adain2.1.norm.weight",
|
||||
"generator.resblocks.1.adain2.1.norm.bias",
|
||||
"generator.resblocks.1.adain2.2.norm.weight",
|
||||
"generator.resblocks.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.2.adain1.0.norm.weight",
|
||||
"generator.resblocks.2.adain1.0.norm.bias",
|
||||
"generator.resblocks.2.adain1.1.norm.weight",
|
||||
"generator.resblocks.2.adain1.1.norm.bias",
|
||||
"generator.resblocks.2.adain1.2.norm.weight",
|
||||
"generator.resblocks.2.adain1.2.norm.bias",
|
||||
"generator.resblocks.2.adain2.0.norm.weight",
|
||||
"generator.resblocks.2.adain2.0.norm.bias",
|
||||
"generator.resblocks.2.adain2.1.norm.weight",
|
||||
"generator.resblocks.2.adain2.1.norm.bias",
|
||||
"generator.resblocks.2.adain2.2.norm.weight",
|
||||
"generator.resblocks.2.adain2.2.norm.bias",
|
||||
"generator.resblocks.3.adain1.0.norm.weight",
|
||||
"generator.resblocks.3.adain1.0.norm.bias",
|
||||
"generator.resblocks.3.adain1.1.norm.weight",
|
||||
"generator.resblocks.3.adain1.1.norm.bias",
|
||||
"generator.resblocks.3.adain1.2.norm.weight",
|
||||
"generator.resblocks.3.adain1.2.norm.bias",
|
||||
"generator.resblocks.3.adain2.0.norm.weight",
|
||||
"generator.resblocks.3.adain2.0.norm.bias",
|
||||
"generator.resblocks.3.adain2.1.norm.weight",
|
||||
"generator.resblocks.3.adain2.1.norm.bias",
|
||||
"generator.resblocks.3.adain2.2.norm.weight",
|
||||
"generator.resblocks.3.adain2.2.norm.bias",
|
||||
"generator.resblocks.4.adain1.0.norm.weight",
|
||||
"generator.resblocks.4.adain1.0.norm.bias",
|
||||
"generator.resblocks.4.adain1.1.norm.weight",
|
||||
"generator.resblocks.4.adain1.1.norm.bias",
|
||||
"generator.resblocks.4.adain1.2.norm.weight",
|
||||
"generator.resblocks.4.adain1.2.norm.bias",
|
||||
"generator.resblocks.4.adain2.0.norm.weight",
|
||||
"generator.resblocks.4.adain2.0.norm.bias",
|
||||
"generator.resblocks.4.adain2.1.norm.weight",
|
||||
"generator.resblocks.4.adain2.1.norm.bias",
|
||||
"generator.resblocks.4.adain2.2.norm.weight",
|
||||
"generator.resblocks.4.adain2.2.norm.bias",
|
||||
"generator.resblocks.5.adain1.0.norm.weight",
|
||||
"generator.resblocks.5.adain1.0.norm.bias",
|
||||
"generator.resblocks.5.adain1.1.norm.weight",
|
||||
"generator.resblocks.5.adain1.1.norm.bias",
|
||||
"generator.resblocks.5.adain1.2.norm.weight",
|
||||
"generator.resblocks.5.adain1.2.norm.bias",
|
||||
"generator.resblocks.5.adain2.0.norm.weight",
|
||||
"generator.resblocks.5.adain2.0.norm.bias",
|
||||
"generator.resblocks.5.adain2.1.norm.weight",
|
||||
"generator.resblocks.5.adain2.1.norm.bias",
|
||||
"generator.resblocks.5.adain2.2.norm.weight",
|
||||
"generator.resblocks.5.adain2.2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"identity_affine_keys": []
|
||||
}
|
||||
],
|
||||
"runs": [
|
||||
{
|
||||
"text": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"duration_seconds": 16.3,
|
||||
"generation_seconds": 5.20643619299517,
|
||||
"rtf": 0.31941326337393683,
|
||||
"realtime_multiple": 3.130740375139967,
|
||||
"phonemes": [
|
||||
"vˌɛn duː mˈɑːkst, ɛɾʦˈɛːlə ɪç diːɾ ˌInə kˈʊɐʦə ɡəʃˈɪçtə. ˈanɑː ˈœfnətə das fˈɛnstɜ ʊnt hˈœɾtə dɾˈI vˈøːɡəl zˈɪŋən. Wf deːm tˈɪʃ lˈɑːɡən zˈiːbən bˈyːçɜ ʊnt ˌInə rˈoːtə tˈasə. ʦʊm ʃlˈʊs zˈɑːɡtə ziː: das hat vˈʊndɜbˌɑːɾ fʊŋkʦjˌoːnˈiːɾt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.6388594508171082,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1242692,
|
||||
"file": "anna-extra20-story.wav",
|
||||
"sha256": "8a5900e4f0d5a6e8f9631af1c99bd2496beafce8cf3607f9f8df7da2be82e22e",
|
||||
"case": "story"
|
||||
},
|
||||
{
|
||||
"text": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"duration_seconds": 16.175,
|
||||
"generation_seconds": 5.377839553999365,
|
||||
"rtf": 0.33247848865529306,
|
||||
"realtime_multiple": 3.007713383336447,
|
||||
"phonemes": [
|
||||
"ɡˈuːtən mˈɔɾɡən, mˈɪçaˌeːl. ʃˈøːn, das duː vˈiːdɜ dɑː bɪst! dɾˈWsən rˈWʃt dɛɾ rˈeːɡən, ʊnt diː vˈøːɡəl zˈuːxən ʃˈʊʦ ˌʊntɜ deːm dˈax. vˈɪɾklɪç? das hˌɛtə ɪç nˈɪçt ɡədˈaxt. hˈɔøtə nˈeːmən viːɾ ʊns In vˈeːnɪç ʦˈIt ʊnt mˈaxən ˈaləs ɡˌanʦ ɪn rˈuːə."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.6751799583435059,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1296100,
|
||||
"file": "anna-extra20-expressive.wav",
|
||||
"sha256": "63b2367d761301e7ed7b24c1bb92eccd39efa715a4a176b42a4985a505574cec",
|
||||
"case": "expressive"
|
||||
}
|
||||
],
|
||||
"warmup": {
|
||||
"text": "Die Stimme ist bereit.",
|
||||
"duration_seconds": 2.325,
|
||||
"generation_seconds": 0.5870654129976174,
|
||||
"rtf": 0.252501252902201,
|
||||
"realtime_multiple": 3.960376388260223,
|
||||
"phonemes": [
|
||||
"diː ʃtˈɪmə ɪst bərˈIt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.5241984128952026,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1042976
|
||||
},
|
||||
"complete": true,
|
||||
"preservation": {
|
||||
"files_equal": true,
|
||||
"cpu_tts_pids_equal": true,
|
||||
"deck_start_equal": true
|
||||
},
|
||||
"weighted_rtf": 0.32592073123924664
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"arm": "full20",
|
||||
"device": "cpu",
|
||||
"threads": 4,
|
||||
"model_load_seconds": 0.7639714340039063,
|
||||
"model_sha256": "7668ac570e3ae705362e199f0eb221a811275f0c80fffbd47a402c3ef3463275",
|
||||
"voice_sha256": "fd6cad07fcdeb1008e7397a0eff0c183879b385d3ac4206e516283b386c9afa0",
|
||||
"parameters": 81810022,
|
||||
"strict_components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"identity_affine_keys": [
|
||||
"F0.0.norm1.norm.weight",
|
||||
"F0.0.norm1.norm.bias",
|
||||
"F0.0.norm2.norm.weight",
|
||||
"F0.0.norm2.norm.bias",
|
||||
"F0.1.norm1.norm.weight",
|
||||
"F0.1.norm1.norm.bias",
|
||||
"F0.1.norm2.norm.weight",
|
||||
"F0.1.norm2.norm.bias",
|
||||
"F0.2.norm1.norm.weight",
|
||||
"F0.2.norm1.norm.bias",
|
||||
"F0.2.norm2.norm.weight",
|
||||
"F0.2.norm2.norm.bias",
|
||||
"N.0.norm1.norm.weight",
|
||||
"N.0.norm1.norm.bias",
|
||||
"N.0.norm2.norm.weight",
|
||||
"N.0.norm2.norm.bias",
|
||||
"N.1.norm1.norm.weight",
|
||||
"N.1.norm1.norm.bias",
|
||||
"N.1.norm2.norm.weight",
|
||||
"N.1.norm2.norm.bias",
|
||||
"N.2.norm1.norm.weight",
|
||||
"N.2.norm1.norm.bias",
|
||||
"N.2.norm2.norm.weight",
|
||||
"N.2.norm2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"identity_affine_keys": [
|
||||
"encode.norm1.norm.weight",
|
||||
"encode.norm1.norm.bias",
|
||||
"encode.norm2.norm.weight",
|
||||
"encode.norm2.norm.bias",
|
||||
"decode.0.norm1.norm.weight",
|
||||
"decode.0.norm1.norm.bias",
|
||||
"decode.0.norm2.norm.weight",
|
||||
"decode.0.norm2.norm.bias",
|
||||
"decode.1.norm1.norm.weight",
|
||||
"decode.1.norm1.norm.bias",
|
||||
"decode.1.norm2.norm.weight",
|
||||
"decode.1.norm2.norm.bias",
|
||||
"decode.2.norm1.norm.weight",
|
||||
"decode.2.norm1.norm.bias",
|
||||
"decode.2.norm2.norm.weight",
|
||||
"decode.2.norm2.norm.bias",
|
||||
"decode.3.norm1.norm.weight",
|
||||
"decode.3.norm1.norm.bias",
|
||||
"decode.3.norm2.norm.weight",
|
||||
"decode.3.norm2.norm.bias",
|
||||
"generator.noise_res.0.adain1.0.norm.weight",
|
||||
"generator.noise_res.0.adain1.0.norm.bias",
|
||||
"generator.noise_res.0.adain1.1.norm.weight",
|
||||
"generator.noise_res.0.adain1.1.norm.bias",
|
||||
"generator.noise_res.0.adain1.2.norm.weight",
|
||||
"generator.noise_res.0.adain1.2.norm.bias",
|
||||
"generator.noise_res.0.adain2.0.norm.weight",
|
||||
"generator.noise_res.0.adain2.0.norm.bias",
|
||||
"generator.noise_res.0.adain2.1.norm.weight",
|
||||
"generator.noise_res.0.adain2.1.norm.bias",
|
||||
"generator.noise_res.0.adain2.2.norm.weight",
|
||||
"generator.noise_res.0.adain2.2.norm.bias",
|
||||
"generator.noise_res.1.adain1.0.norm.weight",
|
||||
"generator.noise_res.1.adain1.0.norm.bias",
|
||||
"generator.noise_res.1.adain1.1.norm.weight",
|
||||
"generator.noise_res.1.adain1.1.norm.bias",
|
||||
"generator.noise_res.1.adain1.2.norm.weight",
|
||||
"generator.noise_res.1.adain1.2.norm.bias",
|
||||
"generator.noise_res.1.adain2.0.norm.weight",
|
||||
"generator.noise_res.1.adain2.0.norm.bias",
|
||||
"generator.noise_res.1.adain2.1.norm.weight",
|
||||
"generator.noise_res.1.adain2.1.norm.bias",
|
||||
"generator.noise_res.1.adain2.2.norm.weight",
|
||||
"generator.noise_res.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.0.adain1.0.norm.weight",
|
||||
"generator.resblocks.0.adain1.0.norm.bias",
|
||||
"generator.resblocks.0.adain1.1.norm.weight",
|
||||
"generator.resblocks.0.adain1.1.norm.bias",
|
||||
"generator.resblocks.0.adain1.2.norm.weight",
|
||||
"generator.resblocks.0.adain1.2.norm.bias",
|
||||
"generator.resblocks.0.adain2.0.norm.weight",
|
||||
"generator.resblocks.0.adain2.0.norm.bias",
|
||||
"generator.resblocks.0.adain2.1.norm.weight",
|
||||
"generator.resblocks.0.adain2.1.norm.bias",
|
||||
"generator.resblocks.0.adain2.2.norm.weight",
|
||||
"generator.resblocks.0.adain2.2.norm.bias",
|
||||
"generator.resblocks.1.adain1.0.norm.weight",
|
||||
"generator.resblocks.1.adain1.0.norm.bias",
|
||||
"generator.resblocks.1.adain1.1.norm.weight",
|
||||
"generator.resblocks.1.adain1.1.norm.bias",
|
||||
"generator.resblocks.1.adain1.2.norm.weight",
|
||||
"generator.resblocks.1.adain1.2.norm.bias",
|
||||
"generator.resblocks.1.adain2.0.norm.weight",
|
||||
"generator.resblocks.1.adain2.0.norm.bias",
|
||||
"generator.resblocks.1.adain2.1.norm.weight",
|
||||
"generator.resblocks.1.adain2.1.norm.bias",
|
||||
"generator.resblocks.1.adain2.2.norm.weight",
|
||||
"generator.resblocks.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.2.adain1.0.norm.weight",
|
||||
"generator.resblocks.2.adain1.0.norm.bias",
|
||||
"generator.resblocks.2.adain1.1.norm.weight",
|
||||
"generator.resblocks.2.adain1.1.norm.bias",
|
||||
"generator.resblocks.2.adain1.2.norm.weight",
|
||||
"generator.resblocks.2.adain1.2.norm.bias",
|
||||
"generator.resblocks.2.adain2.0.norm.weight",
|
||||
"generator.resblocks.2.adain2.0.norm.bias",
|
||||
"generator.resblocks.2.adain2.1.norm.weight",
|
||||
"generator.resblocks.2.adain2.1.norm.bias",
|
||||
"generator.resblocks.2.adain2.2.norm.weight",
|
||||
"generator.resblocks.2.adain2.2.norm.bias",
|
||||
"generator.resblocks.3.adain1.0.norm.weight",
|
||||
"generator.resblocks.3.adain1.0.norm.bias",
|
||||
"generator.resblocks.3.adain1.1.norm.weight",
|
||||
"generator.resblocks.3.adain1.1.norm.bias",
|
||||
"generator.resblocks.3.adain1.2.norm.weight",
|
||||
"generator.resblocks.3.adain1.2.norm.bias",
|
||||
"generator.resblocks.3.adain2.0.norm.weight",
|
||||
"generator.resblocks.3.adain2.0.norm.bias",
|
||||
"generator.resblocks.3.adain2.1.norm.weight",
|
||||
"generator.resblocks.3.adain2.1.norm.bias",
|
||||
"generator.resblocks.3.adain2.2.norm.weight",
|
||||
"generator.resblocks.3.adain2.2.norm.bias",
|
||||
"generator.resblocks.4.adain1.0.norm.weight",
|
||||
"generator.resblocks.4.adain1.0.norm.bias",
|
||||
"generator.resblocks.4.adain1.1.norm.weight",
|
||||
"generator.resblocks.4.adain1.1.norm.bias",
|
||||
"generator.resblocks.4.adain1.2.norm.weight",
|
||||
"generator.resblocks.4.adain1.2.norm.bias",
|
||||
"generator.resblocks.4.adain2.0.norm.weight",
|
||||
"generator.resblocks.4.adain2.0.norm.bias",
|
||||
"generator.resblocks.4.adain2.1.norm.weight",
|
||||
"generator.resblocks.4.adain2.1.norm.bias",
|
||||
"generator.resblocks.4.adain2.2.norm.weight",
|
||||
"generator.resblocks.4.adain2.2.norm.bias",
|
||||
"generator.resblocks.5.adain1.0.norm.weight",
|
||||
"generator.resblocks.5.adain1.0.norm.bias",
|
||||
"generator.resblocks.5.adain1.1.norm.weight",
|
||||
"generator.resblocks.5.adain1.1.norm.bias",
|
||||
"generator.resblocks.5.adain1.2.norm.weight",
|
||||
"generator.resblocks.5.adain1.2.norm.bias",
|
||||
"generator.resblocks.5.adain2.0.norm.weight",
|
||||
"generator.resblocks.5.adain2.0.norm.bias",
|
||||
"generator.resblocks.5.adain2.1.norm.weight",
|
||||
"generator.resblocks.5.adain2.1.norm.bias",
|
||||
"generator.resblocks.5.adain2.2.norm.weight",
|
||||
"generator.resblocks.5.adain2.2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"identity_affine_keys": []
|
||||
}
|
||||
],
|
||||
"runs": [
|
||||
{
|
||||
"text": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"duration_seconds": 15.725,
|
||||
"generation_seconds": 5.242209371004719,
|
||||
"rtf": 0.33336784553289156,
|
||||
"realtime_multiple": 2.9996894223601287,
|
||||
"phonemes": [
|
||||
"vˌɛn duː mˈɑːkst, ɛɾʦˈɛːlə ɪç diːɾ ˌInə kˈʊɐʦə ɡəʃˈɪçtə. ˈanɑː ˈœfnətə das fˈɛnstɜ ʊnt hˈœɾtə dɾˈI vˈøːɡəl zˈɪŋən. Wf deːm tˈɪʃ lˈɑːɡən zˈiːbən bˈyːçɜ ʊnt ˌInə rˈoːtə tˈasə. ʦʊm ʃlˈʊs zˈɑːɡtə ziː: das hat vˈʊndɜbˌɑːɾ fʊŋkʦjˌoːnˈiːɾt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.595427393913269,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1309484,
|
||||
"file": "anna-full20-story.wav",
|
||||
"sha256": "c4bdf45d04a5effd0c75235999aa964219dfb8b87fece944b8b663d1c70e20a2",
|
||||
"case": "story"
|
||||
},
|
||||
{
|
||||
"text": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"duration_seconds": 15.7,
|
||||
"generation_seconds": 5.286313714008429,
|
||||
"rtf": 0.3367078798731484,
|
||||
"realtime_multiple": 2.9699334639175685,
|
||||
"phonemes": [
|
||||
"ɡˈuːtən mˈɔɾɡən, mˈɪçaˌeːl. ʃˈøːn, das duː vˈiːdɜ dɑː bɪst! dɾˈWsən rˈWʃt dɛɾ rˈeːɡən, ʊnt diː vˈøːɡəl zˈuːxən ʃˈʊʦ ˌʊntɜ deːm dˈax. vˈɪɾklɪç? das hˌɛtə ɪç nˈɪçt ɡədˈaxt. hˈɔøtə nˈeːmən viːɾ ʊns In vˈeːnɪç ʦˈIt ʊnt mˈaxən ˈaləs ɡˌanʦ ɪn rˈuːə."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.6938080191612244,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1312568,
|
||||
"file": "anna-full20-expressive.wav",
|
||||
"sha256": "8138c9c9a265f6e05a4738ab72af49fab235332868d1b5fdf3522938d8acaa1a",
|
||||
"case": "expressive"
|
||||
}
|
||||
],
|
||||
"warmup": {
|
||||
"text": "Die Stimme ist bereit.",
|
||||
"duration_seconds": 2.275,
|
||||
"generation_seconds": 0.5828095689939801,
|
||||
"rtf": 0.2561800303270242,
|
||||
"realtime_multiple": 3.9035048856987773,
|
||||
"phonemes": [
|
||||
"diː ʃtˈɪmə ɪst bərˈIt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.4938804805278778,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1041316
|
||||
},
|
||||
"complete": true,
|
||||
"preservation": {
|
||||
"files_equal": true,
|
||||
"cpu_tts_pids_equal": true,
|
||||
"deck_start_equal": true
|
||||
},
|
||||
"weighted_rtf": 0.33503653412929674
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"arm": "mel20",
|
||||
"device": "cpu",
|
||||
"threads": 4,
|
||||
"model_load_seconds": 0.7697832389967516,
|
||||
"model_sha256": "7668ac570e3ae705362e199f0eb221a811275f0c80fffbd47a402c3ef3463275",
|
||||
"voice_sha256": "8eadda4f37cf3b87e6fbd769f065d1eb6c1f424f1101a4303bd4a6fbd27362a2",
|
||||
"parameters": 81810022,
|
||||
"strict_components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"identity_affine_keys": []
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"identity_affine_keys": [
|
||||
"F0.0.norm1.norm.weight",
|
||||
"F0.0.norm1.norm.bias",
|
||||
"F0.0.norm2.norm.weight",
|
||||
"F0.0.norm2.norm.bias",
|
||||
"F0.1.norm1.norm.weight",
|
||||
"F0.1.norm1.norm.bias",
|
||||
"F0.1.norm2.norm.weight",
|
||||
"F0.1.norm2.norm.bias",
|
||||
"F0.2.norm1.norm.weight",
|
||||
"F0.2.norm1.norm.bias",
|
||||
"F0.2.norm2.norm.weight",
|
||||
"F0.2.norm2.norm.bias",
|
||||
"N.0.norm1.norm.weight",
|
||||
"N.0.norm1.norm.bias",
|
||||
"N.0.norm2.norm.weight",
|
||||
"N.0.norm2.norm.bias",
|
||||
"N.1.norm1.norm.weight",
|
||||
"N.1.norm1.norm.bias",
|
||||
"N.1.norm2.norm.weight",
|
||||
"N.1.norm2.norm.bias",
|
||||
"N.2.norm1.norm.weight",
|
||||
"N.2.norm1.norm.bias",
|
||||
"N.2.norm2.norm.weight",
|
||||
"N.2.norm2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"identity_affine_keys": [
|
||||
"encode.norm1.norm.weight",
|
||||
"encode.norm1.norm.bias",
|
||||
"encode.norm2.norm.weight",
|
||||
"encode.norm2.norm.bias",
|
||||
"decode.0.norm1.norm.weight",
|
||||
"decode.0.norm1.norm.bias",
|
||||
"decode.0.norm2.norm.weight",
|
||||
"decode.0.norm2.norm.bias",
|
||||
"decode.1.norm1.norm.weight",
|
||||
"decode.1.norm1.norm.bias",
|
||||
"decode.1.norm2.norm.weight",
|
||||
"decode.1.norm2.norm.bias",
|
||||
"decode.2.norm1.norm.weight",
|
||||
"decode.2.norm1.norm.bias",
|
||||
"decode.2.norm2.norm.weight",
|
||||
"decode.2.norm2.norm.bias",
|
||||
"decode.3.norm1.norm.weight",
|
||||
"decode.3.norm1.norm.bias",
|
||||
"decode.3.norm2.norm.weight",
|
||||
"decode.3.norm2.norm.bias",
|
||||
"generator.noise_res.0.adain1.0.norm.weight",
|
||||
"generator.noise_res.0.adain1.0.norm.bias",
|
||||
"generator.noise_res.0.adain1.1.norm.weight",
|
||||
"generator.noise_res.0.adain1.1.norm.bias",
|
||||
"generator.noise_res.0.adain1.2.norm.weight",
|
||||
"generator.noise_res.0.adain1.2.norm.bias",
|
||||
"generator.noise_res.0.adain2.0.norm.weight",
|
||||
"generator.noise_res.0.adain2.0.norm.bias",
|
||||
"generator.noise_res.0.adain2.1.norm.weight",
|
||||
"generator.noise_res.0.adain2.1.norm.bias",
|
||||
"generator.noise_res.0.adain2.2.norm.weight",
|
||||
"generator.noise_res.0.adain2.2.norm.bias",
|
||||
"generator.noise_res.1.adain1.0.norm.weight",
|
||||
"generator.noise_res.1.adain1.0.norm.bias",
|
||||
"generator.noise_res.1.adain1.1.norm.weight",
|
||||
"generator.noise_res.1.adain1.1.norm.bias",
|
||||
"generator.noise_res.1.adain1.2.norm.weight",
|
||||
"generator.noise_res.1.adain1.2.norm.bias",
|
||||
"generator.noise_res.1.adain2.0.norm.weight",
|
||||
"generator.noise_res.1.adain2.0.norm.bias",
|
||||
"generator.noise_res.1.adain2.1.norm.weight",
|
||||
"generator.noise_res.1.adain2.1.norm.bias",
|
||||
"generator.noise_res.1.adain2.2.norm.weight",
|
||||
"generator.noise_res.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.0.adain1.0.norm.weight",
|
||||
"generator.resblocks.0.adain1.0.norm.bias",
|
||||
"generator.resblocks.0.adain1.1.norm.weight",
|
||||
"generator.resblocks.0.adain1.1.norm.bias",
|
||||
"generator.resblocks.0.adain1.2.norm.weight",
|
||||
"generator.resblocks.0.adain1.2.norm.bias",
|
||||
"generator.resblocks.0.adain2.0.norm.weight",
|
||||
"generator.resblocks.0.adain2.0.norm.bias",
|
||||
"generator.resblocks.0.adain2.1.norm.weight",
|
||||
"generator.resblocks.0.adain2.1.norm.bias",
|
||||
"generator.resblocks.0.adain2.2.norm.weight",
|
||||
"generator.resblocks.0.adain2.2.norm.bias",
|
||||
"generator.resblocks.1.adain1.0.norm.weight",
|
||||
"generator.resblocks.1.adain1.0.norm.bias",
|
||||
"generator.resblocks.1.adain1.1.norm.weight",
|
||||
"generator.resblocks.1.adain1.1.norm.bias",
|
||||
"generator.resblocks.1.adain1.2.norm.weight",
|
||||
"generator.resblocks.1.adain1.2.norm.bias",
|
||||
"generator.resblocks.1.adain2.0.norm.weight",
|
||||
"generator.resblocks.1.adain2.0.norm.bias",
|
||||
"generator.resblocks.1.adain2.1.norm.weight",
|
||||
"generator.resblocks.1.adain2.1.norm.bias",
|
||||
"generator.resblocks.1.adain2.2.norm.weight",
|
||||
"generator.resblocks.1.adain2.2.norm.bias",
|
||||
"generator.resblocks.2.adain1.0.norm.weight",
|
||||
"generator.resblocks.2.adain1.0.norm.bias",
|
||||
"generator.resblocks.2.adain1.1.norm.weight",
|
||||
"generator.resblocks.2.adain1.1.norm.bias",
|
||||
"generator.resblocks.2.adain1.2.norm.weight",
|
||||
"generator.resblocks.2.adain1.2.norm.bias",
|
||||
"generator.resblocks.2.adain2.0.norm.weight",
|
||||
"generator.resblocks.2.adain2.0.norm.bias",
|
||||
"generator.resblocks.2.adain2.1.norm.weight",
|
||||
"generator.resblocks.2.adain2.1.norm.bias",
|
||||
"generator.resblocks.2.adain2.2.norm.weight",
|
||||
"generator.resblocks.2.adain2.2.norm.bias",
|
||||
"generator.resblocks.3.adain1.0.norm.weight",
|
||||
"generator.resblocks.3.adain1.0.norm.bias",
|
||||
"generator.resblocks.3.adain1.1.norm.weight",
|
||||
"generator.resblocks.3.adain1.1.norm.bias",
|
||||
"generator.resblocks.3.adain1.2.norm.weight",
|
||||
"generator.resblocks.3.adain1.2.norm.bias",
|
||||
"generator.resblocks.3.adain2.0.norm.weight",
|
||||
"generator.resblocks.3.adain2.0.norm.bias",
|
||||
"generator.resblocks.3.adain2.1.norm.weight",
|
||||
"generator.resblocks.3.adain2.1.norm.bias",
|
||||
"generator.resblocks.3.adain2.2.norm.weight",
|
||||
"generator.resblocks.3.adain2.2.norm.bias",
|
||||
"generator.resblocks.4.adain1.0.norm.weight",
|
||||
"generator.resblocks.4.adain1.0.norm.bias",
|
||||
"generator.resblocks.4.adain1.1.norm.weight",
|
||||
"generator.resblocks.4.adain1.1.norm.bias",
|
||||
"generator.resblocks.4.adain1.2.norm.weight",
|
||||
"generator.resblocks.4.adain1.2.norm.bias",
|
||||
"generator.resblocks.4.adain2.0.norm.weight",
|
||||
"generator.resblocks.4.adain2.0.norm.bias",
|
||||
"generator.resblocks.4.adain2.1.norm.weight",
|
||||
"generator.resblocks.4.adain2.1.norm.bias",
|
||||
"generator.resblocks.4.adain2.2.norm.weight",
|
||||
"generator.resblocks.4.adain2.2.norm.bias",
|
||||
"generator.resblocks.5.adain1.0.norm.weight",
|
||||
"generator.resblocks.5.adain1.0.norm.bias",
|
||||
"generator.resblocks.5.adain1.1.norm.weight",
|
||||
"generator.resblocks.5.adain1.1.norm.bias",
|
||||
"generator.resblocks.5.adain1.2.norm.weight",
|
||||
"generator.resblocks.5.adain1.2.norm.bias",
|
||||
"generator.resblocks.5.adain2.0.norm.weight",
|
||||
"generator.resblocks.5.adain2.0.norm.bias",
|
||||
"generator.resblocks.5.adain2.1.norm.weight",
|
||||
"generator.resblocks.5.adain2.1.norm.bias",
|
||||
"generator.resblocks.5.adain2.2.norm.weight",
|
||||
"generator.resblocks.5.adain2.2.norm.bias"
|
||||
]
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"identity_affine_keys": []
|
||||
}
|
||||
],
|
||||
"runs": [
|
||||
{
|
||||
"text": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"duration_seconds": 15.725,
|
||||
"generation_seconds": 5.0787872950022575,
|
||||
"rtf": 0.3229753446742294,
|
||||
"realtime_multiple": 3.096211573080461,
|
||||
"phonemes": [
|
||||
"vˌɛn duː mˈɑːkst, ɛɾʦˈɛːlə ɪç diːɾ ˌInə kˈʊɐʦə ɡəʃˈɪçtə. ˈanɑː ˈœfnətə das fˈɛnstɜ ʊnt hˈœɾtə dɾˈI vˈøːɡəl zˈɪŋən. Wf deːm tˈɪʃ lˈɑːɡən zˈiːbən bˈyːçɜ ʊnt ˌInə rˈoːtə tˈasə. ʦʊm ʃlˈʊs zˈɑːɡtə ziː: das hat vˈʊndɜbˌɑːɾ fʊŋkʦjˌoːnˈiːɾt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.6218652725219727,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1233552,
|
||||
"file": "anna-mel20-story.wav",
|
||||
"sha256": "355f92dd03fe572031dee5803211277605672f6f39032e0a56269bd9792817bb",
|
||||
"case": "story"
|
||||
},
|
||||
{
|
||||
"text": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"duration_seconds": 15.7,
|
||||
"generation_seconds": 4.959925151997595,
|
||||
"rtf": 0.31591879949029267,
|
||||
"realtime_multiple": 3.165370347106321,
|
||||
"phonemes": [
|
||||
"ɡˈuːtən mˈɔɾɡən, mˈɪçaˌeːl. ʃˈøːn, das duː vˈiːdɜ dɑː bɪst! dɾˈWsən rˈWʃt dɛɾ rˈeːɡən, ʊnt diː vˈøːɡəl zˈuːxən ʃˈʊʦ ˌʊntɜ deːm dˈax. vˈɪɾklɪç? das hˌɛtə ɪç nˈɪçt ɡədˈaxt. hˈɔøtə nˈeːmən viːɾ ʊns In vˈeːnɪç ʦˈIt ʊnt mˈaxən ˈaləs ɡˌanʦ ɪn rˈuːə."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.7682139277458191,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1274280,
|
||||
"file": "anna-mel20-expressive.wav",
|
||||
"sha256": "399bb81f691c25ec4baf7badd17af5537663d0b33138da9941f16e24ba1deb61",
|
||||
"case": "expressive"
|
||||
}
|
||||
],
|
||||
"warmup": {
|
||||
"text": "Die Stimme ist bereit.",
|
||||
"duration_seconds": 2.275,
|
||||
"generation_seconds": 0.5703338489984162,
|
||||
"rtf": 0.2506961973619412,
|
||||
"realtime_multiple": 3.988891776273159,
|
||||
"phonemes": [
|
||||
"diː ʃtˈɪmə ɪst bərˈIt."
|
||||
],
|
||||
"clipped_fraction": 0.0,
|
||||
"peak": 0.5372546315193176,
|
||||
"chunks": 1,
|
||||
"dropped": [],
|
||||
"peak_rss_kib": 1040920
|
||||
},
|
||||
"complete": true,
|
||||
"preservation": {
|
||||
"files_equal": true,
|
||||
"cpu_tts_pids_equal": true,
|
||||
"deck_start_equal": true
|
||||
},
|
||||
"weighted_rtf": 0.3194498789816978
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
"""Sequential CPU-only comparisons after GPU training and production restore."""
|
||||
from pathlib import Path
|
||||
import json,subprocess,time
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027')
|
||||
PYTHON=Path('/data/athena-kikiri-victoria-cpu-20261027/venv/bin/python')
|
||||
result={'complete':False,'arms':[]};start=time.monotonic()
|
||||
for arm in ('extra10','extra20','mel20','full20'):
|
||||
subprocess.run([str(PYTHON),str(ROOT/'compare.py'),arm],check=True,timeout=100)
|
||||
row=json.loads((ROOT/f'cpu-{arm}.json').read_text());assert row['complete']
|
||||
result['arms'].append(arm);result['seconds']=time.monotonic()-start
|
||||
(ROOT/'evaluation-status.json').write_text(json.dumps(result,indent=2))
|
||||
result['complete']=True;result['seconds']=time.monotonic()-start
|
||||
(ROOT/'evaluation-status.json').write_text(json.dumps(result,indent=2))
|
||||
print(json.dumps(result),flush=True)
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"complete": true,
|
||||
"arms": [
|
||||
"extra10",
|
||||
"extra20",
|
||||
"mel20",
|
||||
"full20"
|
||||
],
|
||||
"seconds": 59.46525863101124
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"extra_epochs": 10,
|
||||
"training_clips": 63,
|
||||
"first_stage_timbre_norm": 1.7697334289550781,
|
||||
"matched_stage2_timbre_norm": 1.5598007440567017,
|
||||
"prosody_norm": 3.0163204669952393,
|
||||
"controlled": "Same first-stage timbre encoder as original pilot, new trained prosody encoder",
|
||||
"matched": "Both encoders from this trained checkpoint; separate export ablation",
|
||||
"files": [
|
||||
{
|
||||
"file": "controlled.pt",
|
||||
"bytes": 523838,
|
||||
"sha256": "8353f828f92d6c71c67341282ee00a1a51a8f955e4f5d036d4cebcda0e51a837"
|
||||
},
|
||||
{
|
||||
"file": "matched.pt",
|
||||
"bytes": 523817,
|
||||
"sha256": "516b396bc1416da6e3f6e1592f5972a459ca7a8954dbfeafdc1daafcda1ea7c5"
|
||||
},
|
||||
{
|
||||
"file": "model.pth",
|
||||
"bytes": 327187851,
|
||||
"sha256": "10a04396a2cd79fcf6c65f291f86f9d288470729b2ee249ca269a6b14a58d3f3"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"extra_epochs": 20,
|
||||
"training_clips": 63,
|
||||
"first_stage_timbre_norm": 1.7697334289550781,
|
||||
"matched_stage2_timbre_norm": 1.5369640588760376,
|
||||
"prosody_norm": 3.0933873653411865,
|
||||
"controlled": "Same first-stage timbre encoder as original pilot, new trained prosody encoder",
|
||||
"matched": "Both encoders from this trained checkpoint; separate export ablation",
|
||||
"trainingmel": "Original first-stage timbre recipe, matching actual training mel bank",
|
||||
"fullmatch": "Both encoders from checkpoint and matching actual training mel bank",
|
||||
"training_mel_sr_parameter": 16000,
|
||||
"old_export_mel_sr_parameter": 24000,
|
||||
"audio_sample_rate": 24000,
|
||||
"trainingmel_norms": [
|
||||
1.7145569324493408,
|
||||
1.4792824983596802,
|
||||
2.5949549674987793
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"file": "controlled.pt",
|
||||
"bytes": 523838,
|
||||
"sha256": "6568568a8b382684e3cad40730d680bc8492e63534ca3f99ac8fbaf5641cd991"
|
||||
},
|
||||
{
|
||||
"file": "fullmatch.pt",
|
||||
"bytes": 523831,
|
||||
"sha256": "fd6cad07fcdeb1008e7397a0eff0c183879b385d3ac4206e516283b386c9afa0"
|
||||
},
|
||||
{
|
||||
"file": "matched.pt",
|
||||
"bytes": 523817,
|
||||
"sha256": "1656101d62d7e8b9891f38543210c673d2d616a48e15052694c155e39961a711"
|
||||
},
|
||||
{
|
||||
"file": "model.pth",
|
||||
"bytes": 327187851,
|
||||
"sha256": "7668ac570e3ae705362e199f0eb221a811275f0c80fffbd47a402c3ef3463275"
|
||||
},
|
||||
{
|
||||
"file": "trainingmel.pt",
|
||||
"bytes": 523845,
|
||||
"sha256": "8eadda4f37cf3b87e6fbd769f065d1eb6c1f424f1101a4303bd4a6fbd27362a2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
"""Export followup checkpoints with controlled and matched-encoder voicepacks."""
|
||||
from pathlib import Path
|
||||
import os,sys,json,hashlib
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027');BASE=Path('/data/athena-kikiri-anna-20261027')
|
||||
PUBLIC=Path('/data/athena-kikiri-victoria-cpu-20261027')
|
||||
os.environ.update(CUDA_VISIBLE_DEVICES='',HF_HUB_OFFLINE='1',OMP_NUM_THREADS='4',OPENBLAS_NUM_THREADS='1')
|
||||
import numpy as np,soundfile as sf,torch,torchaudio
|
||||
torch.set_num_threads(4);torch.set_num_interop_threads(1)
|
||||
sys.path.insert(0,str(PUBLIC/'source/scripts'))
|
||||
from extract_voicepack import StyleEncoder
|
||||
sys.path.insert(0,str(BASE/'StyleTTS2'))
|
||||
from meldataset import preprocess as training_preprocess,to_mel as training_mel
|
||||
os.umask(0o077)
|
||||
epoch=int(sys.argv[1]);ckpt=torch.load(ROOT/'run'/f'anna-extra-{epoch:02d}.pth',map_location='cpu',weights_only=True)
|
||||
first=torch.load(BASE/'run/first_stage.pth',map_location='cpu',weights_only=True)
|
||||
clean=lambda s:{k.removeprefix('module.'):v for k,v in s.items()}
|
||||
dest=ROOT/'models'/f'extra-{epoch:02d}';dest.mkdir(parents=True,exist_ok=True)
|
||||
names=('bert','bert_encoder','predictor','decoder','text_encoder')
|
||||
torch.save({k:clean(ckpt['net'][k]) for k in names},dest/'model.pth')
|
||||
enc=[]
|
||||
for source,key in [(first,'style_encoder'),(ckpt,'style_encoder'),(ckpt,'predictor_encoder')]:
|
||||
m=StyleEncoder(dim_in=64,style_dim=128,max_conv_dim=512)
|
||||
m.load_state_dict(clean(source['net'][key]),strict=True);m.eval();enc.append(m)
|
||||
del first,ckpt
|
||||
mel=torchaudio.transforms.MelSpectrogram(sample_rate=24000,n_fft=2048,win_length=1200,hop_length=300,n_mels=80)
|
||||
styles=[];training_styles=[]
|
||||
with torch.no_grad():
|
||||
for p in sorted((BASE/'data/training-audio').glob('*.wav')):
|
||||
a,sr=sf.read(p,dtype='float32');assert sr==24000 and a.ndim==1
|
||||
x=(torch.log(1e-5+mel(torch.from_numpy(a)[None]))+4)/4
|
||||
v=torch.cat([m(x[:,None]) for m in enc],dim=-1)
|
||||
assert torch.isfinite(v).all() and v.norm()<1000;styles.append(v)
|
||||
# Match the actual training filterbank. Do not resample the 24-kHz
|
||||
# source: the upstream transform's nominal sr parameter is 16000.
|
||||
# No added padding here, so this ablation changes only the mel bank.
|
||||
tx=training_preprocess(a)
|
||||
tv=torch.cat([m(tx[:,None]) for m in enc],dim=-1)
|
||||
assert torch.isfinite(tv).all() and tv.norm()<1000;training_styles.append(tv)
|
||||
v=torch.cat(styles).mean(0)
|
||||
for i,name in [(0,'controlled'),(1,'matched')]:
|
||||
voice=torch.cat([v[i*128:(i+1)*128],v[256:]])[None,None].expand(510,1,256).clone()
|
||||
assert torch.isfinite(voice).all();torch.save(voice,dest/(name+'.pt'))
|
||||
tv=torch.cat(training_styles).mean(0)
|
||||
for i,name in [(0,'trainingmel'),(1,'fullmatch')]:
|
||||
voice=torch.cat([tv[i*128:(i+1)*128],tv[256:]])[None,None].expand(510,1,256).clone()
|
||||
assert torch.isfinite(voice).all();torch.save(voice,dest/(name+'.pt'))
|
||||
result=dict(extra_epochs=epoch,training_clips=len(styles),first_stage_timbre_norm=v[:128].norm().item(),
|
||||
matched_stage2_timbre_norm=v[128:256].norm().item(),prosody_norm=v[256:].norm().item(),
|
||||
controlled='Same first-stage timbre encoder as original pilot, new trained prosody encoder',
|
||||
matched='Both encoders from this trained checkpoint; separate export ablation',
|
||||
trainingmel='Original first-stage timbre recipe, matching actual training mel bank',
|
||||
fullmatch='Both encoders from checkpoint and matching actual training mel bank',
|
||||
training_mel_sr_parameter=training_mel.sample_rate,old_export_mel_sr_parameter=24000,audio_sample_rate=24000,
|
||||
trainingmel_norms=[tv[i:i+128].norm().item() for i in (0,128,256)],
|
||||
files=[dict(file=p.name,bytes=p.stat().st_size,sha256=hashlib.file_digest(p.open('rb'),'sha256').hexdigest()) for p in sorted(dest.iterdir())])
|
||||
(ROOT/f'export-{epoch:02d}.json').write_text(json.dumps(result,indent=2));print(json.dumps(result),flush=True)
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"files_equal": true,
|
||||
"cpu_tts_pids_equal": true,
|
||||
"deck_start_equal": true,
|
||||
"previous_profile": "flash-next-strata-iq3-dual",
|
||||
"current_profile": "flash-next-strata-iq3-dual",
|
||||
"strata_running": true,
|
||||
"owned_trainers": [],
|
||||
"passed": true
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"tensors": 25
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"tensors": 2
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"tensors": 122
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"tensors": 375
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"tensors": 24
|
||||
},
|
||||
{
|
||||
"component": "predictor_encoder",
|
||||
"tensors": 67
|
||||
},
|
||||
{
|
||||
"component": "style_encoder",
|
||||
"tensors": 67
|
||||
},
|
||||
{
|
||||
"component": "diffusion",
|
||||
"tensors": 92
|
||||
},
|
||||
{
|
||||
"component": "text_aligner",
|
||||
"tensors": 143
|
||||
},
|
||||
{
|
||||
"component": "pitch_extractor",
|
||||
"tensors": 77
|
||||
},
|
||||
{
|
||||
"component": "mpd",
|
||||
"tensors": 90
|
||||
},
|
||||
{
|
||||
"component": "msd",
|
||||
"tensors": 54
|
||||
},
|
||||
{
|
||||
"component": "wd",
|
||||
"tensors": 15
|
||||
}
|
||||
],
|
||||
"initial_fingerprints": {
|
||||
"predictor_encoder": "c3e8e8c1a8905ea0d6a0aa6657a971f3d0afd3a93d869f405154e839f0bcb1ed",
|
||||
"predictor": "1156835ef76d7b62ed22f59ccff635a039c3e8728ab01ee05b0519a75404b050",
|
||||
"style_encoder": "13d720a70ddc1b56cb50939a492f120ff2187c17362c86461b2320e8afcb06e0",
|
||||
"decoder": "7889eedf6ef80b50ec68e602552c72d05dff5073e1b232184ed711cbfef8f4e7"
|
||||
},
|
||||
"optimizer_bindings_verified": true
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"file": "anna-baseline-story.wav",
|
||||
"sha256": "8aa348e69e5de63a62989fbc6b0755b9dcaf1bbe7ccd47db6d7429d44cd4e6e1",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-baseline-expressive.wav",
|
||||
"sha256": "d8ed7631e93519e40f15cc7193562e877ef39f7f8c5d1fad5ed8f5c990b67b01",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-extra10-story.wav",
|
||||
"sha256": "2c3b99db060f78367bb9b3154cd7240efcb5a9968cc661ce5e73bf4a3d052d4c",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-extra10-expressive.wav",
|
||||
"sha256": "95cd3e66b93c837e8a922e44bb66c056eed713d30ba559fff19bc00bc7046ae8",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-extra20-story.wav",
|
||||
"sha256": "8a5900e4f0d5a6e8f9631af1c99bd2496beafce8cf3607f9f8df7da2be82e22e",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-extra20-expressive.wav",
|
||||
"sha256": "63b2367d761301e7ed7b24c1bb92eccd39efa715a4a176b42a4985a505574cec",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-full20-story.wav",
|
||||
"sha256": "c4bdf45d04a5effd0c75235999aa964219dfb8b87fece944b8b663d1c70e20a2",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-full20-expressive.wav",
|
||||
"sha256": "8138c9c9a265f6e05a4738ab72af49fab235332868d1b5fdf3522938d8acaa1a",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-mel20-story.wav",
|
||||
"sha256": "355f92dd03fe572031dee5803211277605672f6f39032e0a56269bd9792817bb",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"file": "anna-mel20-expressive.wav",
|
||||
"sha256": "399bb81f691c25ec4baf7badd17af5537663d0b33138da9941f16e24ba1deb61",
|
||||
"verified": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"extra_epochs": 20,
|
||||
"wall_seconds": 508.82209297199734,
|
||||
"validation_loss": 0.4303736686706543,
|
||||
"optimizer_step_calls": {
|
||||
"msd": 620,
|
||||
"mpd": 620,
|
||||
"bert_encoder": 1240,
|
||||
"bert": 1240,
|
||||
"predictor": 1240,
|
||||
"predictor_encoder": 620,
|
||||
"style_encoder": 620,
|
||||
"decoder": 620,
|
||||
"diffusion": 620,
|
||||
"wd": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
"""Local ASR for completeness only, never an accent/speaker-identity score."""
|
||||
from pathlib import Path
|
||||
import json,re,subprocess,time
|
||||
from support import ROOT,write
|
||||
BASE=Path('/opt/athena-deck-dev/runtime/state/parakeet-runtime/v0.6.1')
|
||||
CLI=BASE/'runtime/parakeet-v0.6.1-bin-linux-cpu-x64/parakeet-cli'
|
||||
def edits(a,b):
|
||||
previous=list(range(len(b)+1))
|
||||
for i,x in enumerate(a,1):
|
||||
row=[i]
|
||||
for j,y in enumerate(b,1):row.append(min(row[-1]+1,previous[j]+1,previous[j-1]+(x!=y)))
|
||||
previous=row
|
||||
return previous[-1]
|
||||
rows=[]
|
||||
for p in sorted(ROOT.glob('cpu-*.json')):
|
||||
data=json.loads(p.read_text());assert data['complete']
|
||||
for r in data['runs']:
|
||||
t=time.monotonic();proc=subprocess.run([str(CLI),'transcribe','--model',str(BASE/'redux-packed.gguf'),
|
||||
'--input',str(ROOT/'outputs'/r['file']),'--lang','de','--threads','2','--json'],capture_output=True,text=True,timeout=90)
|
||||
row=dict(arm=data['arm'],case=r['case'],file=r['file'],seconds=time.monotonic()-t,exit_code=proc.returncode)
|
||||
if not proc.returncode:
|
||||
text=json.loads(proc.stdout)['text'];a=re.findall(r'\w+',r['text'].casefold());b=re.findall(r'\w+',text.casefold())
|
||||
row.update(expected=r['text'],recognized=text,word_edits=edits(a,b),reference_words=len(a))
|
||||
else:row['error']=proc.stderr[-500:]
|
||||
rows.append(row);print(json.dumps(row,ensure_ascii=False),flush=True)
|
||||
write(ROOT/'transcriptions.json',rows)
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"original_sha256": "8e7398683bab0c0483d920400d0fbcbd5cc6ab3263c05f09aefdc790a6295654",
|
||||
"adapted_sha256": "a1786863e5726aa00571a51fe111b499cac0e568a953cc0a0e6a2850c9967a96",
|
||||
"change": "Remove only predictor_encoder reinitialization in trained Stage 2 warmstart branch"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
"""Small stdlib-only helpers; no production settings or credentials are read out."""
|
||||
from pathlib import Path
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027')
|
||||
REFS=Path('/data/athena-articulino-references-20261027/references')
|
||||
STATE=Path('/opt/athena-deck-dev/runtime/state')
|
||||
FILES=[STATE/n for n in ('profiles.json','endpoint.json','audio-policy.json','cpu-partition.json')]
|
||||
FILES += [STATE/'speech-voices/Anna/reference.wav',Path('/opt/athena-deck-dev/source/qwen_native_worker.py')]
|
||||
CASES=[dict(id='story',text='Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.'),
|
||||
dict(id='technical',text='Home Assistant läuft in Docker auf Unraid. Die SSD hat 47 Grad Celsius. Das Logfile enthält keinen Fehler. Die Datei ist 512 MiB groß und die Verbindung überträgt 100 Mbit pro Sekunde. Um 18:30 CEST startet der nächste Scan.')]
|
||||
|
||||
def write(path,data):
|
||||
tmp=path.with_suffix('.tmp');tmp.write_text(json.dumps(data,indent=2,ensure_ascii=False));tmp.replace(path)
|
||||
|
||||
def available():
|
||||
return next(int(s.split()[1])*1024 for s in Path('/proc/meminfo').read_text().splitlines() if s.startswith('MemAvailable:'))
|
||||
|
||||
def snapshot():
|
||||
pids=dict(strata=[],articulino=[],qwen_tts=[])
|
||||
for p in Path('/proc').iterdir():
|
||||
if not p.name.isdigit():continue
|
||||
try:args=(p/'cmdline').read_bytes().split(b'\0')
|
||||
except OSError:continue
|
||||
if args and args[0].endswith(b'/engine/strata'):pids['strata'].append(int(p.name))
|
||||
for key,name in [('articulino','articulino_worker.py'),('qwen_tts','qwen_native_worker.py')]:
|
||||
if any(a.endswith(('/'+name).encode()) for a in args):pids[key].append(int(p.name))
|
||||
return dict(hashes={str(p):hashlib.file_digest(p.open('rb'),'sha256').hexdigest() for p in FILES},pids=pids,
|
||||
deck_started=subprocess.check_output(['docker','inspect','--format','{{.State.StartedAt}}','athena-deck-dev'],text=True).strip())
|
||||
|
||||
def preservation():
|
||||
before=json.loads((ROOT/'production-before.json').read_text());after=snapshot()
|
||||
write(ROOT/'production-after.json',after)
|
||||
return dict(files_equal=before['hashes']==after['hashes'],cpu_tts_pids_equal=before['pids']['articulino']==after['pids']['articulino'] and before['pids']['qwen_tts']==after['pids']['qwen_tts'],
|
||||
deck_start_equal=before['deck_started']==after['deck_started'])
|
||||
@@ -0,0 +1,101 @@
|
||||
"""Low-LR parameter warmstart from Anna Stage 2; preserve learned prosody."""
|
||||
from pathlib import Path
|
||||
import os,sys,json,time,random,hashlib,types
|
||||
ROOT=Path('/data/athena-kikiri-anna-more-20261027')
|
||||
BASE=Path('/data/athena-kikiri-anna-20261027')
|
||||
ROOT.mkdir(exist_ok=True,mode=0o700);(ROOT/'tmp').mkdir(exist_ok=True,mode=0o700)
|
||||
os.environ.update(HF_HOME=str(BASE/'cache/huggingface'),HF_HUB_OFFLINE='1',HF_HUB_DISABLE_TELEMETRY='1',
|
||||
HF_HUB_DISABLE_IMPLICIT_TOKEN='1',TOKENIZERS_PARALLELISM='false',OMP_NUM_THREADS='4',OPENBLAS_NUM_THREADS='1',
|
||||
MPLCONFIGDIR=str(ROOT/'cache/matplotlib'),XDG_CACHE_HOME=str(ROOT/'cache'),TMPDIR=str(ROOT/'tmp'),
|
||||
PYTHONUNBUFFERED='1')
|
||||
os.umask(0o077);os.chdir(BASE/'StyleTTS2');sys.path.insert(0,str(BASE/'StyleTTS2'))
|
||||
import yaml,numpy as np,torch
|
||||
torch.set_num_threads(4);torch.set_num_interop_threads(1)
|
||||
config=yaml.safe_load((BASE/'config-second.yml').read_text())
|
||||
config.update(log_dir=str(ROOT/'run'),epochs_2nd=20,save_freq=1,log_interval=10,
|
||||
pretrained_model=str(BASE/'run/epoch_2nd_00011.pth'),first_stage_path='',
|
||||
load_only_params=True,second_stage_load_pretrained=True)
|
||||
config['optimizer_params'].update(lr=1e-5,ft_lr=1e-5,bert_lr=1e-6)
|
||||
config['loss_params']['joint_epoch']=0
|
||||
assert config['batch_size']==2 and config['slmadv_params']['batch_percentage']==1 and config['max_len']==160
|
||||
assert config['loss_params']['lambda_slm']==1 and config['loss_params']['lambda_diff']==0
|
||||
(ROOT/'run').mkdir(exist_ok=True)
|
||||
cfg=ROOT/'config.yml';cfg.write_text(yaml.safe_dump(config))
|
||||
source=BASE/'StyleTTS2/train_second.py'
|
||||
original=source.read_text()
|
||||
reset=''' # Initialize predictor_encoder from trained style_encoder
|
||||
# (predictor_encoder is not trained in Stage 1)
|
||||
model.predictor_encoder = copy.deepcopy(model.style_encoder)'''
|
||||
assert original.count(reset)==1,'Pinned Stage 2 warmstart block changed'
|
||||
patched=original.replace(reset,''' # Anna already has a trained predictor_encoder. Keep its loaded
|
||||
# parameters AND the optimizer parameter references; do not clone.''')
|
||||
(ROOT/'train_second_anna.py').write_text(patched)
|
||||
source_record=dict(original_sha256=hashlib.sha256(original.encode()).hexdigest(),
|
||||
adapted_sha256=hashlib.sha256(patched.encode()).hexdigest(),
|
||||
change='Remove only predictor_encoder reinitialization in trained Stage 2 warmstart branch')
|
||||
(ROOT/'source-adaptation.json').write_text(json.dumps(source_record,indent=2))
|
||||
if len(sys.argv)>1 and sys.argv[1]=='prepare':
|
||||
print(json.dumps(dict(prepared=True,epochs=20,lr=1e-5,source=source_record)),flush=True)
|
||||
sys.exit(0)
|
||||
assert torch.cuda.is_available() and torch.cuda.device_count()==1 and '5080' in torch.cuda.get_device_name(0)
|
||||
import models,optimizers,kokoro_tb_utils
|
||||
checks=[];initial_fingerprints={};original_load=models.load_checkpoint
|
||||
def digest(state):
|
||||
h=hashlib.sha256()
|
||||
for k,t in sorted(state.items()):h.update(k.encode());h.update(t.detach().cpu().contiguous().numpy().tobytes())
|
||||
return h.hexdigest()
|
||||
def checked_load(model,optimizer,path,load_only_params=True,ignore_modules=[]):
|
||||
load=getattr(torch,'_original_load',torch.load)
|
||||
state=load(path,map_location='cpu',weights_only=True)['net']
|
||||
assert not ignore_modules
|
||||
for key in model:
|
||||
assert key in state,key
|
||||
model[key].load_state_dict({k.removeprefix('module.'):v for k,v in state[key].items()},strict=True)
|
||||
checks.append(dict(component=key,tensors=len(state[key])))
|
||||
for key in ('predictor_encoder','predictor','style_encoder','decoder'):
|
||||
initial_fingerprints[key]=digest(model[key].state_dict())
|
||||
# Optimizers were built before this warmstart. They must reference exactly
|
||||
# the loaded modules; the upstream clone would break this invariant.
|
||||
for key in ('predictor_encoder','style_encoder','decoder'):
|
||||
assert {id(p) for p in model[key].parameters()}=={id(p) for g in optimizer.optimizers[key].param_groups for p in g['params']}
|
||||
del state
|
||||
(ROOT/'load-verification.json').write_text(json.dumps(dict(components=checks,
|
||||
initial_fingerprints=initial_fingerprints,optimizer_bindings_verified=True),indent=2))
|
||||
return model,optimizer,0,0
|
||||
models.load_checkpoint=checked_load
|
||||
original_step=optimizers.MultiOptimizer.step;steps={}
|
||||
def step(self,key=None,scaler=None):
|
||||
label=key or 'all';steps[label]=steps.get(label,0)+1
|
||||
return original_step(self,key,scaler)
|
||||
optimizers.MultiOptimizer.step=step
|
||||
original_save=torch.save;started=time.monotonic()
|
||||
def save(obj,f,*a,**kw):
|
||||
if isinstance(obj,dict) and 'net' in obj and str(f).endswith('.pth'):
|
||||
completed=int(obj['epoch'])+1
|
||||
if completed not in (5,10,15,20):return
|
||||
assert all(torch.isfinite(t).all() for c in obj['net'].values() for t in c.values() if t.is_floating_point())
|
||||
obj={k:v for k,v in obj.items() if k!='optimizer'}
|
||||
result=original_save(obj,ROOT/'run'/f'anna-extra-{completed:02d}.pth',*a,**kw)
|
||||
report=dict(extra_epochs=completed,wall_seconds=time.monotonic()-started,
|
||||
validation_loss=float(obj['val_loss']),optimizer_step_calls=steps)
|
||||
(ROOT/'progress.json').write_text(json.dumps(report,indent=2));print(json.dumps(report),flush=True)
|
||||
return result
|
||||
return original_save(obj,f,*a,**kw)
|
||||
torch.save=save
|
||||
extract=kokoro_tb_utils.extract_voicepack
|
||||
kokoro_tb_utils.extract_voicepack=lambda model,root_path,device,n_samples=200: extract(model,str(BASE/'data/training-audio'),device,min(n_samples,16))
|
||||
kokoro_tb_utils.prepare_test_tokens=lambda cleaner:[]
|
||||
random.seed(20261028);np.random.seed(20261028);torch.manual_seed(20261028)
|
||||
torch.cuda.reset_peak_memory_stats()
|
||||
result=dict(seed=20261028,epochs=20,lr=1e-5,bert_lr=1e-6,device=torch.cuda.get_device_name(0),
|
||||
initialization='Previous Anna Stage 2 parameters, fresh Adam optimizers, no prosody reset')
|
||||
try:
|
||||
module=types.ModuleType('anna_stage2_followup');module.__file__=str(ROOT/'train_second_anna.py')
|
||||
sys.modules[module.__name__]=module;exec(compile(patched,module.__file__,'exec'),module.__dict__)
|
||||
torch.autograd.set_detect_anomaly(False)
|
||||
module.main.main(args=['--config_path',str(cfg)],standalone_mode=False)
|
||||
result['success']=True
|
||||
finally:
|
||||
result.update(wall_seconds=time.monotonic()-started,optimizer_step_calls=steps,strict_loaded_components=checks,
|
||||
peak_allocated_bytes=torch.cuda.max_memory_allocated(),peak_reserved_bytes=torch.cuda.max_memory_reserved())
|
||||
(ROOT/'training-result.json').write_text(json.dumps(result,indent=2));print(json.dumps(result),flush=True)
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"seed": 20261028,
|
||||
"epochs": 20,
|
||||
"lr": 1e-05,
|
||||
"bert_lr": 1e-06,
|
||||
"device": "NVIDIA GeForce RTX 5080",
|
||||
"initialization": "Previous Anna Stage 2 parameters, fresh Adam optimizers, no prosody reset",
|
||||
"success": true,
|
||||
"wall_seconds": 508.9470120170008,
|
||||
"optimizer_step_calls": {
|
||||
"msd": 620,
|
||||
"mpd": 620,
|
||||
"bert_encoder": 1240,
|
||||
"bert": 1240,
|
||||
"predictor": 1240,
|
||||
"predictor_encoder": 620,
|
||||
"style_encoder": 620,
|
||||
"decoder": 620,
|
||||
"diffusion": 620,
|
||||
"wd": 60
|
||||
},
|
||||
"strict_loaded_components": [
|
||||
{
|
||||
"component": "bert",
|
||||
"tensors": 25
|
||||
},
|
||||
{
|
||||
"component": "bert_encoder",
|
||||
"tensors": 2
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"tensors": 122
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"tensors": 375
|
||||
},
|
||||
{
|
||||
"component": "text_encoder",
|
||||
"tensors": 24
|
||||
},
|
||||
{
|
||||
"component": "predictor_encoder",
|
||||
"tensors": 67
|
||||
},
|
||||
{
|
||||
"component": "style_encoder",
|
||||
"tensors": 67
|
||||
},
|
||||
{
|
||||
"component": "diffusion",
|
||||
"tensors": 92
|
||||
},
|
||||
{
|
||||
"component": "text_aligner",
|
||||
"tensors": 143
|
||||
},
|
||||
{
|
||||
"component": "pitch_extractor",
|
||||
"tensors": 77
|
||||
},
|
||||
{
|
||||
"component": "mpd",
|
||||
"tensors": 90
|
||||
},
|
||||
{
|
||||
"component": "msd",
|
||||
"tensors": 54
|
||||
},
|
||||
{
|
||||
"component": "wd",
|
||||
"tensors": 15
|
||||
}
|
||||
],
|
||||
"peak_allocated_bytes": 13062545408,
|
||||
"peak_reserved_bytes": 13956546560
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
[
|
||||
{
|
||||
"arm": "baseline",
|
||||
"case": "story",
|
||||
"file": "anna-baseline-story.wav",
|
||||
"seconds": 1.2379755629954161,
|
||||
"exit_code": 0,
|
||||
"expected": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"recognized": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Wögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie, das hat wunderbar funktioniert.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 36
|
||||
},
|
||||
{
|
||||
"arm": "baseline",
|
||||
"case": "expressive",
|
||||
"file": "anna-baseline-expressive.wav",
|
||||
"seconds": 1.166409614001168,
|
||||
"exit_code": 0,
|
||||
"expected": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"recognized": "Guten Morgen Michael, schön, dass du wieder da bist. Draußen rauscht der Regen und die Wögel suchen Schutz unter dem Dach. Wirklich, das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 40
|
||||
},
|
||||
{
|
||||
"arm": "extra10",
|
||||
"case": "story",
|
||||
"file": "anna-extra10-story.wav",
|
||||
"seconds": 1.2001962729991646,
|
||||
"exit_code": 0,
|
||||
"expected": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"recognized": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Wögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie, das hat wunderbar funktioniert.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 36
|
||||
},
|
||||
{
|
||||
"arm": "extra10",
|
||||
"case": "expressive",
|
||||
"file": "anna-extra10-expressive.wav",
|
||||
"seconds": 1.2095210699917516,
|
||||
"exit_code": 0,
|
||||
"expected": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"recognized": "Guten Morgen Michael, schön, dass du wieder da bist. Draußen rauscht der Regen und die Wögel suchen Schutz unter dem Dach. Wirklich, das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 40
|
||||
},
|
||||
{
|
||||
"arm": "extra20",
|
||||
"case": "story",
|
||||
"file": "anna-extra20-story.wav",
|
||||
"seconds": 1.2063417419994948,
|
||||
"exit_code": 0,
|
||||
"expected": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"recognized": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Wögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie, das hat wunderbar funktioniert.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 36
|
||||
},
|
||||
{
|
||||
"arm": "extra20",
|
||||
"case": "expressive",
|
||||
"file": "anna-extra20-expressive.wav",
|
||||
"seconds": 1.1855380610068096,
|
||||
"exit_code": 0,
|
||||
"expected": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"recognized": "Guten Morgen Michael, schön, dass du wieder da bist. Draußen rauscht der Regen und die Wögel suchen Schutz unter dem Dach. Wirklich, das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 40
|
||||
},
|
||||
{
|
||||
"arm": "full20",
|
||||
"case": "story",
|
||||
"file": "anna-full20-story.wav",
|
||||
"seconds": 1.1506939829996554,
|
||||
"exit_code": 0,
|
||||
"expected": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"recognized": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Wögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie, das hat wunderbar funktioniert.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 36
|
||||
},
|
||||
{
|
||||
"arm": "full20",
|
||||
"case": "expressive",
|
||||
"file": "anna-full20-expressive.wav",
|
||||
"seconds": 1.1298743929946795,
|
||||
"exit_code": 0,
|
||||
"expected": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"recognized": "Guten Morgen Michael, schön, dass du wieder da bist. Draußen rauscht der Regen und die Wögel suchen Schutz unter dem Dach. Wirklich, das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 40
|
||||
},
|
||||
{
|
||||
"arm": "mel20",
|
||||
"case": "story",
|
||||
"file": "anna-mel20-story.wav",
|
||||
"seconds": 1.1763989249884617,
|
||||
"exit_code": 0,
|
||||
"expected": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie: Das hat wunderbar funktioniert.",
|
||||
"recognized": "Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Wögel singen. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte sie, das hat wunderbar funktioniert.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 36
|
||||
},
|
||||
{
|
||||
"arm": "mel20",
|
||||
"case": "expressive",
|
||||
"file": "anna-mel20-expressive.wav",
|
||||
"seconds": 1.1378485840104986,
|
||||
"exit_code": 0,
|
||||
"expected": "Guten Morgen, Michael. Schön, dass du wieder da bist! Draußen rauscht der Regen, und die Vögel suchen Schutz unter dem Dach. Wirklich? Das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"recognized": "Guten Morgen Michael, schön, dass du wieder da bist. Draußen rauscht der Regen und die Wögel suchen Schutz unter dem Dach. Wirklich, das hätte ich nicht gedacht. Heute nehmen wir uns ein wenig Zeit und machen alles ganz in Ruhe.",
|
||||
"word_edits": 1,
|
||||
"reference_words": 40
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,21 @@
|
||||
"""Compare only relevant state hashes/PIDs and public worker health metadata."""
|
||||
from pathlib import Path
|
||||
import json,subprocess,urllib.request
|
||||
from support import ROOT,STATE,snapshot,write
|
||||
before=json.loads((ROOT/'production-before.json').read_text());after=snapshot()
|
||||
worker=json.loads((STATE/'strata-worker/worker.json').read_text())
|
||||
result=dict(files_equal=before['hashes']==after['hashes'],
|
||||
cpu_tts_pids_equal=before['pids']['articulino']==after['pids']['articulino'] and before['pids']['qwen_tts']==after['pids']['qwen_tts'],
|
||||
deck_start_equal=before['deck_started']==after['deck_started'],
|
||||
previous_profile=before['previous_profile'],current_profile=worker['model_name'],strata_running=bool(after['pids']['strata']))
|
||||
# A normal authenticated completion is separately required by control.py.
|
||||
own=[]
|
||||
for p in Path('/proc').iterdir():
|
||||
if not p.name.isdigit():continue
|
||||
try:args=(p/'cmdline').read_bytes().split(b'\0')
|
||||
except OSError:continue
|
||||
if any(a.endswith(b'/train.py') for a in args) and str(ROOT).encode() in b' '.join(args):own.append(int(p.name))
|
||||
result['owned_trainers']=own
|
||||
result['passed']=all(result[k] for k in ('files_equal','cpu_tts_pids_equal','deck_start_equal','strata_running')) and not own and result['current_profile']==result['previous_profile']
|
||||
write(ROOT/'final-verification.json',result);print(json.dumps(result),flush=True)
|
||||
assert result['passed']
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"learned_state_changes": [
|
||||
{
|
||||
"component": "bert",
|
||||
"float_state_tensors_without_norm_buffers": 25,
|
||||
"changed_tensors": 23
|
||||
},
|
||||
{
|
||||
"component": "predictor",
|
||||
"float_state_tensors_without_norm_buffers": 122,
|
||||
"changed_tensors": 122
|
||||
},
|
||||
{
|
||||
"component": "predictor_encoder",
|
||||
"float_state_tensors_without_norm_buffers": 33,
|
||||
"changed_tensors": 33
|
||||
},
|
||||
{
|
||||
"component": "style_encoder",
|
||||
"float_state_tensors_without_norm_buffers": 33,
|
||||
"changed_tensors": 33
|
||||
},
|
||||
{
|
||||
"component": "decoder",
|
||||
"float_state_tensors_without_norm_buffers": 375,
|
||||
"changed_tensors": 373
|
||||
}
|
||||
],
|
||||
"original_pilot_retained": [
|
||||
{
|
||||
"file": "anna.pth",
|
||||
"same": true
|
||||
},
|
||||
{
|
||||
"file": "anna.pt",
|
||||
"same": true
|
||||
}
|
||||
],
|
||||
"note": "Changed parameters/state and strict warmstart establish training occurred; no accent or speaker-similarity metric."
|
||||
}
|
||||
@@ -4,6 +4,16 @@ Michael authorized training on the supplied `Anna Training.wav`, followed by
|
||||
the unchanged technical paragraph on Athena CPU, local STT and a listening
|
||||
sample. This is an isolated pilot. The active Articulino TTS must not change.
|
||||
|
||||
Subsequent listening feedback: Michael hears a Chinese-sounding accent and
|
||||
wants a stronger Anna match. A [separate follow-up](../kikiri-anna-followup-2026-10-27/README.md)
|
||||
adds twenty low-LR rounds and finds an inconsistency in this original
|
||||
voicepack extraction: its mel transform has nominal sample_rate=24000,
|
||||
whereas actual training used the upstream default 16000 transform on 24-kHz
|
||||
recordings. Historical outputs below are retained unchanged; do not treat
|
||||
this original export as exactly matching the trainer's filterbank. The
|
||||
follow-up tests training-consistent voicepacks separately, without claiming
|
||||
that this alone proves the cause of the perceived accent.
|
||||
|
||||
## Fixed pilot protocol
|
||||
|
||||
- Own private root `/data/athena-kikiri-anna-20261027`, mode 0700. No private
|
||||
|
||||
@@ -18,7 +18,7 @@ record the verdict and clean up its own test data when requested.
|
||||
| Qwen3-TTS 0.6B Q4 / Q8 codec | Retained comparison reference | Same three clips/text gave about 15 s in 14.111–14.645 s. This passage was complete in STT; previous intermittent noise failures remain unresolved. This row makes no claim about which profile is currently published. |
|
||||
| Chatterbox Nano + German community LoRA, FP32 | **Stronger perceived Anna identity; accent and CPU reserve unresolved** | Explicit Athena trial: Anna B, four CPU threads, adapter merged in RAM, 16.98 s audio in 14.815 s (RTF 0.8725, 1.146× realtime), first synthesis. No warm repeat or quality matrix after missing the 2× gate. Michael hears Anna more clearly, with a slight Chinese-sounding accent. He confirms “rote Tasse” is correct: the raw STT “hohe Tasse” was an ASR error, not a confirmed TTS word error. No general claim about untested precision/runtime alternatives. No activation; Sopro technical B remains the reference. [Actual trial](chatterbox-nano-de-cpu-2026-10-27/README.md). |
|
||||
| Kokoro/Kikiri German Victoria, FP32 | **CPU speed gate passed; original Victoria listening verdict pending** | Explicit CPU-only test with the public Victoria voice: story 14.5 s in 4.24–4.78 s; technical text 19 s in 6.70 s (2.84× realtime). Local STT recovered numbers/time; technical term discrepancies remain, and the frontend pronounces CEST as a word. This is not an Anna-cloning sample or proof that Anna fine-tuning will work. That original Victoria trial did not train or activate a model. A separately authorized Anna pilot is now recorded below. [Victoria trial](kikiri-victoria-cpu-2026-10-27/README.md). |
|
||||
| Kokoro/Kikiri Anna fine-tune, FP32 | **Trained pilot; CPU speed gate passed; human voice verdict pending** | Trained on 63 Anna segments with separate validation/held-out clips: ten acoustic + twelve prosody epochs, RTX 5080. Same technical text: 20.175 s in 6.840 s on four CPU threads (2.95× realtime). STT recovers the paragraph, with Home/Logfile/CEST and other technical deviations; no Anna-identity claim from STT. Active TTS unchanged, Qwen restored. Sopro technical B remains the listening reference until Michael judges this sample. [Anna pilot](kikiri-anna-training-2026-10-27/README.md). |
|
||||
| Kokoro/Kikiri Anna fine-tune, FP32 | **Pilot needs stronger Anna match / less perceived accent; follow-up listening pending** | Trained on 63 Anna segments with separate validation/held-out clips: ten acoustic + twelve prosody epochs, RTX 5080. Same technical text: 20.175 s in 6.840 s on four CPU threads (2.95× realtime). STT recovers the paragraph, with Home/Logfile/CEST and other technical deviations; no Anna-identity claim from STT. Michael reports a Chinese-sounding accent and wants a closer Anna match. A twenty-epoch low-LR continuation plus separate speaker-embedding export checks retain approximately 3× CPU realtime; ASR does not show an intelligibility gain or measure accent removal. New listening verdict pending. Active TTS unchanged, Qwen restored; Sopro B remains the reference. [Anna pilot](kikiri-anna-training-2026-10-27/README.md), [follow-up](kikiri-anna-followup-2026-10-27/README.md). |
|
||||
| Audio8 TTS Preview 0.1B ONNX INT8 | **Rejected and deleted** | CPU speed fails; Michael also reports a Chinese-sounding accent. All isolated weights, venv, derived voices, pilot data and audio deleted remotely and locally: about 1.49 GiB on Athena plus 8.3 MiB local. Small records remain in `audio8-cpu-2026-10-27/`. Qwen and Articulino preserved. |
|
||||
| Pocket TTS German | Already tested, not a newly discovered alternative | Existing 17 October Anna CPU runs had RTF 0.453/0.462. Do not present it as untested or claim the newly advertised tiny English models support German. A different German checkpoint/recipe would need a specific reason to retest. |
|
||||
| MOSS-TTS-Nano / NeuTTS-Nano German Q8 | Rejected; test weights removed | Michael rejected pronunciation/naturalness. Do not silently reinstall or rank them as acceptable based on ASR. |
|
||||
|
||||
Reference in new issue
Block a user