mzbac commited on
Commit
cf0291a
·
verified ·
1 Parent(s): 71bfd50

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. config.json +126 -0
  2. hubert_weights.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "return_dict": true,
3
+ "output_hidden_states": false,
4
+ "output_attentions": false,
5
+ "torchscript": false,
6
+ "torch_dtype": "float32",
7
+ "use_bfloat16": false,
8
+ "tf_legacy_loss": false,
9
+ "pruned_heads": {},
10
+ "tie_word_embeddings": true,
11
+ "chunk_size_feed_forward": 0,
12
+ "is_encoder_decoder": false,
13
+ "is_decoder": false,
14
+ "cross_attention_hidden_size": null,
15
+ "add_cross_attention": false,
16
+ "tie_encoder_decoder": false,
17
+ "max_length": 20,
18
+ "min_length": 0,
19
+ "do_sample": false,
20
+ "early_stopping": false,
21
+ "num_beams": 1,
22
+ "num_beam_groups": 1,
23
+ "diversity_penalty": 0.0,
24
+ "temperature": 1.0,
25
+ "top_k": 50,
26
+ "top_p": 1.0,
27
+ "typical_p": 1.0,
28
+ "repetition_penalty": 1.0,
29
+ "length_penalty": 1.0,
30
+ "no_repeat_ngram_size": 0,
31
+ "encoder_no_repeat_ngram_size": 0,
32
+ "bad_words_ids": null,
33
+ "num_return_sequences": 1,
34
+ "output_scores": false,
35
+ "return_dict_in_generate": false,
36
+ "forced_bos_token_id": null,
37
+ "forced_eos_token_id": null,
38
+ "remove_invalid_values": false,
39
+ "exponential_decay_length_penalty": null,
40
+ "suppress_tokens": null,
41
+ "begin_suppress_tokens": null,
42
+ "architectures": [
43
+ "HubertModel"
44
+ ],
45
+ "finetuning_task": null,
46
+ "id2label": {
47
+ "0": "LABEL_0",
48
+ "1": "LABEL_1"
49
+ },
50
+ "label2id": {
51
+ "LABEL_0": 0,
52
+ "LABEL_1": 1
53
+ },
54
+ "tokenizer_class": null,
55
+ "prefix": null,
56
+ "bos_token_id": 1,
57
+ "pad_token_id": 0,
58
+ "eos_token_id": 2,
59
+ "sep_token_id": null,
60
+ "decoder_start_token_id": null,
61
+ "task_specific_params": null,
62
+ "problem_type": null,
63
+ "_name_or_path": "bosonai/hubert_base",
64
+ "transformers_version": "4.45.2",
65
+ "model_type": "hubert",
66
+ "num_feat_extract_layers": 7,
67
+ "hidden_size": 768,
68
+ "feat_extract_norm": "group",
69
+ "feat_extract_activation": "gelu",
70
+ "conv_dim": [
71
+ 512,
72
+ 512,
73
+ 512,
74
+ 512,
75
+ 512,
76
+ 512,
77
+ 512
78
+ ],
79
+ "conv_stride": [
80
+ 5,
81
+ 2,
82
+ 2,
83
+ 2,
84
+ 2,
85
+ 2,
86
+ 2
87
+ ],
88
+ "conv_kernel": [
89
+ 10,
90
+ 3,
91
+ 3,
92
+ 3,
93
+ 3,
94
+ 2,
95
+ 2
96
+ ],
97
+ "conv_bias": false,
98
+ "num_conv_pos_embeddings": 128,
99
+ "num_conv_pos_embedding_groups": 16,
100
+ "num_hidden_layers": 12,
101
+ "intermediate_size": 3072,
102
+ "hidden_act": "gelu",
103
+ "num_attention_heads": 12,
104
+ "hidden_dropout": 0.1,
105
+ "attention_dropout": 0.1,
106
+ "activation_dropout": 0.1,
107
+ "feat_proj_layer_norm": true,
108
+ "feat_proj_dropout": 0.0,
109
+ "final_dropout": 0.1,
110
+ "layerdrop": 0.1,
111
+ "layer_norm_eps": 1e-05,
112
+ "initializer_range": 0.02,
113
+ "vocab_size": 32,
114
+ "do_stable_layer_norm": false,
115
+ "use_weighted_layer_sum": false,
116
+ "classifier_proj_size": 256,
117
+ "apply_spec_augment": true,
118
+ "mask_time_prob": 0.05,
119
+ "mask_time_length": 10,
120
+ "mask_time_min_masks": 2,
121
+ "mask_feature_prob": 0.0,
122
+ "mask_feature_length": 10,
123
+ "mask_feature_min_masks": 0,
124
+ "ctc_loss_reduction": "sum",
125
+ "ctc_zero_infinity": false
126
+ }
hubert_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f28b6538a36693de452ee3821d3cc52d596bbcbb5f6def88c5302311d194291
3
+ size 377509744