ylacombe HF staff commited on
Commit
1f934ef
1 Parent(s): 15f40b8

Upload Wav2Vec2BERTForPreTraining

Browse files
Files changed (2) hide show
  1. config.json +80 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "adapter_kernel_size": 3,
4
+ "adapter_stride": 2,
5
+ "add_adapter": false,
6
+ "apply_spec_augment": false,
7
+ "architectures": [
8
+ "Wav2Vec2BERTForPreTraining"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 1,
12
+ "classifier_proj_size": 768,
13
+ "codevector_dim": 768,
14
+ "conformer_conv_dropout": 0.1,
15
+ "contrastive_logits_temperature": 0.1,
16
+ "conv_depthwise_kernel_size": 31,
17
+ "ctc_loss_reduction": "sum",
18
+ "ctc_zero_infinity": false,
19
+ "diversity_loss_weight": 0.1,
20
+ "eos_token_id": 2,
21
+ "feat_proj_dropout": 0.0,
22
+ "feat_quantizer_dropout": 0.0,
23
+ "feature_projection_input_dim": 160,
24
+ "final_dropout": 0.1,
25
+ "hidden_act": "swish",
26
+ "hidden_dropout": 0.0,
27
+ "hidden_size": 1024,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 4096,
30
+ "layer_norm_eps": 1e-05,
31
+ "layerdrop": 0.1,
32
+ "left_max_position_embeddings": 64,
33
+ "mask_feature_length": 10,
34
+ "mask_feature_min_masks": 0,
35
+ "mask_feature_prob": 0.0,
36
+ "mask_time_length": 10,
37
+ "mask_time_min_masks": 2,
38
+ "mask_time_prob": 0.05,
39
+ "max_source_positions": 5000,
40
+ "model_type": "wav2vec2-bert",
41
+ "num_adapter_layers": 1,
42
+ "num_attention_heads": 16,
43
+ "num_codevector_groups": 2,
44
+ "num_codevectors_per_group": 320,
45
+ "num_hidden_layers": 24,
46
+ "num_negatives": 100,
47
+ "output_hidden_size": 1024,
48
+ "pad_token_id": 0,
49
+ "position_embeddings_type": "relative_key",
50
+ "proj_codevector_dim": 768,
51
+ "right_max_position_embeddings": 8,
52
+ "rotary_embedding_base": 10000,
53
+ "tdnn_dilation": [
54
+ 1,
55
+ 2,
56
+ 3,
57
+ 1,
58
+ 1
59
+ ],
60
+ "tdnn_dim": [
61
+ 512,
62
+ 512,
63
+ 512,
64
+ 512,
65
+ 1500
66
+ ],
67
+ "tdnn_kernel": [
68
+ 5,
69
+ 3,
70
+ 3,
71
+ 1,
72
+ 1
73
+ ],
74
+ "torch_dtype": "float32",
75
+ "transformers_version": "4.37.0.dev0",
76
+ "use_intermediate_ffn_before_adapter": false,
77
+ "use_weighted_layer_sum": false,
78
+ "vocab_size": null,
79
+ "xvector_output_dim": 512
80
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ce9f7bd65da973a161b8c1a276f8721eddd6c9add60970d4426065a44176e34
3
+ size 2328981576