bezzam HF Staff commited on
Commit
77b3b89
·
verified ·
1 Parent(s): b81ae06

Upload model

Browse files
Files changed (2) hide show
  1. config.json +132 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "acoustic_model_config": {
3
+ "codebook_dim": 8,
4
+ "codebook_loss_weight": 1.0,
5
+ "codebook_size": 1024,
6
+ "commitment_loss_weight": 0.25,
7
+ "decoder_hidden_size": 1024,
8
+ "downsampling_ratios": [
9
+ 8,
10
+ 5,
11
+ 4,
12
+ 2
13
+ ],
14
+ "encoder_hidden_size": 64,
15
+ "hidden_size": 256,
16
+ "hop_length": 320,
17
+ "model_type": "dac",
18
+ "n_codebooks": 9,
19
+ "quantizer_dropout": 0,
20
+ "sampling_rate": 16000,
21
+ "upsampling_ratios": [
22
+ 8,
23
+ 5,
24
+ 4,
25
+ 2
26
+ ]
27
+ },
28
+ "architectures": [
29
+ "XcodecModel"
30
+ ],
31
+ "audio_channels": 1,
32
+ "block_dilations": [
33
+ 1,
34
+ 1
35
+ ],
36
+ "channel_ratios": [
37
+ 1,
38
+ 1
39
+ ],
40
+ "codebook_dim": 1024,
41
+ "codebook_size": 1024,
42
+ "decoder_channels": 768,
43
+ "encoder_channels": 768,
44
+ "hidden_dim": 1024,
45
+ "initializer_range": 0.02,
46
+ "input_channels": 768,
47
+ "intermediate_dim": 768,
48
+ "kernel_size": 3,
49
+ "model_type": "xcodec",
50
+ "num_quantizers": 8,
51
+ "output_channels": 768,
52
+ "output_dim": 256,
53
+ "sample_rate": 16000,
54
+ "semantic_model_config": {
55
+ "activation_dropout": 0.1,
56
+ "apply_spec_augment": true,
57
+ "attention_dropout": 0.1,
58
+ "classifier_proj_size": 256,
59
+ "conv_bias": false,
60
+ "conv_dim": [
61
+ 512,
62
+ 512,
63
+ 512,
64
+ 512,
65
+ 512,
66
+ 512,
67
+ 512
68
+ ],
69
+ "conv_kernel": [
70
+ 10,
71
+ 3,
72
+ 3,
73
+ 3,
74
+ 3,
75
+ 2,
76
+ 2
77
+ ],
78
+ "conv_pos_batch_norm": false,
79
+ "conv_stride": [
80
+ 5,
81
+ 2,
82
+ 2,
83
+ 2,
84
+ 2,
85
+ 2,
86
+ 2
87
+ ],
88
+ "ctc_loss_reduction": "sum",
89
+ "ctc_zero_infinity": false,
90
+ "do_stable_layer_norm": false,
91
+ "feat_extract_activation": "gelu",
92
+ "feat_extract_norm": "group",
93
+ "feat_proj_dropout": 0.0,
94
+ "feat_proj_layer_norm": true,
95
+ "final_dropout": 0.1,
96
+ "hidden_act": "gelu",
97
+ "hidden_dropout": 0.1,
98
+ "hidden_size": 768,
99
+ "initializer_range": 0.02,
100
+ "intermediate_size": 3072,
101
+ "layer_norm_eps": 1e-05,
102
+ "layerdrop": 0.1,
103
+ "mask_feature_length": 10,
104
+ "mask_feature_min_masks": 0,
105
+ "mask_feature_prob": 0.0,
106
+ "mask_time_length": 10,
107
+ "mask_time_min_masks": 2,
108
+ "mask_time_prob": 0.05,
109
+ "model_type": "hubert",
110
+ "num_attention_heads": 12,
111
+ "num_conv_pos_embedding_groups": 16,
112
+ "num_conv_pos_embeddings": 128,
113
+ "num_feat_extract_layers": 7,
114
+ "num_hidden_layers": 12,
115
+ "use_weighted_layer_sum": false,
116
+ "vocab_size": 32
117
+ },
118
+ "strides": [
119
+ 1,
120
+ 1
121
+ ],
122
+ "target_bandwidths": [
123
+ 0.5,
124
+ 1,
125
+ 1.5,
126
+ 2,
127
+ 4
128
+ ],
129
+ "torch_dtype": "float32",
130
+ "transformers_version": "4.56.0.dev0",
131
+ "unit_kernel_size": 3
132
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6191971294c216bf6fb7f38fb39e69267a2e3eea6b5469a0952806923b901ce5
3
+ size 709991220