lengyue233
commited on
Commit
•
fc2d33a
1
Parent(s):
e6c0f56
Upload folder using huggingface_hub
Browse files- README.md +61 -0
- config.json +21 -0
- firefly-gan-vq-fsq-8x1024-21hz-generator.pth +3 -0
- model.pth +3 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer_config.json +82 -0
README.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-speech
|
4 |
+
license: cc-by-nc-sa-4.0
|
5 |
+
language:
|
6 |
+
- zh
|
7 |
+
- en
|
8 |
+
- de
|
9 |
+
- ja
|
10 |
+
- fr
|
11 |
+
- es
|
12 |
+
- ko
|
13 |
+
- ar
|
14 |
+
pipeline_tag: text-to-speech
|
15 |
+
inference: false
|
16 |
+
extra_gated_prompt: >-
|
17 |
+
You agree to not use the model to generate contents that violate DMCA or local
|
18 |
+
laws.
|
19 |
+
extra_gated_fields:
|
20 |
+
Country: country
|
21 |
+
Specific date: date_picker
|
22 |
+
I agree to use this model for non-commercial use ONLY: checkbox
|
23 |
+
---
|
24 |
+
|
25 |
+
|
26 |
+
# Fish Speech V1.4
|
27 |
+
|
28 |
+
**Fish Speech V1.4** is a leading text-to-speech (TTS) model trained on 700k hours of audio data in multiple languages.
|
29 |
+
|
30 |
+
Supported languages:
|
31 |
+
- English (en) ~300k hours
|
32 |
+
- Chinese (zh) ~300k hours
|
33 |
+
- German (de) ~20k hours
|
34 |
+
- Japanese (ja) ~20k hours
|
35 |
+
- French (fr) ~20k hours
|
36 |
+
- Spanish (es) ~20k hours
|
37 |
+
- Korean (ko) ~20k hours
|
38 |
+
- Arabic (ar) ~20k hours
|
39 |
+
|
40 |
+
Please refer to [Fish Speech Github](https://github.com/fishaudio/fish-speech) for more info.
|
41 |
+
Demo available at [Fish Audio](https://fish.audio/).
|
42 |
+
|
43 |
+
## Citation
|
44 |
+
|
45 |
+
If you found this repository useful, please consider citing this work:
|
46 |
+
|
47 |
+
```
|
48 |
+
@misc{fish-speech-v1.4,
|
49 |
+
author = {Shijia Liao, Tianyu Li, etc},
|
50 |
+
title = {Fish Speech V1.4},
|
51 |
+
year = {2024},
|
52 |
+
publisher = {GitHub},
|
53 |
+
journal = {GitHub repository},
|
54 |
+
howpublished = {\url{https://github.com/fishaudio/fish-speech}}
|
55 |
+
}
|
56 |
+
```
|
57 |
+
|
58 |
+
## License
|
59 |
+
|
60 |
+
This model is permissively licensed under the BY-CC-NC-SA-4.0 license.
|
61 |
+
The source code is released under BSD-3-Clause license.
|
config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attention_qkv_bias": false,
|
3 |
+
"codebook_size": 1024,
|
4 |
+
"dim": 1024,
|
5 |
+
"dropout": 0.1,
|
6 |
+
"head_dim": 64,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"intermediate_size": 4096,
|
9 |
+
"max_seq_len": 2048,
|
10 |
+
"model_type": "dual_ar",
|
11 |
+
"n_fast_layer": 4,
|
12 |
+
"n_head": 16,
|
13 |
+
"n_layer": 24,
|
14 |
+
"n_local_heads": 2,
|
15 |
+
"norm_eps": 1e-06,
|
16 |
+
"num_codebooks": 8,
|
17 |
+
"rope_base": 1000000.0,
|
18 |
+
"tie_word_embeddings": false,
|
19 |
+
"use_gradient_checkpointing": true,
|
20 |
+
"vocab_size": 32000
|
21 |
+
}
|
firefly-gan-vq-fsq-8x1024-21hz-generator.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01b81dbf753224a156c3fe139b88bf0b9a0f54b11bee864f95e66511c3ccd754
|
3 |
+
size 188518579
|
model.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ddba5494524861bbdbb3fc1e49d90a3b30becccd11fc1b6d83febf10f047a49
|
3 |
+
size 988988542
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|begin_of_sequence|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|end_of_sequence|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|pad|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<|begin_of_sequence|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<|end_of_sequence|>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<|pad|>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<|im_start|>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "<|im_end|>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"5": {
|
44 |
+
"content": "<|semantic|>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"6": {
|
52 |
+
"content": "<|mel|>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"7": {
|
60 |
+
"content": "<|reserve_0|>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"8": {
|
68 |
+
"content": "<|reserve_1|>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
}
|
75 |
+
},
|
76 |
+
"bos_token": "<|begin_of_sequence|>",
|
77 |
+
"clean_up_tokenization_spaces": true,
|
78 |
+
"eos_token": "<|end_of_sequence|>",
|
79 |
+
"model_max_length": 1000000000000000019884624838656,
|
80 |
+
"pad_token": "<|pad|>",
|
81 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
82 |
+
}
|