Xenova HF staff commited on
Commit
ca2c9db
1 Parent(s): c8da6ca

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "laion/larger_clap_general",
3
+ "architectures": [
4
+ "ClapModel"
5
+ ],
6
+ "audio_config": {
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 12,
11
+ 2
12
+ ],
13
+ "hidden_size": 1024,
14
+ "model_type": "clap_audio_model",
15
+ "patch_embeds_hidden_size": 128
16
+ },
17
+ "hidden_size": 768,
18
+ "initializer_factor": 1.0,
19
+ "logit_scale_init_value": 14.285714285714285,
20
+ "model_type": "clap",
21
+ "num_hidden_layers": 16,
22
+ "projection_dim": 512,
23
+ "projection_hidden_act": "relu",
24
+ "text_config": {
25
+ "model_type": "clap_text_model"
26
+ },
27
+ "transformers_version": "4.36.0.dev0"
28
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/audio_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6192254e7f5c9a921dfd095105216c31ef70f508f910f3b926b7fc373b41f770
3
+ size 281749092
onnx/audio_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:320b831d0043d36aa8cfad0f36b64b7c597fa9ff01a5a9b505e37632923cf9ac
3
+ size 78155433
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a758c8d89c25a4ea8dc05770e3e06bf13bbfff0e5ec97652062c335e64a74fc
3
+ size 783395985
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce61fb4aac5a87a9da043237e4519f29b650cf4831f98909d6e788b55e15b96b
3
+ size 204941195
onnx/text_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386413c758300d8f2be107b9fefbc049945b1b1b302938b01039af0ad4984595
3
+ size 501513769
onnx/text_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:045614ce697750cf8876cb965ebfad3ef2d0ae7900dda897d7569f7be86521cd
3
+ size 126603263
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length_s": 10,
3
+ "feature_extractor_type": "ClapFeatureExtractor",
4
+ "feature_size": 64,
5
+ "fft_window_size": 1024,
6
+ "frequency_max": 14000,
7
+ "frequency_min": 50,
8
+ "hop_length": 480,
9
+ "max_length_s": 10,
10
+ "n_fft": 1024,
11
+ "nb_frequency_bins": 513,
12
+ "nb_max_frames": 1000,
13
+ "nb_max_samples": 480000,
14
+ "padding": "repeatpad",
15
+ "padding_side": "right",
16
+ "padding_value": 0.0,
17
+ "processor_class": "ClapProcessor",
18
+ "return_attention_mask": false,
19
+ "sampling_rate": 48000,
20
+ "top_db": null,
21
+ "truncation": "rand_trunc"
22
+ }
quantize_config.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "ConstantOfShape",
8
+ "Unsqueeze",
9
+ "Conv",
10
+ "Pow",
11
+ "Cast",
12
+ "Resize",
13
+ "ReduceMean",
14
+ "Sub",
15
+ "Mul",
16
+ "Constant",
17
+ "Slice",
18
+ "Not",
19
+ "Shape",
20
+ "Concat",
21
+ "Range",
22
+ "BatchNormalization",
23
+ "ScatterND",
24
+ "Where",
25
+ "Gather",
26
+ "Expand",
27
+ "Tanh",
28
+ "Identity",
29
+ "ReduceSum",
30
+ "Relu",
31
+ "Gemm",
32
+ "Sqrt",
33
+ "Equal",
34
+ "Erf",
35
+ "MatMul",
36
+ "Transpose",
37
+ "Exp",
38
+ "Add",
39
+ "Flatten",
40
+ "Abs",
41
+ "Softmax",
42
+ "CumSum",
43
+ "Div",
44
+ "Pad",
45
+ "Reshape",
46
+ "GlobalAveragePool"
47
+ ],
48
+ "weight_type": "QUInt8"
49
+ },
50
+ "text_model": {
51
+ "op_types": [
52
+ "Equal",
53
+ "Add",
54
+ "Slice",
55
+ "Cast",
56
+ "Tanh",
57
+ "Gather",
58
+ "Relu",
59
+ "Shape",
60
+ "MatMul",
61
+ "Softmax",
62
+ "Pow",
63
+ "CumSum",
64
+ "Erf",
65
+ "Div",
66
+ "Constant",
67
+ "ConstantOfShape",
68
+ "Not",
69
+ "Sqrt",
70
+ "Gemm",
71
+ "Reshape",
72
+ "Unsqueeze",
73
+ "Sub",
74
+ "ReduceMean",
75
+ "Where",
76
+ "Concat",
77
+ "Transpose",
78
+ "Mul",
79
+ "Expand"
80
+ ],
81
+ "weight_type": "QInt8"
82
+ },
83
+ "audio_model": {
84
+ "op_types": [
85
+ "Equal",
86
+ "GlobalAveragePool",
87
+ "Add",
88
+ "Conv",
89
+ "Slice",
90
+ "Resize",
91
+ "Cast",
92
+ "Gather",
93
+ "Range",
94
+ "Relu",
95
+ "ScatterND",
96
+ "Shape",
97
+ "MatMul",
98
+ "Softmax",
99
+ "Pow",
100
+ "Erf",
101
+ "Div",
102
+ "Constant",
103
+ "BatchNormalization",
104
+ "ConstantOfShape",
105
+ "Not",
106
+ "Sqrt",
107
+ "Gemm",
108
+ "Reshape",
109
+ "Pad",
110
+ "Unsqueeze",
111
+ "Flatten",
112
+ "ReduceMean",
113
+ "Sub",
114
+ "Where",
115
+ "Transpose",
116
+ "Concat",
117
+ "Mul",
118
+ "Expand"
119
+ ],
120
+ "weight_type": "QUInt8"
121
+ }
122
+ }
123
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "max_length": null,
52
+ "model_max_length": 512,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "<pad>",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "processor_class": "ClapProcessor",
58
+ "sep_token": "</s>",
59
+ "tokenizer_class": "RobertaTokenizer",
60
+ "trim_offsets": true,
61
+ "trust_remote_code": false,
62
+ "unk_token": "<unk>"
63
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff