rcell233 commited on
Commit
8348859
·
verified ·
1 Parent(s): 6ba0577

docs: clarify model setup and component licenses

Browse files
Files changed (5) hide show
  1. README.md +6 -12
  2. THIRD_PARTY.md +10 -21
  3. hubert/NOTICE.md +4 -8
  4. plbert/NOTICE.md +4 -8
  5. speaker/NOTICE.md +5 -9
README.md CHANGED
@@ -16,8 +16,6 @@ tags:
16
 
17
  Model weights for the PL-Flow two-stage speech synthesis implementation.
18
  Licenses differ by component; see [THIRD_PARTY.md](THIRD_PARTY.md).
19
- The speaker checkpoint is downloaded separately from the link provided by
20
- Seed-TTS-Eval and is not included in this repository.
21
 
22
  ## Components
23
 
@@ -34,10 +32,7 @@ Seed-TTS-Eval and is not included in this repository.
34
  Six components contain `config.json` and `model.safetensors`. The speaker directory
35
  contains configuration and download instructions only. `bundle.json` pins SHA256
36
  hashes, the external speaker download, the prosody-code interface and inference
37
- settings. No optimizer
38
- states, training datasets or audio are included. The four project-trained models
39
- do not initialize their parameters from third-party checkpoints; the frozen
40
- feature models used by the pipeline are listed separately above.
41
 
42
  ## Usage
43
 
@@ -50,8 +45,8 @@ hf download rcell233/pl-flow --local-dir artifacts/pretrained
50
  Download **[wavlm_large_finetune.pth](https://drive.google.com/file/d/1-aE1NfzpRCLxA4GUxX9ITI3F9LlbtEGP/view)**
51
  from the model link in [Seed-TTS-Eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics)
52
  and save it as `artifacts/pretrained/speaker/wavlm_large_finetune.pth`.
53
- PL-Flow loads the original checkpoint directly and verifies its SHA256. No
54
- separate conversion or embedding-extraction command is required.
55
 
56
  ```bash
57
  pl-flow verify --models artifacts/pretrained
@@ -65,7 +60,6 @@ Default sampling uses S1 **8 Euler steps / CFG 2.1**, S2 **10 Euler steps / CFG
65
  `(1 + scale) * conditional - scale * unconditional`. Audio encoders and the codec
66
  run in FP32. Context limits: 512 S1 tokens, 1024 total S2 frames, 250 prompt frames.
67
 
68
- S1 and S2 exports use EMA weights. These are inference/warm-start artifacts, not
69
- full-state training resumes. The ASR aligner and SQ codec can also be trained using
70
- the PL-Flow package. Weight licenses do not grant rights to recordings or voices;
71
- use reference audio with appropriate permission.
 
16
 
17
  Model weights for the PL-Flow two-stage speech synthesis implementation.
18
  Licenses differ by component; see [THIRD_PARTY.md](THIRD_PARTY.md).
 
 
19
 
20
  ## Components
21
 
 
32
  Six components contain `config.json` and `model.safetensors`. The speaker directory
33
  contains configuration and download instructions only. `bundle.json` pins SHA256
34
  hashes, the external speaker download, the prosody-code interface and inference
35
+ settings.
 
 
 
36
 
37
  ## Usage
38
 
 
45
  Download **[wavlm_large_finetune.pth](https://drive.google.com/file/d/1-aE1NfzpRCLxA4GUxX9ITI3F9LlbtEGP/view)**
46
  from the model link in [Seed-TTS-Eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics)
47
  and save it as `artifacts/pretrained/speaker/wavlm_large_finetune.pth`.
48
+ PL-Flow verifies the checkpoint's SHA256 and extracts speaker features
49
+ automatically during synthesis.
50
 
51
  ```bash
52
  pl-flow verify --models artifacts/pretrained
 
60
  `(1 + scale) * conditional - scale * unconditional`. Audio encoders and the codec
61
  run in FP32. Context limits: 512 S1 tokens, 1024 total S2 frames, 250 prompt frames.
62
 
63
+ S1 and S2 use EMA weights. The bundle supports inference and initialization for
64
+ training. Resuming training requires a full training checkpoint. The ASR aligner
65
+ and SQ codec can also be trained using the PL-Flow package.
 
THIRD_PARTY.md CHANGED
@@ -3,32 +3,21 @@
3
  This repository contains model weights and configuration files. The root
4
  [LICENSE](LICENSE) applies to the project's `s1`, `s2`, `aligner` and `vocoder`
5
  weights under GPL-3.0-only. All four were trained from random initialization.
6
- This is the project's chosen weight license, not a license automatically imposed
7
- on training outputs by the training software.
8
 
9
  Upstream pretrained components retain their own terms:
10
 
11
  | Component | Upstream model | Weight terms and attribution |
12
  | --- | --- | --- |
13
- | `plbert` | [hexgrad/Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M), phoneme ALBERT subset | [Apache-2.0](plbert/LICENSE); [source and changes](plbert/NOTICE.md) |
14
- | `hubert` | [TencentGameMate/chinese-hubert-base](https://huggingface.co/TencentGameMate/chinese-hubert-base) | Upstream model card declares [MIT](hubert/LICENSE); [source and changes](hubert/NOTICE.md) |
15
- | `speaker` | `wavlm_large_finetune.pth`, obtained through [Seed-TTS-Eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics) | Not distributed here; [external download](speaker/NOTICE.md) |
16
 
17
- Retain the applicable license text and attribution when redistributing `plbert`
18
- or `hubert`, and identify any further changes. Conversion to safetensors or changes
19
- to parameter names do not replace upstream licenses. The project's GPL does not
20
- relicense upstream weights.
21
 
22
- The `speaker` checkpoint is not included in this repository. Users download it
23
- separately from the link provided by Seed-TTS-Eval. Its upstream terms apply;
24
- the project's GPL does not grant rights to that checkpoint.
25
 
26
- The Python implementation and its bundled speaker program are distributed
27
- separately with their own source-code notices. Source-code license texts for
28
- software absent from this weight repository are not weight licenses.
29
-
30
- `bundle.json` records hashes of the exact redistributed configurations and tensor
31
- files. Upstream source references and conversion descriptions are recorded in
32
- the component notices; an unrecorded import revision is not inferred from a
33
- later model-card revision. These licenses do not establish rights to training
34
- datasets, recordings or a person's voice.
 
3
  This repository contains model weights and configuration files. The root
4
  [LICENSE](LICENSE) applies to the project's `s1`, `s2`, `aligner` and `vocoder`
5
  weights under GPL-3.0-only. All four were trained from random initialization.
 
 
6
 
7
  Upstream pretrained components retain their own terms:
8
 
9
  | Component | Upstream model | Weight terms and attribution |
10
  | --- | --- | --- |
11
+ | `plbert` | [hexgrad/Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M), phoneme ALBERT subset | [Apache-2.0](plbert/LICENSE); [component notice](plbert/NOTICE.md) |
12
+ | `hubert` | [TencentGameMate/chinese-hubert-base](https://huggingface.co/TencentGameMate/chinese-hubert-base) | Upstream model card declares [MIT](hubert/LICENSE); [component notice](hubert/NOTICE.md) |
13
+ | `speaker` | `wavlm_large_finetune.pth`, available through [Seed-TTS-Eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics) | [Download and upstream terms](speaker/NOTICE.md) |
14
 
15
+ Retain the applicable license text, attribution and modification notices when
16
+ redistributing these components.
 
 
17
 
18
+ Download the [speaker checkpoint](https://drive.google.com/file/d/1-aE1NfzpRCLxA4GUxX9ITI3F9LlbtEGP/view)
19
+ from the link provided by Seed-TTS-Eval and save it as
20
+ `speaker/wavlm_large_finetune.pth`. Its upstream terms apply.
21
 
22
+ `bundle.json` records SHA256 hashes for the configurations and weights.
23
+ Rights to recordings and voices are separate from model licenses.
 
 
 
 
 
 
 
hubert/NOTICE.md CHANGED
@@ -3,15 +3,11 @@
3
  Source and publisher:
4
  [TencentGameMate/chinese-hubert-base](https://huggingface.co/TencentGameMate/chinese-hubert-base).
5
  The upstream model card declares MIT. The [MIT permission text](LICENSE) is
6
- included with this component. The upstream repository does not supply a separate
7
- copyright line; this notice identifies its publisher without inventing one.
8
 
9
- PL-Flow exports the pretrained HuBERT model state as `model.safetensors`, with
10
- parameter names adapted to the local wrapper and weight-normalization layout.
11
- No additional HuBERT training is performed by PL-Flow. The exported file's SHA256
12
- is recorded in [bundle.json](../bundle.json).
13
 
14
  License reference:
15
  [upstream model card at fce0375452b1dd6c080ac3248d423d4d037bc831](https://huggingface.co/TencentGameMate/chinese-hubert-base/blob/fce0375452b1dd6c080ac3248d423d4d037bc831/README.md).
16
- The original import revision was not recorded; this reference identifies the
17
- license declaration, not a verified revision of the imported checkpoint.
 
3
  Source and publisher:
4
  [TencentGameMate/chinese-hubert-base](https://huggingface.co/TencentGameMate/chinese-hubert-base).
5
  The upstream model card declares MIT. The [MIT permission text](LICENSE) is
6
+ included with this component.
 
7
 
8
+ This component contains the pretrained HuBERT model state in `model.safetensors`,
9
+ with parameter names adapted to the local wrapper and weight-normalization layout.
10
+ Its SHA256 is recorded in [bundle.json](../bundle.json).
 
11
 
12
  License reference:
13
  [upstream model card at fce0375452b1dd6c080ac3248d423d4d037bc831](https://huggingface.co/TencentGameMate/chinese-hubert-base/blob/fce0375452b1dd6c080ac3248d423d4d037bc831/README.md).
 
 
plbert/NOTICE.md CHANGED
@@ -5,20 +5,16 @@ the phoneme ALBERT portion of `kokoro-v1_0.pth`.
5
  The upstream model card explicitly licenses the weights under Apache-2.0;
6
  the license is reproduced in [LICENSE](LICENSE).
7
 
8
- PL-Flow extracts the ALBERT tensors, omits the unused TTS projection and synthesis
9
- decoder, and exports them as `model.safetensors` under the PL-Flow parameter
10
- names. This is a repackaged pretrained component, not a model trained by PL-Flow.
11
- The exported file's SHA256 is recorded in [bundle.json](../bundle.json).
12
 
13
  Kokoro is published by hexgrad. Its model card credits `@rzvzn` with training and
14
  [Li et al. / StyleTTS 2](https://github.com/yl4579/StyleTTS2) with the architecture.
15
  It also attributes training audio to [Koniwa](https://github.com/koniwa/koniwa)
16
  (`tnc`, [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)) and
17
  [SIWIS](https://datashare.ed.ac.uk/handle/10283/2353)
18
- ([CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)). These upstream
19
- attributions are retained; no audio or voice packs are distributed here.
20
 
21
  License and attribution reference:
22
  [upstream model card at f3ff3571791e39611d31c381e3a41a3af07b4987](https://huggingface.co/hexgrad/Kokoro-82M/blob/f3ff3571791e39611d31c381e3a41a3af07b4987/README.md).
23
- The original import revision was not recorded; this reference identifies the
24
- license declaration, not a verified revision of the imported checkpoint.
 
5
  The upstream model card explicitly licenses the weights under Apache-2.0;
6
  the license is reproduced in [LICENSE](LICENSE).
7
 
8
+ This component contains the phoneme ALBERT tensor subset in `model.safetensors`,
9
+ with parameter names adapted to PL-Flow. Its SHA256 is recorded in
10
+ [bundle.json](../bundle.json).
 
11
 
12
  Kokoro is published by hexgrad. Its model card credits `@rzvzn` with training and
13
  [Li et al. / StyleTTS 2](https://github.com/yl4579/StyleTTS2) with the architecture.
14
  It also attributes training audio to [Koniwa](https://github.com/koniwa/koniwa)
15
  (`tnc`, [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)) and
16
  [SIWIS](https://datashare.ed.ac.uk/handle/10283/2353)
17
+ ([CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)).
 
18
 
19
  License and attribution reference:
20
  [upstream model card at f3ff3571791e39611d31c381e3a41a3af07b4987](https://huggingface.co/hexgrad/Kokoro-82M/blob/f3ff3571791e39611d31c381e3a41a3af07b4987/README.md).
 
 
speaker/NOTICE.md CHANGED
@@ -1,9 +1,8 @@
1
- # External speaker checkpoint
2
 
3
  PL-Flow uses `wavlm_large_finetune.pth`, obtained through the model link in
4
  [Seed-TTS-Eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics).
5
- It is the WavLM Large model fine-tuned for speaker verification, not the base
6
- WavLM pretraining checkpoint.
7
 
8
  **[Download wavlm_large_finetune.pth](https://drive.google.com/file/d/1-aE1NfzpRCLxA4GUxX9ITI3F9LlbtEGP/view)**
9
 
@@ -19,10 +18,7 @@ speaker/
19
  Expected size: **1,301,926,579 bytes**.
20
  SHA256: `51f07e3b94d9e0262a6a675ef5a087be3dd09e8c62e9d886827f44f82fe7f94b`.
21
 
22
- The checkpoint is not distributed in this repository. Its applicable upstream
23
- terms remain in effect; the project's GPL does not license these weights.
24
 
25
- PL-Flow verifies the file hash before starting the independent speaker tool.
26
- The tool loads the original checkpoint locally, omits the training classifier,
27
- and adapts weight-normalization parameter names in memory. No manual conversion
28
- or embedding-extraction command is needed.
 
1
+ # Speaker checkpoint
2
 
3
  PL-Flow uses `wavlm_large_finetune.pth`, obtained through the model link in
4
  [Seed-TTS-Eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics).
5
+ It is a WavLM Large model fine-tuned for speaker verification.
 
6
 
7
  **[Download wavlm_large_finetune.pth](https://drive.google.com/file/d/1-aE1NfzpRCLxA4GUxX9ITI3F9LlbtEGP/view)**
8
 
 
18
  Expected size: **1,301,926,579 bytes**.
19
  SHA256: `51f07e3b94d9e0262a6a675ef5a087be3dd09e8c62e9d886827f44f82fe7f94b`.
20
 
21
+ The checkpoint is subject to its upstream terms.
 
22
 
23
+ PL-Flow verifies the file hash and extracts speaker features automatically during
24
+ synthesis.