Automatic Speech Recognition
Transformers
PyTorch
speech-encoder-decoder
speech
xls_r
xls_r_translation
Inference Endpoints
patrickvonplaten commited on
Commit
8878d6c
1 Parent(s): f53ffd5
Files changed (2) hide show
  1. config.json +9 -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,
@@ -237,4 +239,6 @@
237
  "tokenizer_class": "mbart50",
238
  "torch_dtype": "float32",
239
  "transformers_version": null
 
 
240
  }
 
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": 250003,
234
+ "forced_eos_token_id": 2,
235
  "is_encoder_decoder": true,
236
  "model_type": "speech-encoder-decoder",
237
  "pad_token_id": 1,
 
239
  "tokenizer_class": "mbart50",
240
  "torch_dtype": "float32",
241
  "transformers_version": null
242
+ "max_length": 200,
243
+ "num_beams": 5
244
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b795151964018d6dd91864227bd69763827415785aeb735f9ab054b4a559a9a
3
  size 3172257129
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f54e9ce1c207761c45d2b1e82b42479aef2d7d5535091883dce689323e74f32
3
  size 3172257129