Automatic Speech Recognition
Transformers
PyTorch
speech-encoder-decoder
speech
xls_r
xls_r_translation
Inference Endpoints
patrickvonplaten commited on
Commit
ba08693
1 Parent(s): fc3a739

correct model

Browse files
Files changed (2) hide show
  1. config.json +7 -5
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -94,13 +94,13 @@
94
  "use_cache": true,
95
  "vocab_size": 250054
96
  },
97
- "decoder_start_token_id": 250004,
98
  "encoder": {
99
  "_name_or_path": "",
100
  "activation_dropout": 0.0,
101
- "adaptor_kernel_size": 3,
102
- "adaptor_stride": 2,
103
- "add_adaptor": true,
104
  "add_cross_attention": false,
105
  "apply_spec_augment": true,
106
  "architectures": [
@@ -188,7 +188,7 @@
188
  "min_length": 0,
189
  "model_type": "wav2vec2",
190
  "no_repeat_ngram_size": 0,
191
- "num_adaptor_layers": 3,
192
  "num_attention_heads": 16,
193
  "num_beam_groups": 1,
194
  "num_beams": 1,
@@ -230,6 +230,8 @@
230
  },
231
  "eos_token_id": 2,
232
  "feature_extractor_type": "wav2vec2",
 
 
233
  "is_encoder_decoder": true,
234
  "model_type": "speech-encoder-decoder",
235
  "pad_token_id": 1,
 
94
  "use_cache": true,
95
  "vocab_size": 250054
96
  },
97
+ "decoder_start_token_id": 2,
98
  "encoder": {
99
  "_name_or_path": "",
100
  "activation_dropout": 0.0,
101
+ "adapter_kernel_size": 3,
102
+ "adapter_stride": 2,
103
+ "add_adapter": true,
104
  "add_cross_attention": false,
105
  "apply_spec_augment": true,
106
  "architectures": [
 
188
  "min_length": 0,
189
  "model_type": "wav2vec2",
190
  "no_repeat_ngram_size": 0,
191
+ "num_adapter_layers": 3,
192
  "num_attention_heads": 16,
193
  "num_beam_groups": 1,
194
  "num_beams": 1,
 
230
  },
231
  "eos_token_id": 2,
232
  "feature_extractor_type": "wav2vec2",
233
+ "forced_bos_token_id": 250004,
234
+ "forced_eos_token_id": 2,
235
  "is_encoder_decoder": true,
236
  "model_type": "speech-encoder-decoder",
237
  "pad_token_id": 1,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:24a8779d697f240f846a340b9c93ade4706d2f40c126af70bf3e3f3b91a77929
3
  size 5765908733
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b14077bddd591cdea183133ccfa800f942199affd2a87b371dd5d109eee0131
3
  size 5765908733