Upload folder using huggingface_hub
Browse files- README.md +46 -3
- config.json +21 -0
- filebrowser.db +0 -0
- firefly-gan-vq-fsq-4x1024-42hz-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
CHANGED
@@ -1,3 +1,46 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-speech
|
4 |
+
license: cc-by-nc-sa-4.0
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
- zh
|
8 |
+
- ja
|
9 |
+
pipeline_tag: text-to-speech
|
10 |
+
inference: false
|
11 |
+
extra_gated_prompt: >-
|
12 |
+
You agree to not use the model to generate contents that violate DMCA or local
|
13 |
+
laws.
|
14 |
+
extra_gated_fields:
|
15 |
+
Country: country
|
16 |
+
Specific date: date_picker
|
17 |
+
I agree to use this model for non-commercial use ONLY: checkbox
|
18 |
+
---
|
19 |
+
|
20 |
+
|
21 |
+
# Fish Speech V1.2
|
22 |
+
|
23 |
+
**Fish Speech V1.2** is a leading text-to-speech (TTS) model trained on 300k hours of English, Chinese, and Japanese audio data.
|
24 |
+
|
25 |
+
Please refer to [Fish Speech Github](https://github.com/fishaudio/fish-speech) for more info.
|
26 |
+
Demo available at [Fish Audio](https://fish.audio/).
|
27 |
+
|
28 |
+
## Citation
|
29 |
+
|
30 |
+
If you found this repository useful, please consider citing this work:
|
31 |
+
|
32 |
+
```
|
33 |
+
@misc{fish-speech-v1,
|
34 |
+
author = {Shijia Liao, Tianyu Li},
|
35 |
+
title = {Fish Speech V1},
|
36 |
+
year = {2024},
|
37 |
+
publisher = {GitHub},
|
38 |
+
journal = {GitHub repository},
|
39 |
+
howpublished = {\url{https://github.com/fishaudio/fish-speech}}
|
40 |
+
}
|
41 |
+
```
|
42 |
+
|
43 |
+
## License
|
44 |
+
|
45 |
+
This model is permissively licensed under the BY-CC-NC-SA-4.0 license.
|
46 |
+
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": 4096,
|
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": 4,
|
17 |
+
"rope_base": 1000000.0,
|
18 |
+
"tie_word_embeddings": false,
|
19 |
+
"use_gradient_checkpointing": true,
|
20 |
+
"vocab_size": 32000
|
21 |
+
}
|
filebrowser.db
ADDED
Binary file (65.5 kB). View file
|
|
firefly-gan-vq-fsq-4x1024-42hz-generator.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c64a1054cd6aea91565b409d4f19338c79fe0a8b63fb75d2f0eb0f252f1f7b43
|
3 |
+
size 167393289
|
model.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d22f01a8c9092582fa27e8c04767a764fc55a2adb30bab059e1eaa12df01f4e7
|
3 |
+
size 980602750
|
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": "<|phoneme_start|>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"8": {
|
68 |
+
"content": "<|phoneme_end|>",
|
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 |
+
}
|