Automatic Speech Recognition
Transformers
PyTorch
speech-encoder-decoder
speech
xls_r
xls_r_translation
Inference Endpoints
ydshieh HF staff commited on
Commit
d7f840d
1 Parent(s): 46209da

Update config.json

Browse files

Add ` "processor_class": "Wav2Vec2Processor",`, so we can use `AutoProcessor` to load the processor.

Files changed (1) hide show
  1. config.json +1 -0
config.json CHANGED
@@ -234,6 +234,7 @@
234
  "forced_eos_token_id": 2,
235
  "is_encoder_decoder": true,
236
  "model_type": "speech-encoder-decoder",
 
237
  "pad_token_id": 1,
238
  "tie_word_embeddings": false,
239
  "tokenizer_class": "mbart50",
 
234
  "forced_eos_token_id": 2,
235
  "is_encoder_decoder": true,
236
  "model_type": "speech-encoder-decoder",
237
+ "processor_class": "Wav2Vec2Processor",
238
  "pad_token_id": 1,
239
  "tie_word_embeddings": false,
240
  "tokenizer_class": "mbart50",