import{S as ts,i as os,s as rs,e as r,k as p,w as v,t as s,M as ns,c as n,d as o,m as h,a,x as b,h as i,b as d,G as e,g as T,y as $,q as w,o as M,B as y,v as as,L as fo}from"../../chunks/vendor-hf-doc-builder.js";import{T as Ro}from"../../chunks/Tip-hf-doc-builder.js";import{D as N}from"../../chunks/Docstring-hf-doc-builder.js";import{C as uo}from"../../chunks/CodeBlock-hf-doc-builder.js";import{I as ct}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{E as ho}from"../../chunks/ExampleCodeBlock-hf-doc-builder.js";function ss(E){let l,_,m,u,C;return u=new uo({props:{code:`from transformers import MCTCTConfig, MCTCTModel

# Initializing a M-CTC-T mctct-large style configuration
configuration = MCTCTConfig()

# Initializing a model (with random weights) from the mctct-large style configuration
model = MCTCTModel(configuration)

# Accessing the model configuration
configuration = model.config`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> MCTCTConfig, MCTCTModel

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a M-CTC-T mctct-large style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>configuration = MCTCTConfig()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a model (with random weights) from the mctct-large style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>model = MCTCTModel(configuration)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Accessing the model configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>configuration = model.config`}}),{c(){l=r("p"),_=s("Example:"),m=p(),v(u.$$.fragment)},l(c){l=n(c,"P",{});var g=a(l);_=i(g,"Example:"),g.forEach(o),m=h(c),b(u.$$.fragment,c)},m(c,g){T(c,l,g),e(l,_),T(c,m,g),$(u,c,g),C=!0},p:fo,i(c){C||(w(u.$$.fragment,c),C=!0)},o(c){M(u.$$.fragment,c),C=!1},d(c){c&&o(l),c&&o(m),y(u,c)}}}function is(E){let l,_,m,u,C,c,g,P;return{c(){l=r("p"),_=s(`This class method is simply calling the feature extractor
`),m=r("a"),u=s("from_pretrained()"),C=s(` and the tokenizer
`),c=r("code"),g=s("~tokenization_utils_base.PreTrainedTokenizer.from_pretrained"),P=s(` methods. Please refer to the docstrings of the
methods above for more information.`),this.h()},l(F){l=n(F,"P",{});var x=a(l);_=i(x,`This class method is simply calling the feature extractor
`),m=n(x,"A",{href:!0});var j=a(m);u=i(j,"from_pretrained()"),j.forEach(o),C=i(x,` and the tokenizer
`),c=n(x,"CODE",{});var q=a(c);g=i(q,"~tokenization_utils_base.PreTrainedTokenizer.from_pretrained"),q.forEach(o),P=i(x,` methods. Please refer to the docstrings of the
methods above for more information.`),x.forEach(o),this.h()},h(){d(m,"href","/docs/transformers/pr_19907/en/internal/image_processing_utils#transformers.FeatureExtractionMixin.from_pretrained")},m(F,x){T(F,l,x),e(l,_),e(l,m),e(m,u),e(l,C),e(l,c),e(c,g),e(l,P)},d(F){F&&o(l)}}}function ls(E){let l,_,m,u,C,c,g,P;return{c(){l=r("p"),_=s("This class method is simply calling "),m=r("a"),u=s("save_pretrained()"),C=s(` and
`),c=r("a"),g=s("save_pretrained()"),P=s(`. Please refer to the docstrings of the
methods above for more information.`),this.h()},l(F){l=n(F,"P",{});var x=a(l);_=i(x,"This class method is simply calling "),m=n(x,"A",{href:!0});var j=a(m);u=i(j,"save_pretrained()"),j.forEach(o),C=i(x,` and
`),c=n(x,"A",{href:!0});var q=a(c);g=i(q,"save_pretrained()"),q.forEach(o),P=i(x,`. Please refer to the docstrings of the
methods above for more information.`),x.forEach(o),this.h()},h(){d(m,"href","/docs/transformers/pr_19907/en/internal/image_processing_utils#transformers.FeatureExtractionMixin.save_pretrained"),d(c,"href","/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.save_pretrained")},m(F,x){T(F,l,x),e(l,_),e(l,m),e(m,u),e(l,C),e(l,c),e(c,g),e(l,P)},d(F){F&&o(l)}}}function cs(E){let l,_,m,u,C;return{c(){l=r("p"),_=s("Although the recipe for forward pass needs to be defined within this function, one should call the "),m=r("code"),u=s("Module"),C=s(`
instance afterwards instead of this since the former takes care of running the pre and post processing steps while
the latter silently ignores them.`)},l(c){l=n(c,"P",{});var g=a(l);_=i(g,"Although the recipe for forward pass needs to be defined within this function, one should call the "),m=n(g,"CODE",{});var P=a(m);u=i(P,"Module"),P.forEach(o),C=i(g,`
instance afterwards instead of this since the former takes care of running the pre and post processing steps while
the latter silently ignores them.`),g.forEach(o)},m(c,g){T(c,l,g),e(l,_),e(l,m),e(m,u),e(l,C)},d(c){c&&o(l)}}}function ds(E){let l,_,m,u,C;return u=new uo({props:{code:`from transformers import MCTCTProcessor, MCTCTModel
from datasets import load_dataset
import torch

dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
dataset = dataset.sort("id")
sampling_rate = dataset.features["audio"].sampling_rate

processor = MCTCTProcessor.from_pretrained("speechbrain/m-ctc-t-large")
model = MCTCTModel.from_pretrained("speechbrain/m-ctc-t-large")

# audio file is decoded on the fly
inputs = processor(dataset[0]["audio"]["array"], sampling_rate=sampling_rate, return_tensors="pt")
with torch.no_grad():
    logits = model(**inputs).logits
predicted_ids = torch.argmax(logits, dim=-1)

# transcribe speech
transcription = processor.batch_decode(predicted_ids)
transcription[0]`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> MCTCTProcessor, MCTCTModel
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;hf-internal-testing/librispeech_asr_demo&quot;</span>, <span class="hljs-string">&quot;clean&quot;</span>, split=<span class="hljs-string">&quot;validation&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = dataset.sort(<span class="hljs-string">&quot;id&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>sampling_rate = dataset.features[<span class="hljs-string">&quot;audio&quot;</span>].sampling_rate

<span class="hljs-meta">&gt;&gt;&gt; </span>processor = MCTCTProcessor.from_pretrained(<span class="hljs-string">&quot;speechbrain/m-ctc-t-large&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = MCTCTModel.from_pretrained(<span class="hljs-string">&quot;speechbrain/m-ctc-t-large&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># audio file is decoded on the fly</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>inputs = processor(dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>], sampling_rate=sampling_rate, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> torch.no_grad():
<span class="hljs-meta">... </span>    logits = model(**inputs).logits
<span class="hljs-meta">&gt;&gt;&gt; </span>predicted_ids = torch.argmax(logits, dim=-<span class="hljs-number">1</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># transcribe speech</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>transcription = processor.batch_decode(predicted_ids)
<span class="hljs-meta">&gt;&gt;&gt; </span>transcription[<span class="hljs-number">0</span>]
[<span class="hljs-number">1</span>, <span class="hljs-number">195</span>, <span class="hljs-number">1536</span>]`}}),{c(){l=r("p"),_=s("Example:"),m=p(),v(u.$$.fragment)},l(c){l=n(c,"P",{});var g=a(l);_=i(g,"Example:"),g.forEach(o),m=h(c),b(u.$$.fragment,c)},m(c,g){T(c,l,g),e(l,_),T(c,m,g),$(u,c,g),C=!0},p:fo,i(c){C||(w(u.$$.fragment,c),C=!0)},o(c){M(u.$$.fragment,c),C=!1},d(c){c&&o(l),c&&o(m),y(u,c)}}}function ms(E){let l,_;return l=new uo({props:{code:`inputs["labels"] = processor(text=dataset[0]["text"], return_tensors="pt").input_ids

# compute loss
loss = model(**inputs).loss
round(loss.item(), 2)
`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>inputs[<span class="hljs-string">&quot;labels&quot;</span>] = processor(text=dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;text&quot;</span>], return_tensors=<span class="hljs-string">&quot;pt&quot;</span>).input_ids

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># compute loss</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>loss = model(**inputs).loss
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">round</span>(loss.item(), <span class="hljs-number">2</span>)
`}}),{c(){v(l.$$.fragment)},l(m){b(l.$$.fragment,m)},m(m,u){$(l,m,u),_=!0},p:fo,i(m){_||(w(l.$$.fragment,m),_=!0)},o(m){M(l.$$.fragment,m),_=!1},d(m){y(l,m)}}}function ps(E){let l,_,m,u,C;return{c(){l=r("p"),_=s("Although the recipe for forward pass needs to be defined within this function, one should call the "),m=r("code"),u=s("Module"),C=s(`
instance afterwards instead of this since the former takes care of running the pre and post processing steps while
the latter silently ignores them.`)},l(c){l=n(c,"P",{});var g=a(l);_=i(g,"Although the recipe for forward pass needs to be defined within this function, one should call the "),m=n(g,"CODE",{});var P=a(m);u=i(P,"Module"),P.forEach(o),C=i(g,`
instance afterwards instead of this since the former takes care of running the pre and post processing steps while
the latter silently ignores them.`),g.forEach(o)},m(c,g){T(c,l,g),e(l,_),e(l,m),e(m,u),e(l,C)},d(c){c&&o(l)}}}function hs(E){let l,_,m,u,C;return u=new uo({props:{code:`from transformers import MCTCTProcessor, MCTCTForCTC
from datasets import load_dataset
import torch

dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
dataset = dataset.sort("id")
sampling_rate = dataset.features["audio"].sampling_rate

processor = MCTCTProcessor.from_pretrained("speechbrain/m-ctc-t-large")
model = MCTCTForCTC.from_pretrained("speechbrain/m-ctc-t-large")

# audio file is decoded on the fly
inputs = processor(dataset[0]["audio"]["array"], sampling_rate=sampling_rate, return_tensors="pt")
with torch.no_grad():
    logits = model(**inputs).logits
predicted_ids = torch.argmax(logits, dim=-1)

# transcribe speech
transcription = processor.batch_decode(predicted_ids)
transcription[0]`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> MCTCTProcessor, MCTCTForCTC
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;hf-internal-testing/librispeech_asr_demo&quot;</span>, <span class="hljs-string">&quot;clean&quot;</span>, split=<span class="hljs-string">&quot;validation&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = dataset.sort(<span class="hljs-string">&quot;id&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>sampling_rate = dataset.features[<span class="hljs-string">&quot;audio&quot;</span>].sampling_rate

<span class="hljs-meta">&gt;&gt;&gt; </span>processor = MCTCTProcessor.from_pretrained(<span class="hljs-string">&quot;speechbrain/m-ctc-t-large&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = MCTCTForCTC.from_pretrained(<span class="hljs-string">&quot;speechbrain/m-ctc-t-large&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># audio file is decoded on the fly</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>inputs = processor(dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>], sampling_rate=sampling_rate, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">with</span> torch.no_grad():
<span class="hljs-meta">... </span>    logits = model(**inputs).logits
<span class="hljs-meta">&gt;&gt;&gt; </span>predicted_ids = torch.argmax(logits, dim=-<span class="hljs-number">1</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># transcribe speech</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>transcription = processor.batch_decode(predicted_ids)
<span class="hljs-meta">&gt;&gt;&gt; </span>transcription[<span class="hljs-number">0</span>]
<span class="hljs-string">&quot;Mr. Quilter is the apostle of the middle classes, and we&#x27;re glad to welcome his gospel.&quot;</span>`}}),{c(){l=r("p"),_=s("Example:"),m=p(),v(u.$$.fragment)},l(c){l=n(c,"P",{});var g=a(l);_=i(g,"Example:"),g.forEach(o),m=h(c),b(u.$$.fragment,c)},m(c,g){T(c,l,g),e(l,_),T(c,m,g),$(u,c,g),C=!0},p:fo,i(c){C||(w(u.$$.fragment,c),C=!0)},o(c){M(u.$$.fragment,c),C=!1},d(c){c&&o(l),c&&o(m),y(u,c)}}}function fs(E){let l,_;return l=new uo({props:{code:`inputs["labels"] = processor(text=dataset[0]["text"], return_tensors="pt").input_ids

# compute loss
loss = model(**inputs).loss
round(loss.item(), 2)`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>inputs[<span class="hljs-string">&quot;labels&quot;</span>] = processor(text=dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;text&quot;</span>], return_tensors=<span class="hljs-string">&quot;pt&quot;</span>).input_ids

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># compute loss</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>loss = model(**inputs).loss
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">round</span>(loss.item(), <span class="hljs-number">2</span>)
<span class="hljs-number">1885.65</span>`}}),{c(){v(l.$$.fragment)},l(m){b(l.$$.fragment,m)},m(m,u){$(l,m,u),_=!0},p:fo,i(m){_||(w(l.$$.fragment,m),_=!0)},o(m){M(l.$$.fragment,m),_=!1},d(m){y(l,m)}}}function us(E){let l,_,m,u,C,c,g,P,F,x,j,q,It,Ee,Uo,Lt,Ho,go,se,Go,Pe,Jo,Ko,_o,dt,Qo,To,mt,St,Yo,Co,R,Xo,ze,Zo,er,Fe,tr,or,vo,K,ie,Nt,je,rr,Ot,nr,bo,L,qe,ar,Q,sr,pt,ir,lr,Ae,cr,dr,mr,Y,pr,ht,hr,fr,ft,ur,gr,_r,le,$o,X,ce,Vt,De,Tr,Wt,Cr,wo,S,Ie,vr,Bt,br,$r,Z,wr,ut,Mr,yr,Le,xr,kr,Er,de,Se,Pr,Rt,zr,Mo,ee,me,Ut,Ne,Fr,Ht,jr,yo,k,Oe,qr,Gt,Ar,Dr,A,gt,Ir,Lr,_t,Sr,Nr,Tt,Or,Vr,Ve,Jt,Wr,Br,Rr,Ct,Ur,Hr,Gr,pe,We,Jr,O,Kr,Be,Kt,Qr,Yr,Xr,Qt,Zr,en,Yt,tn,on,rn,U,Re,nn,Xt,an,sn,he,ln,H,Ue,cn,He,dn,vt,mn,pn,hn,fe,fn,ue,Ge,un,Je,gn,bt,_n,Tn,Cn,ge,Ke,vn,Qe,bn,$t,$n,wn,xo,te,_e,Zt,Ye,Mn,eo,yn,ko,V,Xe,xn,Ze,kn,et,En,Pn,zn,D,tt,Fn,oe,jn,wt,qn,An,to,Dn,In,Ln,Te,Sn,Ce,Nn,ve,Eo,re,be,oo,ot,On,ro,Vn,Po,W,rt,Wn,ne,Bn,no,Rn,Un,nt,Hn,Gn,Jn,I,at,Kn,ae,Qn,Mt,Yn,Xn,ao,Zn,ea,ta,$e,oa,we,ra,Me,zo;return c=new ct({}),Ee=new ct({}),je=new ct({}),qe=new N({props:{name:"class transformers.MCTCTConfig",anchor:"transformers.MCTCTConfig",parameters:[{name:"vocab_size",val:" = 8065"},{name:"hidden_size",val:" = 1536"},{name:"num_hidden_layers",val:" = 36"},{name:"intermediate_size",val:" = 6144"},{name:"num_attention_heads",val:" = 4"},{name:"attention_head_dim",val:" = 384"},{name:"max_position_embeddings",val:" = 920"},{name:"layer_norm_eps",val:" = 1e-05"},{name:"layerdrop",val:" = 0.3"},{name:"hidden_act",val:" = 'relu'"},{name:"initializer_range",val:" = 0.02"},{name:"hidden_dropout_prob",val:" = 0.3"},{name:"attention_probs_dropout_prob",val:" = 0.3"},{name:"pad_token_id",val:" = 1"},{name:"bos_token_id",val:" = 0"},{name:"eos_token_id",val:" = 2"},{name:"conv_glu_dim",val:" = 1"},{name:"conv_dropout",val:" = 0.3"},{name:"num_conv_layers",val:" = 1"},{name:"conv_kernel",val:" = (7,)"},{name:"conv_stride",val:" = (3,)"},{name:"input_feat_per_channel",val:" = 80"},{name:"input_channels",val:" = 1"},{name:"conv_channels",val:" = None"},{name:"ctc_loss_reduction",val:" = 'sum'"},{name:"ctc_zero_infinity",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.MCTCTConfig.vocab_size",description:`<strong>vocab_size</strong> (<code>int</code>, <em>optional</em>, defaults to 8065) &#x2014;
Vocabulary size of the M-CTC-T model. Defines the number of different tokens that can be represented by the
<code>inputs_ids</code> passed when calling <a href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTModel">MCTCTModel</a>.`,name:"vocab_size"},{anchor:"transformers.MCTCTConfig.hidden_size",description:`<strong>hidden_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1536) &#x2014;
Dimension of the encoder layers and the pooler layer.`,name:"hidden_size"},{anchor:"transformers.MCTCTConfig.num_hidden_layers",description:`<strong>num_hidden_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 36) &#x2014;
Number of hidden layers in the Transformer encoder.`,name:"num_hidden_layers"},{anchor:"transformers.MCTCTConfig.intermediate_size",description:`<strong>intermediate_size</strong> (<code>int</code>, <em>optional</em>, defaults to 6144) &#x2014;
Dimension of the &#x201C;intermediate&#x201D; (i.e., feed-forward) layer in the Transformer encoder.`,name:"intermediate_size"},{anchor:"transformers.MCTCTConfig.num_attention_heads",description:`<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014;
Number of attention heads for each attention layer in the Transformer encoder.`,name:"num_attention_heads"},{anchor:"transformers.MCTCTConfig.attention_head_dim",description:`<strong>attention_head_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 384) &#x2014;
Dimensions of each attention head for each attention layer in the Transformer encoder.`,name:"attention_head_dim"},{anchor:"transformers.MCTCTConfig.max_position_embeddings",description:`<strong>max_position_embeddings</strong> (<code>int</code>, <em>optional</em>, defaults to 920) &#x2014;
The maximum sequence length that this model might ever be used with (after log-mel spectrogram extraction).`,name:"max_position_embeddings"},{anchor:"transformers.MCTCTConfig.layer_norm_eps",description:`<strong>layer_norm_eps</strong> (<code>float</code>, <em>optional</em>, defaults to 1e-5) &#x2014;
The epsilon used by the layer normalization layers.`,name:"layer_norm_eps"},{anchor:"transformers.MCTCTConfig.layerdrop",description:`<strong>layerdrop</strong> (<code>float</code>, <em>optional</em>, defaults to 0.3) &#x2014;
The probability of dropping an encoder layer during training. The default 0.3 value is used in the original
implementation.`,name:"layerdrop"},{anchor:"transformers.MCTCTConfig.hidden_act",description:`<strong>hidden_act</strong> (<code>str</code> or <code>function</code>, <em>optional</em>, defaults to <code>&quot;relu&quot;</code>) &#x2014;
The non-linear activation function (function or string) in the encoder and pooler. If string, <code>&quot;gelu&quot;</code>,
<code>&quot;relu&quot;</code>, <code>&quot;selu&quot;</code> and <code>&quot;gelu_new&quot;</code> are supported.`,name:"hidden_act"},{anchor:"transformers.MCTCTConfig.initializer_range",description:`<strong>initializer_range</strong> (<code>float</code>, <em>optional</em>, defaults to 0.02) &#x2014;
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.`,name:"initializer_range"},{anchor:"transformers.MCTCTConfig.hidden_dropout_prob",description:`<strong>hidden_dropout_prob</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout probabilitiy for all fully connected layers in the embeddings, encoder, and pooler.`,name:"hidden_dropout_prob"},{anchor:"transformers.MCTCTConfig.attention_probs_dropout_prob",description:`<strong>attention_probs_dropout_prob</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout ratio for the attention probabilities.`,name:"attention_probs_dropout_prob"},{anchor:"transformers.MCTCTConfig.pad_token_id",description:`<strong>pad_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The tokenizer index of the pad token.`,name:"pad_token_id"},{anchor:"transformers.MCTCTConfig.bos_token_id",description:`<strong>bos_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 0) &#x2014;
The tokenizer index of the bos token.`,name:"bos_token_id"},{anchor:"transformers.MCTCTConfig.eos_token_id",description:`<strong>eos_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 2) &#x2014;
The tokenizer index of the eos token.`,name:"eos_token_id"},{anchor:"transformers.MCTCTConfig.conv_glu_dim",description:`<strong>conv_glu_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The dimension of the output of the <code>Conv1dSubsampler</code> layer in which GLU is applied on. Though the original
Flashlight code uses the value of 2, here it&#x2019;s adapted to 1 due to transposition differences.`,name:"conv_glu_dim"},{anchor:"transformers.MCTCTConfig.conv_dropout",description:`<strong>conv_dropout</strong> (<code>int</code>, <em>optional</em>, defaults to 0.3) &#x2014;
The probability of randomly dropping the <code>Conv1dSubsampler</code> layer during training.`,name:"conv_dropout"},{anchor:"transformers.MCTCTConfig.num_conv_layers",description:`<strong>num_conv_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
Number of convolution layers before applying transformer encoder layers.`,name:"num_conv_layers"},{anchor:"transformers.MCTCTConfig.conv_kernel",description:`<strong>conv_kernel</strong> (<code>List[int]</code>, <em>optional</em>, defaults to <code>[7]</code>) &#x2014;
The kernel size of the 1D convolution applied before transformer layers. <code>len(conv_kernel)</code> must be equal
to <code>num_conv_layers</code>.`,name:"conv_kernel"},{anchor:"transformers.MCTCTConfig.conv_stride",description:`<strong>conv_stride</strong> (<code>List[int]</code>, <em>optional</em>, defaults to <code>[3]</code>) &#x2014;
The stride length of the 1D convolution applied before transformer layers. <code>len(conv_stride)</code> must be equal
to <code>num_conv_layers</code>.`,name:"conv_stride"},{anchor:"transformers.MCTCTConfig.input_feat_per_channel",description:`<strong>input_feat_per_channel</strong> (<code>int</code>, <em>optional</em>, defaults to 80) &#x2014;
Feature dimensions of the channels of the input to the Conv1D layer.`,name:"input_feat_per_channel"},{anchor:"transformers.MCTCTConfig.input_channels",description:`<strong>input_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
Number of input channels of the input to the Conv1D layer.`,name:"input_channels"},{anchor:"transformers.MCTCTConfig.conv_channels",description:`<strong>conv_channels</strong> (<code>List[int]</code>, <em>optional</em>, defaults to None) &#x2014;
Channel sizes of intermediate Conv1D layers.`,name:"conv_channels"},{anchor:"transformers.MCTCTConfig.ctc_loss_reduction",description:`<strong>ctc_loss_reduction</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;sum&quot;</code>) &#x2014;
Specifies the reduction to apply to the output of <code>torch.nn.CTCLoss</code>. Only relevant when training an
instance of <a href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTForCTC">MCTCTForCTC</a>.`,name:"ctc_loss_reduction"},{anchor:"transformers.MCTCTConfig.ctc_zero_infinity",description:`<strong>ctc_zero_infinity</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to zero infinite losses and the associated gradients of <code>torch.nn.CTCLoss</code>. Infinite losses mainly
occur when the inputs are too short to be aligned to the targets. Only relevant when training an instance
of <a href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTForCTC">MCTCTForCTC</a>.`,name:"ctc_zero_infinity"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/configuration_mctct.py#L29"}}),le=new ho({props:{anchor:"transformers.MCTCTConfig.example",$$slots:{default:[ss]},$$scope:{ctx:E}}}),De=new ct({}),Ie=new N({props:{name:"class transformers.MCTCTFeatureExtractor",anchor:"transformers.MCTCTFeatureExtractor",parameters:[{name:"feature_size",val:" = 80"},{name:"sampling_rate",val:" = 16000"},{name:"padding_value",val:" = 0.0"},{name:"hop_length",val:" = 10"},{name:"win_length",val:" = 25"},{name:"win_function",val:" = 'hamming_window'"},{name:"frame_signal_scale",val:" = 32768.0"},{name:"preemphasis_coeff",val:" = 0.97"},{name:"mel_floor",val:" = 1.0"},{name:"normalize_means",val:" = True"},{name:"normalize_vars",val:" = True"},{name:"return_attention_mask",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.MCTCTFeatureExtractor.feature_size",description:`<strong>feature_size</strong> (<code>int</code>, defaults to 80) &#x2014;
The feature dimension of the extracted features. This is the number of mel_frequency`,name:"feature_size"},{anchor:"transformers.MCTCTFeatureExtractor.sampling_rate",description:`<strong>sampling_rate</strong> (<code>int</code>, defaults to 16000) &#x2014;
The sampling rate at which the audio files should be digitalized expressed in Hertz per second (Hz).`,name:"sampling_rate"},{anchor:"transformers.MCTCTFeatureExtractor.padding_value",description:`<strong>padding_value</strong> (<code>float</code>, defaults to 0.0) &#x2014;
The value that is used to fill the padding values.`,name:"padding_value"},{anchor:"transformers.MCTCTFeatureExtractor.hop_length",description:`<strong>hop_length</strong> (<code>int</code>, defaults to 10) &#x2014;
Number of audio samples between windows. Otherwise referred to as &#x201C;shift&#x201D; in many papers.`,name:"hop_length"},{anchor:"transformers.MCTCTFeatureExtractor.win_length",description:`<strong>win_length</strong> (<code>int</code>, defaults to 25) &#x2014;
Number of ms per window`,name:"win_length"},{anchor:"transformers.MCTCTFeatureExtractor.win_function",description:`<strong>win_function</strong> (<code>str</code>, defaults to <code>&quot;hamming_window&quot;</code>) &#x2014;
Name for the window function used for windowing, must be accessible via <code>torch.{win_function}</code>`,name:"win_function"},{anchor:"transformers.MCTCTFeatureExtractor.frame_signal_scale",description:`<strong>frame_signal_scale</strong> (<code>float</code>, defaults to 32768.0) &#x2014;
Constant multiplied in creating the frames before applying DFT.`,name:"frame_signal_scale"},{anchor:"transformers.MCTCTFeatureExtractor.preemphasis_coeff",description:`<strong>preemphasis_coeff</strong> (<code>float</code>, defaults to 0.97) &#x2014;
Constant multiplied in applying Pre-emphasis before DFT.`,name:"preemphasis_coeff"},{anchor:"transformers.MCTCTFeatureExtractor.mel_floor",description:`<strong>mel_floor</strong> (<code>float</code> defaults to 1.0) &#x2014;
Minimum value of mel frequency banks.`,name:"mel_floor"},{anchor:"transformers.MCTCTFeatureExtractor.normalize_means",description:`<strong>normalize_means</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to zero-mean normalize the extracted features.`,name:"normalize_means"},{anchor:"transformers.MCTCTFeatureExtractor.normalize_vars",description:`<strong>normalize_vars</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to unit-variance normalize the extracted features.`,name:"normalize_vars"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/feature_extraction_mctct.py#L42"}}),Se=new N({props:{name:"__call__",anchor:"transformers.MCTCTFeatureExtractor.__call__",parameters:[{name:"raw_speech",val:": typing.Union[numpy.ndarray, typing.List[float], typing.List[numpy.ndarray], typing.List[typing.List[float]]]"},{name:"padding",val:": typing.Union[bool, str, transformers.utils.generic.PaddingStrategy] = False"},{name:"max_length",val:": typing.Optional[int] = None"},{name:"truncation",val:": bool = False"},{name:"pad_to_multiple_of",val:": typing.Optional[int] = None"},{name:"return_attention_mask",val:": typing.Optional[bool] = None"},{name:"return_tensors",val:": typing.Union[str, transformers.utils.generic.TensorType, NoneType] = None"},{name:"sampling_rate",val:": typing.Optional[int] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.MCTCTFeatureExtractor.__call__.raw_speech",description:`<strong>raw_speech</strong> (<code>torch.Tensor</code>, <code>np.ndarray</code>, <code>List[float]</code>, <code>List[torch.Tensor]</code>, <code>List[np.ndarray]</code>, <code>List[List[float]]</code>) &#x2014;
The sequence or batch of sequences to be padded. Each sequence can be a tensor, a numpy array, a list
of float values, a list of tensors, a list of numpy arrays or a list of list of float values.`,name:"raw_speech"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.padding",description:`<strong>padding</strong> (<code>bool</code>, <code>str</code> or <a href="/docs/transformers/pr_19907/en/internal/file_utils#transformers.utils.PaddingStrategy">PaddingStrategy</a>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Select a strategy to pad the returned sequences (according to the model&#x2019;s padding side and padding
index) among:</p>
<ul>
<li><code>True</code> or <code>&apos;longest&apos;</code>: Pad to the longest sequence in the batch (or no padding if only a single
sequence if provided).</li>
<li><code>&apos;max_length&apos;</code>: Pad to a maximum length specified with the argument <code>max_length</code> or to the maximum
acceptable input length for the model if that argument is not provided.</li>
<li><code>False</code> or <code>&apos;do_not_pad&apos;</code> (default): No padding (i.e., can output a batch with sequences of different
lengths).</li>
</ul>`,name:"padding"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.max_length",description:`<strong>max_length</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Maximum length of the returned list and optionally padding length (see above).`,name:"max_length"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.truncation",description:`<strong>truncation</strong> (<code>bool</code>) &#x2014;
Activates truncation to cut input sequences longer than <em>max_length</em> to <em>max_length</em>.`,name:"truncation"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.pad_to_multiple_of",description:`<strong>pad_to_multiple_of</strong> (<code>int</code>, <em>optional</em>) &#x2014;
If set will pad the sequence to a multiple of the provided value.</p>
<p>This is especially useful to enable the use of Tensor Cores on NVIDIA hardware with compute capability</p>
<blockquote>
<p>= 7.5 (Volta), or on TPUs which benefit from having sequence lengths be a multiple of 128.</p>
</blockquote>`,name:"pad_to_multiple_of"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.return_attention_mask",description:`<strong>return_attention_mask</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to return the attention mask. If left to the default, will return the attention mask according
to the specific feature_extractor&#x2019;s default.</p>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"return_attention_mask"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.return_tensors",description:`<strong>return_tensors</strong> (<code>str</code> or <a href="/docs/transformers/pr_19907/en/internal/file_utils#transformers.TensorType">TensorType</a>, <em>optional</em>) &#x2014;
If set, will return tensors instead of list of python integers. Acceptable values are:</p>
<ul>
<li><code>&apos;tf&apos;</code>: Return TensorFlow <code>tf.constant</code> objects.</li>
<li><code>&apos;pt&apos;</code>: Return PyTorch <code>torch.Tensor</code> objects.</li>
<li><code>&apos;np&apos;</code>: Return Numpy <code>np.ndarray</code> objects.</li>
</ul>`,name:"return_tensors"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.sampling_rate",description:`<strong>sampling_rate</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The sampling rate at which the <code>raw_speech</code> input was sampled. It is strongly recommended to pass
<code>sampling_rate</code> at the forward call to prevent silent errors.`,name:"sampling_rate"},{anchor:"transformers.MCTCTFeatureExtractor.__call__.padding_value",description:"<strong>padding_value</strong> (<code>float</code>, defaults to 0.0) &#x2014;",name:"padding_value"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/feature_extraction_mctct.py#L240"}}),Ne=new ct({}),Oe=new N({props:{name:"class transformers.MCTCTProcessor",anchor:"transformers.MCTCTProcessor",parameters:[{name:"feature_extractor",val:""},{name:"tokenizer",val:""}],parametersDescription:[{anchor:"transformers.MCTCTProcessor.feature_extractor",description:`<strong>feature_extractor</strong> (<code>MCTCTFeatureExtractor</code>) &#x2014;
An instance of <a href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTFeatureExtractor">MCTCTFeatureExtractor</a>. The feature extractor is a required input.`,name:"feature_extractor"},{anchor:"transformers.MCTCTProcessor.tokenizer",description:`<strong>tokenizer</strong> (<code>AutoTokenizer</code>) &#x2014;
An instance of <a href="/docs/transformers/pr_19907/en/model_doc/auto#transformers.AutoTokenizer">AutoTokenizer</a>. The tokenizer is a required input.`,name:"tokenizer"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/processing_mctct.py#L24"}}),We=new N({props:{name:"__call__",anchor:"transformers.MCTCTProcessor.__call__",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/processing_mctct.py#L45"}}),Re=new N({props:{name:"from_pretrained",anchor:"transformers.MCTCTProcessor.from_pretrained",parameters:[{name:"pretrained_model_name_or_path",val:""},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.MCTCTProcessor.from_pretrained.pretrained_model_name_or_path",description:`<strong>pretrained_model_name_or_path</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
This can be either:</p>
<ul>
<li>a string, the <em>model id</em> of a pretrained feature_extractor hosted inside a model repo on
huggingface.co. Valid model ids can be located at the root-level, like <code>bert-base-uncased</code>, or
namespaced under a user or organization name, like <code>dbmdz/bert-base-german-cased</code>.</li>
<li>a path to a <em>directory</em> containing a feature extractor file saved using the
<a href="/docs/transformers/pr_19907/en/internal/image_processing_utils#transformers.FeatureExtractionMixin.save_pretrained">save_pretrained()</a> method, e.g., <code>./my_model_directory/</code>.</li>
<li>a path or url to a saved feature extractor JSON <em>file</em>, e.g.,
<code>./my_model_directory/preprocessor_config.json</code>.
**kwargs &#x2014;
Additional keyword arguments passed along to both
<a href="/docs/transformers/pr_19907/en/internal/image_processing_utils#transformers.FeatureExtractionMixin.from_pretrained">from_pretrained()</a> and
<code>~tokenization_utils_base.PreTrainedTokenizer.from_pretrained</code>.</li>
</ul>`,name:"pretrained_model_name_or_path"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/processing_utils.py#L152"}}),he=new Ro({props:{$$slots:{default:[is]},$$scope:{ctx:E}}}),Ue=new N({props:{name:"save_pretrained",anchor:"transformers.MCTCTProcessor.save_pretrained",parameters:[{name:"save_directory",val:""},{name:"push_to_hub",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.MCTCTProcessor.save_pretrained.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory where the feature extractor JSON file and the tokenizer files will be saved (directory will
be created if it does not exist).`,name:"save_directory"},{anchor:"transformers.MCTCTProcessor.save_pretrained.push_to_hub",description:`<strong>push_to_hub</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to push your model to the Hugging Face model hub after saving it. You can specify the
repository you want to push to with <code>repo_id</code> (will default to the name of <code>save_directory</code> in your
namespace).
kwargs &#x2014;
Additional key word arguments passed along to the <a href="/docs/transformers/pr_19907/en/internal/image_processing_utils#transformers.FeatureExtractionMixin.push_to_hub">push_to_hub()</a> method.`,name:"push_to_hub"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/processing_utils.py#L94"}}),fe=new Ro({props:{$$slots:{default:[ls]},$$scope:{ctx:E}}}),Ge=new N({props:{name:"batch_decode",anchor:"transformers.MCTCTProcessor.batch_decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/processing_mctct.py#L82"}}),Ke=new N({props:{name:"decode",anchor:"transformers.MCTCTProcessor.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/processing_mctct.py#L119"}}),Ye=new ct({}),Xe=new N({props:{name:"class transformers.MCTCTModel",anchor:"transformers.MCTCTModel",parameters:[{name:"config",val:""}],parametersDescription:[{anchor:"transformers.MCTCTModel.config",description:`<strong>config</strong> (<a href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTConfig">MCTCTConfig</a>) &#x2014; Model configuration class with all the parameters of the model.
Initializing with a config file does not load the weights associated with the model, only the
configuration. Check out the <a href="/docs/transformers/pr_19907/en/main_classes/model#transformers.PreTrainedModel.from_pretrained">from_pretrained()</a> method to load the model weights.`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/modeling_mctct.py#L662"}}),tt=new N({props:{name:"forward",anchor:"transformers.MCTCTModel.forward",parameters:[{name:"input_features",val:": Tensor"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"head_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_attentions",val:": typing.Optional[bool] = None"},{name:"output_hidden_states",val:": typing.Optional[bool] = None"},{name:"return_dict",val:": typing.Optional[bool] = None"}],parametersDescription:[{anchor:"transformers.MCTCTModel.forward.input_features",description:`<strong>input_features</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>) &#x2014;
Indices of input sequence tokens in the vocabulary.</p>
<p>Indices can be obtained using <a href="/docs/transformers/pr_19907/en/model_doc/wav2vec2#transformers.Wav2Vec2CTCTokenizer">Wav2Vec2CTCTokenizer</a>. See <a href="/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.__call__">PreTrainedTokenizer.<strong>call</strong>()</a> for details.</p>
<p><a href="../glossary#input-ids">What are input IDs?</a>`,name:"input_features"},{anchor:"transformers.MCTCTModel.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Mask to avoid performing attention on padding token indices. Mask values selected in <code>[0, 1]</code>:</p>
<ul>
<li>1 for tokens that are <strong>not masked</strong>,</li>
<li>0 for tokens that are <strong>masked</strong>.</li>
</ul>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"attention_mask"},{anchor:"transformers.MCTCTModel.forward.head_mask",description:`<strong>head_mask</strong> (<code>torch.FloatTensor</code> of shape <code>(num_heads,)</code> or <code>(num_layers, num_heads)</code>, <em>optional</em>) &#x2014;
Mask to nullify selected heads of the self-attention modules. Mask values selected in <code>[0, 1]</code>:</p>
<ul>
<li>1 indicates the head is <strong>not masked</strong>,</li>
<li>0 indicates the head is <strong>masked</strong>.</li>
</ul>`,name:"head_mask"},{anchor:"transformers.MCTCTModel.forward.output_attentions",description:`<strong>output_attentions</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return the attentions tensors of all attention layers. See <code>attentions</code> under returned
tensors for more detail.`,name:"output_attentions"},{anchor:"transformers.MCTCTModel.forward.output_hidden_states",description:`<strong>output_hidden_states</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return the hidden states of all layers. See <code>hidden_states</code> under returned tensors for
more detail.`,name:"output_hidden_states"},{anchor:"transformers.MCTCTModel.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return a <a href="/docs/transformers/pr_19907/en/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/modeling_mctct.py#L672",returnDescription:`
<p>A <a
  href="/docs/transformers/pr_19907/en/main_classes/output#transformers.modeling_outputs.BaseModelOutput"
>transformers.modeling_outputs.BaseModelOutput</a> or a tuple of
<code>torch.FloatTensor</code> (if <code>return_dict=False</code> is passed or when <code>config.return_dict=False</code>) comprising various
elements depending on the configuration (<a
  href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTConfig"
>MCTCTConfig</a>) and inputs.</p>
<ul>
<li>
<p><strong>last_hidden_state</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length, hidden_size)</code>) \u2014 Sequence of hidden-states at the output of the last layer of the model.</p>
</li>
<li>
<p><strong>hidden_states</strong> (<code>tuple(torch.FloatTensor)</code>, <em>optional</em>, returned when <code>output_hidden_states=True</code> is passed or when <code>config.output_hidden_states=True</code>) \u2014 Tuple of <code>torch.FloatTensor</code> (one for the output of the embeddings, if the model has an embedding layer, +
one for the output of each layer) of shape <code>(batch_size, sequence_length, hidden_size)</code>.</p>
<p>Hidden-states of the model at the output of each layer plus the optional initial embedding outputs.</p>
</li>
<li>
<p><strong>attentions</strong> (<code>tuple(torch.FloatTensor)</code>, <em>optional</em>, returned when <code>output_attentions=True</code> is passed or when <code>config.output_attentions=True</code>) \u2014 Tuple of <code>torch.FloatTensor</code> (one for each layer) of shape <code>(batch_size, num_heads, sequence_length, sequence_length)</code>.</p>
<p>Attentions weights after the attention softmax, used to compute the weighted average in the self-attention
heads.</p>
</li>
</ul>
`,returnType:`
<p><a
  href="/docs/transformers/pr_19907/en/main_classes/output#transformers.modeling_outputs.BaseModelOutput"
>transformers.modeling_outputs.BaseModelOutput</a> or <code>tuple(torch.FloatTensor)</code></p>
`}}),Te=new Ro({props:{$$slots:{default:[cs]},$$scope:{ctx:E}}}),Ce=new ho({props:{anchor:"transformers.MCTCTModel.forward.example",$$slots:{default:[ds]},$$scope:{ctx:E}}}),ve=new ho({props:{anchor:"transformers.MCTCTModel.forward.example-2",$$slots:{default:[ms]},$$scope:{ctx:E}}}),ot=new ct({}),rt=new N({props:{name:"class transformers.MCTCTForCTC",anchor:"transformers.MCTCTForCTC",parameters:[{name:"config",val:""}],parametersDescription:[{anchor:"transformers.MCTCTForCTC.config",description:`<strong>config</strong> (<a href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTConfig">MCTCTConfig</a>) &#x2014; Model configuration class with all the parameters of the model.
Initializing with a config file does not load the weights associated with the model, only the
configuration. Check out the <a href="/docs/transformers/pr_19907/en/main_classes/model#transformers.PreTrainedModel.from_pretrained">from_pretrained()</a> method to load the model weights.`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/modeling_mctct.py#L723"}}),at=new N({props:{name:"forward",anchor:"transformers.MCTCTForCTC.forward",parameters:[{name:"input_features",val:": Tensor"},{name:"attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"head_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_attentions",val:": typing.Optional[bool] = None"},{name:"output_hidden_states",val:": typing.Optional[bool] = None"},{name:"return_dict",val:": typing.Optional[bool] = None"},{name:"labels",val:": typing.Optional[torch.LongTensor] = None"}],parametersDescription:[{anchor:"transformers.MCTCTForCTC.forward.input_features",description:`<strong>input_features</strong> (<code>torch.LongTensor</code> of shape <code>({0})</code>) &#x2014;
Indices of input sequence tokens in the vocabulary.</p>
<p>Indices can be obtained using <a href="/docs/transformers/pr_19907/en/model_doc/wav2vec2#transformers.Wav2Vec2CTCTokenizer">Wav2Vec2CTCTokenizer</a>. See <a href="/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.__call__">PreTrainedTokenizer.<strong>call</strong>()</a> for details.</p>
<p><a href="../glossary#input-ids">What are input IDs?</a>`,name:"input_features"},{anchor:"transformers.MCTCTForCTC.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.FloatTensor</code> of shape <code>({0})</code>, <em>optional</em>) &#x2014;
Mask to avoid performing attention on padding token indices. Mask values selected in <code>[0, 1]</code>:</p>
<ul>
<li>1 for tokens that are <strong>not masked</strong>,</li>
<li>0 for tokens that are <strong>masked</strong>.</li>
</ul>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"attention_mask"},{anchor:"transformers.MCTCTForCTC.forward.head_mask",description:`<strong>head_mask</strong> (<code>torch.FloatTensor</code> of shape <code>(num_heads,)</code> or <code>(num_layers, num_heads)</code>, <em>optional</em>) &#x2014;
Mask to nullify selected heads of the self-attention modules. Mask values selected in <code>[0, 1]</code>:</p>
<ul>
<li>1 indicates the head is <strong>not masked</strong>,</li>
<li>0 indicates the head is <strong>masked</strong>.</li>
</ul>`,name:"head_mask"},{anchor:"transformers.MCTCTForCTC.forward.output_attentions",description:`<strong>output_attentions</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return the attentions tensors of all attention layers. See <code>attentions</code> under returned
tensors for more detail.`,name:"output_attentions"},{anchor:"transformers.MCTCTForCTC.forward.output_hidden_states",description:`<strong>output_hidden_states</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return the hidden states of all layers. See <code>hidden_states</code> under returned tensors for
more detail.`,name:"output_hidden_states"},{anchor:"transformers.MCTCTForCTC.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return a <a href="/docs/transformers/pr_19907/en/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"},{anchor:"transformers.MCTCTForCTC.forward.labels",description:`<strong>labels</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, target_length)</code>, <em>optional</em>) &#x2014;
Labels for connectionist temporal classification. Note that <code>target_length</code> has to be smaller or equal to
the sequence length of the output logits. Indices are selected in <code>[-100, 0, ..., config.vocab_size - 1]</code>.
All labels set to <code>-100</code> are ignored (masked), the loss is only computed for labels in <code>[0, ..., config.vocab_size - 1]</code>.`,name:"labels"}],source:"https://github.com/huggingface/transformers/blob/vr_19907/src/transformers/models/mctct/modeling_mctct.py#L743",returnDescription:`
<p>A <a
  href="/docs/transformers/pr_19907/en/main_classes/output#transformers.modeling_outputs.CausalLMOutput"
>transformers.modeling_outputs.CausalLMOutput</a> or a tuple of
<code>torch.FloatTensor</code> (if <code>return_dict=False</code> is passed or when <code>config.return_dict=False</code>) comprising various
elements depending on the configuration (<a
  href="/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTConfig"
>MCTCTConfig</a>) and inputs.</p>
<ul>
<li>
<p><strong>loss</strong> (<code>torch.FloatTensor</code> of shape <code>(1,)</code>, <em>optional</em>, returned when <code>labels</code> is provided) \u2014 Language modeling loss (for next-token prediction).</p>
</li>
<li>
<p><strong>logits</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length, config.vocab_size)</code>) \u2014 Prediction scores of the language modeling head (scores for each vocabulary token before SoftMax).</p>
</li>
<li>
<p><strong>hidden_states</strong> (<code>tuple(torch.FloatTensor)</code>, <em>optional</em>, returned when <code>output_hidden_states=True</code> is passed or when <code>config.output_hidden_states=True</code>) \u2014 Tuple of <code>torch.FloatTensor</code> (one for the output of the embeddings, if the model has an embedding layer, +
one for the output of each layer) of shape <code>(batch_size, sequence_length, hidden_size)</code>.</p>
<p>Hidden-states of the model at the output of each layer plus the optional initial embedding outputs.</p>
</li>
<li>
<p><strong>attentions</strong> (<code>tuple(torch.FloatTensor)</code>, <em>optional</em>, returned when <code>output_attentions=True</code> is passed or when <code>config.output_attentions=True</code>) \u2014 Tuple of <code>torch.FloatTensor</code> (one for each layer) of shape <code>(batch_size, num_heads, sequence_length, sequence_length)</code>.</p>
<p>Attentions weights after the attention softmax, used to compute the weighted average in the self-attention
heads.</p>
</li>
</ul>
`,returnType:`
<p><a
  href="/docs/transformers/pr_19907/en/main_classes/output#transformers.modeling_outputs.CausalLMOutput"
>transformers.modeling_outputs.CausalLMOutput</a> or <code>tuple(torch.FloatTensor)</code></p>
`}}),$e=new Ro({props:{$$slots:{default:[ps]},$$scope:{ctx:E}}}),we=new ho({props:{anchor:"transformers.MCTCTForCTC.forward.example",$$slots:{default:[hs]},$$scope:{ctx:E}}}),Me=new ho({props:{anchor:"transformers.MCTCTForCTC.forward.example-2",$$slots:{default:[fs]},$$scope:{ctx:E}}}),{c(){l=r("meta"),_=p(),m=r("h1"),u=r("a"),C=r("span"),v(c.$$.fragment),g=p(),P=r("span"),F=s("M-CTC-T"),x=p(),j=r("h2"),q=r("a"),It=r("span"),v(Ee.$$.fragment),Uo=p(),Lt=r("span"),Ho=s("Overview"),go=p(),se=r("p"),Go=s("The M-CTC-T model was proposed in "),Pe=r("a"),Jo=s("Pseudo-Labeling For Massively Multilingual Speech Recognition"),Ko=s(" by Loren Lugosch, Tatiana Likhomanenko, Gabriel Synnaeve, and Ronan Collobert. The model is a 1B-param transformer encoder, with a CTC head over 8065 character labels and a language identification head over 60 language ID labels. It is trained on Common Voice (version 6.1, December 2020 release) and VoxPopuli. After training on Common Voice and VoxPopuli, the model is trained on Common Voice only. The labels are unnormalized character-level transcripts (punctuation and capitalization are not removed). The model takes as input Mel filterbank features from a 16Khz audio signal."),_o=p(),dt=r("p"),Qo=s("The abstract from the paper is the following:"),To=p(),mt=r("p"),St=r("em"),Yo=s(`Semi-supervised learning through pseudo-labeling has become a staple of state-of-the-art monolingual
speech recognition systems. In this work, we extend pseudo-labeling to massively multilingual speech
recognition with 60 languages. We propose a simple pseudo-labeling recipe that works well even
with low-resource languages: train a supervised multilingual model, fine-tune it with semi-supervised
learning on a target language, generate pseudo-labels for that language, and train a final model using
pseudo-labels for all languages, either from scratch or by fine-tuning. Experiments on the labeled
Common Voice and unlabeled VoxPopuli datasets show that our recipe can yield a model with better
performance for many languages that also transfers well to LibriSpeech.`),Co=p(),R=r("p"),Xo=s("This model was contributed by "),ze=r("a"),Zo=s("cwkeam"),er=s(". The original code can be found "),Fe=r("a"),tr=s("here"),or=s("."),vo=p(),K=r("h2"),ie=r("a"),Nt=r("span"),v(je.$$.fragment),rr=p(),Ot=r("span"),nr=s("MCTCTConfig"),bo=p(),L=r("div"),v(qe.$$.fragment),ar=p(),Q=r("p"),sr=s("This is the configuration class to store the configuration of a "),pt=r("a"),ir=s("MCTCTModel"),lr=s(`. It is used to instantiate an
M-CTC-T model according to the specified arguments, defining the model architecture. Instantiating a configuration
with the defaults will yield a similar configuration to that of the M-CTC-T
`),Ae=r("a"),cr=s("speechbrain/m-ctc-t-large"),dr=s(" architecture."),mr=p(),Y=r("p"),pr=s("Configuration objects inherit from "),ht=r("a"),hr=s("PretrainedConfig"),fr=s(` and can be used to control the model outputs. Read the
documentation from `),ft=r("a"),ur=s("PretrainedConfig"),gr=s(" for more information."),_r=p(),v(le.$$.fragment),$o=p(),X=r("h2"),ce=r("a"),Vt=r("span"),v(De.$$.fragment),Tr=p(),Wt=r("span"),Cr=s("MCTCTFeatureExtractor"),wo=p(),S=r("div"),v(Ie.$$.fragment),vr=p(),Bt=r("p"),br=s("Constructs a M-CTC-T feature extractor."),$r=p(),Z=r("p"),wr=s("This feature extractor inherits from "),ut=r("a"),Mr=s("SequenceFeatureExtractor"),yr=s(` which contains
most of the main methods. Users should refer to this superclass for more information regarding those methods. This
code has been adapted from Flashlight\u2019s C++ code. For more information about the implementation, one can refer to
this `),Le=r("a"),xr=s("notebook"),kr=s(`
that takes the user step-by-step in the implementation.`),Er=p(),de=r("div"),v(Se.$$.fragment),Pr=p(),Rt=r("p"),zr=s(`Main method to featurize and prepare for the model one or several sequence(s). sequences. It returns the
log-mel spectrogram of the input audio, as implemented in the original Flashlight MFSC feature extraction code.`),Mo=p(),ee=r("h2"),me=r("a"),Ut=r("span"),v(Ne.$$.fragment),Fr=p(),Ht=r("span"),jr=s("MCTCTProcessor"),yo=p(),k=r("div"),v(Oe.$$.fragment),qr=p(),Gt=r("p"),Ar=s("Constructs a MCTCT processor which wraps a MCTCT feature extractor and a MCTCT tokenizer into a single processor."),Dr=p(),A=r("p"),gt=r("a"),Ir=s("MCTCTProcessor"),Lr=s(" offers all the functionalities of "),_t=r("a"),Sr=s("MCTCTFeatureExtractor"),Nr=s(" and "),Tt=r("a"),Or=s("AutoTokenizer"),Vr=s(`. See the
`),Ve=r("a"),Jt=r("strong"),Wr=s("call"),Br=s("()"),Rr=s(" and "),Ct=r("a"),Ur=s("decode()"),Hr=s(" for more information."),Gr=p(),pe=r("div"),v(We.$$.fragment),Jr=p(),O=r("p"),Kr=s(`When used in normal mode, this method forwards all its arguments to MCTCTFeatureExtractor\u2019s
`),Be=r("a"),Kt=r("strong"),Qr=s("call"),Yr=s("()"),Xr=s(` and returns its output. If used in the context
`),Qt=r("code"),Zr=s("as_target_processor()"),en=s(` this method forwards all its arguments to AutoTokenizer\u2019s
`),Yt=r("code"),tn=s("__call__()"),on=s(". Please refer to the doctsring of the above two methods for more information."),rn=p(),U=r("div"),v(Re.$$.fragment),nn=p(),Xt=r("p"),an=s("Instantiate a processor associated with a pretrained model."),sn=p(),v(he.$$.fragment),ln=p(),H=r("div"),v(Ue.$$.fragment),cn=p(),He=r("p"),dn=s(`Saves the attributes of this processor (feature extractor, tokenizer\u2026) in the specified directory so that it
can be reloaded using the `),vt=r("a"),mn=s("from_pretrained()"),pn=s(" method."),hn=p(),v(fe.$$.fragment),fn=p(),ue=r("div"),v(Ge.$$.fragment),un=p(),Je=r("p"),gn=s("This method forwards all its arguments to AutoTokenizer\u2019s "),bt=r("a"),_n=s("batch_decode()"),Tn=s(`. Please refer
to the docstring of this method for more information.`),Cn=p(),ge=r("div"),v(Ke.$$.fragment),vn=p(),Qe=r("p"),bn=s("This method forwards all its arguments to AutoTokenizer\u2019s "),$t=r("a"),$n=s("decode()"),wn=s(`. Please refer to the
docstring of this method for more information.`),xo=p(),te=r("h2"),_e=r("a"),Zt=r("span"),v(Ye.$$.fragment),Mn=p(),eo=r("span"),yn=s("MCTCTModel"),ko=p(),V=r("div"),v(Xe.$$.fragment),xn=p(),Ze=r("p"),kn=s(`The bare M-CTC-T Model transformer outputting raw hidden-states without any specific head on top.
This model is a PyTorch `),et=r("a"),En=s("torch.nn.Module"),Pn=s(` sub-class. Use
it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage and
behavior.`),zn=p(),D=r("div"),v(tt.$$.fragment),Fn=p(),oe=r("p"),jn=s("The "),wt=r("a"),qn=s("MCTCTModel"),An=s(" forward method, overrides the "),to=r("code"),Dn=s("__call__"),In=s(" special method."),Ln=p(),v(Te.$$.fragment),Sn=p(),v(Ce.$$.fragment),Nn=p(),v(ve.$$.fragment),Eo=p(),re=r("h2"),be=r("a"),oo=r("span"),v(ot.$$.fragment),On=p(),ro=r("span"),Vn=s("MCTCTForCTC"),Po=p(),W=r("div"),v(rt.$$.fragment),Wn=p(),ne=r("p"),Bn=s("MCTCT Model with a "),no=r("code"),Rn=s("language modeling"),Un=s(` head on top for Connectionist Temporal Classification (CTC).
This model is a PyTorch `),nt=r("a"),Hn=s("torch.nn.Module"),Gn=s(` sub-class. Use
it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage and
behavior.`),Jn=p(),I=r("div"),v(at.$$.fragment),Kn=p(),ae=r("p"),Qn=s("The "),Mt=r("a"),Yn=s("MCTCTForCTC"),Xn=s(" forward method, overrides the "),ao=r("code"),Zn=s("__call__"),ea=s(" special method."),ta=p(),v($e.$$.fragment),oa=p(),v(we.$$.fragment),ra=p(),v(Me.$$.fragment),this.h()},l(t){const f=ns('[data-svelte="svelte-1phssyn"]',document.head);l=n(f,"META",{name:!0,content:!0}),f.forEach(o),_=h(t),m=n(t,"H1",{class:!0});var st=a(m);u=n(st,"A",{id:!0,class:!0,href:!0});var so=a(u);C=n(so,"SPAN",{});var io=a(C);b(c.$$.fragment,io),io.forEach(o),so.forEach(o),g=h(st),P=n(st,"SPAN",{});var lo=a(P);F=i(lo,"M-CTC-T"),lo.forEach(o),st.forEach(o),x=h(t),j=n(t,"H2",{class:!0});var it=a(j);q=n(it,"A",{id:!0,class:!0,href:!0});var co=a(q);It=n(co,"SPAN",{});var mo=a(It);b(Ee.$$.fragment,mo),mo.forEach(o),co.forEach(o),Uo=h(it),Lt=n(it,"SPAN",{});var po=a(Lt);Ho=i(po,"Overview"),po.forEach(o),it.forEach(o),go=h(t),se=n(t,"P",{});var lt=a(se);Go=i(lt,"The M-CTC-T model was proposed in "),Pe=n(lt,"A",{href:!0,rel:!0});var sa=a(Pe);Jo=i(sa,"Pseudo-Labeling For Massively Multilingual Speech Recognition"),sa.forEach(o),Ko=i(lt," by Loren Lugosch, Tatiana Likhomanenko, Gabriel Synnaeve, and Ronan Collobert. The model is a 1B-param transformer encoder, with a CTC head over 8065 character labels and a language identification head over 60 language ID labels. It is trained on Common Voice (version 6.1, December 2020 release) and VoxPopuli. After training on Common Voice and VoxPopuli, the model is trained on Common Voice only. The labels are unnormalized character-level transcripts (punctuation and capitalization are not removed). The model takes as input Mel filterbank features from a 16Khz audio signal."),lt.forEach(o),_o=h(t),dt=n(t,"P",{});var ia=a(dt);Qo=i(ia,"The abstract from the paper is the following:"),ia.forEach(o),To=h(t),mt=n(t,"P",{});var la=a(mt);St=n(la,"EM",{});var ca=a(St);Yo=i(ca,`Semi-supervised learning through pseudo-labeling has become a staple of state-of-the-art monolingual
speech recognition systems. In this work, we extend pseudo-labeling to massively multilingual speech
recognition with 60 languages. We propose a simple pseudo-labeling recipe that works well even
with low-resource languages: train a supervised multilingual model, fine-tune it with semi-supervised
learning on a target language, generate pseudo-labels for that language, and train a final model using
pseudo-labels for all languages, either from scratch or by fine-tuning. Experiments on the labeled
Common Voice and unlabeled VoxPopuli datasets show that our recipe can yield a model with better
performance for many languages that also transfers well to LibriSpeech.`),ca.forEach(o),la.forEach(o),Co=h(t),R=n(t,"P",{});var yt=a(R);Xo=i(yt,"This model was contributed by "),ze=n(yt,"A",{href:!0,rel:!0});var da=a(ze);Zo=i(da,"cwkeam"),da.forEach(o),er=i(yt,". The original code can be found "),Fe=n(yt,"A",{href:!0,rel:!0});var ma=a(Fe);tr=i(ma,"here"),ma.forEach(o),or=i(yt,"."),yt.forEach(o),vo=h(t),K=n(t,"H2",{class:!0});var Fo=a(K);ie=n(Fo,"A",{id:!0,class:!0,href:!0});var pa=a(ie);Nt=n(pa,"SPAN",{});var ha=a(Nt);b(je.$$.fragment,ha),ha.forEach(o),pa.forEach(o),rr=h(Fo),Ot=n(Fo,"SPAN",{});var fa=a(Ot);nr=i(fa,"MCTCTConfig"),fa.forEach(o),Fo.forEach(o),bo=h(t),L=n(t,"DIV",{class:!0});var ye=a(L);b(qe.$$.fragment,ye),ar=h(ye),Q=n(ye,"P",{});var xt=a(Q);sr=i(xt,"This is the configuration class to store the configuration of a "),pt=n(xt,"A",{href:!0});var ua=a(pt);ir=i(ua,"MCTCTModel"),ua.forEach(o),lr=i(xt,`. It is used to instantiate an
M-CTC-T model according to the specified arguments, defining the model architecture. Instantiating a configuration
with the defaults will yield a similar configuration to that of the M-CTC-T
`),Ae=n(xt,"A",{href:!0,rel:!0});var ga=a(Ae);cr=i(ga,"speechbrain/m-ctc-t-large"),ga.forEach(o),dr=i(xt," architecture."),xt.forEach(o),mr=h(ye),Y=n(ye,"P",{});var kt=a(Y);pr=i(kt,"Configuration objects inherit from "),ht=n(kt,"A",{href:!0});var _a=a(ht);hr=i(_a,"PretrainedConfig"),_a.forEach(o),fr=i(kt,` and can be used to control the model outputs. Read the
documentation from `),ft=n(kt,"A",{href:!0});var Ta=a(ft);ur=i(Ta,"PretrainedConfig"),Ta.forEach(o),gr=i(kt," for more information."),kt.forEach(o),_r=h(ye),b(le.$$.fragment,ye),ye.forEach(o),$o=h(t),X=n(t,"H2",{class:!0});var jo=a(X);ce=n(jo,"A",{id:!0,class:!0,href:!0});var Ca=a(ce);Vt=n(Ca,"SPAN",{});var va=a(Vt);b(De.$$.fragment,va),va.forEach(o),Ca.forEach(o),Tr=h(jo),Wt=n(jo,"SPAN",{});var ba=a(Wt);Cr=i(ba,"MCTCTFeatureExtractor"),ba.forEach(o),jo.forEach(o),wo=h(t),S=n(t,"DIV",{class:!0});var xe=a(S);b(Ie.$$.fragment,xe),vr=h(xe),Bt=n(xe,"P",{});var $a=a(Bt);br=i($a,"Constructs a M-CTC-T feature extractor."),$a.forEach(o),$r=h(xe),Z=n(xe,"P",{});var Et=a(Z);wr=i(Et,"This feature extractor inherits from "),ut=n(Et,"A",{href:!0});var wa=a(ut);Mr=i(wa,"SequenceFeatureExtractor"),wa.forEach(o),yr=i(Et,` which contains
most of the main methods. Users should refer to this superclass for more information regarding those methods. This
code has been adapted from Flashlight\u2019s C++ code. For more information about the implementation, one can refer to
this `),Le=n(Et,"A",{href:!0,rel:!0});var Ma=a(Le);xr=i(Ma,"notebook"),Ma.forEach(o),kr=i(Et,`
that takes the user step-by-step in the implementation.`),Et.forEach(o),Er=h(xe),de=n(xe,"DIV",{class:!0});var qo=a(de);b(Se.$$.fragment,qo),Pr=h(qo),Rt=n(qo,"P",{});var ya=a(Rt);zr=i(ya,`Main method to featurize and prepare for the model one or several sequence(s). sequences. It returns the
log-mel spectrogram of the input audio, as implemented in the original Flashlight MFSC feature extraction code.`),ya.forEach(o),qo.forEach(o),xe.forEach(o),Mo=h(t),ee=n(t,"H2",{class:!0});var Ao=a(ee);me=n(Ao,"A",{id:!0,class:!0,href:!0});var xa=a(me);Ut=n(xa,"SPAN",{});var ka=a(Ut);b(Ne.$$.fragment,ka),ka.forEach(o),xa.forEach(o),Fr=h(Ao),Ht=n(Ao,"SPAN",{});var Ea=a(Ht);jr=i(Ea,"MCTCTProcessor"),Ea.forEach(o),Ao.forEach(o),yo=h(t),k=n(t,"DIV",{class:!0});var z=a(k);b(Oe.$$.fragment,z),qr=h(z),Gt=n(z,"P",{});var Pa=a(Gt);Ar=i(Pa,"Constructs a MCTCT processor which wraps a MCTCT feature extractor and a MCTCT tokenizer into a single processor."),Pa.forEach(o),Dr=h(z),A=n(z,"P",{});var B=a(A);gt=n(B,"A",{href:!0});var za=a(gt);Ir=i(za,"MCTCTProcessor"),za.forEach(o),Lr=i(B," offers all the functionalities of "),_t=n(B,"A",{href:!0});var Fa=a(_t);Sr=i(Fa,"MCTCTFeatureExtractor"),Fa.forEach(o),Nr=i(B," and "),Tt=n(B,"A",{href:!0});var ja=a(Tt);Or=i(ja,"AutoTokenizer"),ja.forEach(o),Vr=i(B,`. See the
`),Ve=n(B,"A",{href:!0});var na=a(Ve);Jt=n(na,"STRONG",{});var qa=a(Jt);Wr=i(qa,"call"),qa.forEach(o),Br=i(na,"()"),na.forEach(o),Rr=i(B," and "),Ct=n(B,"A",{href:!0});var Aa=a(Ct);Ur=i(Aa,"decode()"),Aa.forEach(o),Hr=i(B," for more information."),B.forEach(o),Gr=h(z),pe=n(z,"DIV",{class:!0});var Do=a(pe);b(We.$$.fragment,Do),Jr=h(Do),O=n(Do,"P",{});var ke=a(O);Kr=i(ke,`When used in normal mode, this method forwards all its arguments to MCTCTFeatureExtractor\u2019s
`),Be=n(ke,"A",{href:!0});var aa=a(Be);Kt=n(aa,"STRONG",{});var Da=a(Kt);Qr=i(Da,"call"),Da.forEach(o),Yr=i(aa,"()"),aa.forEach(o),Xr=i(ke,` and returns its output. If used in the context
`),Qt=n(ke,"CODE",{});var Ia=a(Qt);Zr=i(Ia,"as_target_processor()"),Ia.forEach(o),en=i(ke,` this method forwards all its arguments to AutoTokenizer\u2019s
`),Yt=n(ke,"CODE",{});var La=a(Yt);tn=i(La,"__call__()"),La.forEach(o),on=i(ke,". Please refer to the doctsring of the above two methods for more information."),ke.forEach(o),Do.forEach(o),rn=h(z),U=n(z,"DIV",{class:!0});var Pt=a(U);b(Re.$$.fragment,Pt),nn=h(Pt),Xt=n(Pt,"P",{});var Sa=a(Xt);an=i(Sa,"Instantiate a processor associated with a pretrained model."),Sa.forEach(o),sn=h(Pt),b(he.$$.fragment,Pt),Pt.forEach(o),ln=h(z),H=n(z,"DIV",{class:!0});var zt=a(H);b(Ue.$$.fragment,zt),cn=h(zt),He=n(zt,"P",{});var Io=a(He);dn=i(Io,`Saves the attributes of this processor (feature extractor, tokenizer\u2026) in the specified directory so that it
can be reloaded using the `),vt=n(Io,"A",{href:!0});var Na=a(vt);mn=i(Na,"from_pretrained()"),Na.forEach(o),pn=i(Io," method."),Io.forEach(o),hn=h(zt),b(fe.$$.fragment,zt),zt.forEach(o),fn=h(z),ue=n(z,"DIV",{class:!0});var Lo=a(ue);b(Ge.$$.fragment,Lo),un=h(Lo),Je=n(Lo,"P",{});var So=a(Je);gn=i(So,"This method forwards all its arguments to AutoTokenizer\u2019s "),bt=n(So,"A",{href:!0});var Oa=a(bt);_n=i(Oa,"batch_decode()"),Oa.forEach(o),Tn=i(So,`. Please refer
to the docstring of this method for more information.`),So.forEach(o),Lo.forEach(o),Cn=h(z),ge=n(z,"DIV",{class:!0});var No=a(ge);b(Ke.$$.fragment,No),vn=h(No),Qe=n(No,"P",{});var Oo=a(Qe);bn=i(Oo,"This method forwards all its arguments to AutoTokenizer\u2019s "),$t=n(Oo,"A",{href:!0});var Va=a($t);$n=i(Va,"decode()"),Va.forEach(o),wn=i(Oo,`. Please refer to the
docstring of this method for more information.`),Oo.forEach(o),No.forEach(o),z.forEach(o),xo=h(t),te=n(t,"H2",{class:!0});var Vo=a(te);_e=n(Vo,"A",{id:!0,class:!0,href:!0});var Wa=a(_e);Zt=n(Wa,"SPAN",{});var Ba=a(Zt);b(Ye.$$.fragment,Ba),Ba.forEach(o),Wa.forEach(o),Mn=h(Vo),eo=n(Vo,"SPAN",{});var Ra=a(eo);yn=i(Ra,"MCTCTModel"),Ra.forEach(o),Vo.forEach(o),ko=h(t),V=n(t,"DIV",{class:!0});var Ft=a(V);b(Xe.$$.fragment,Ft),xn=h(Ft),Ze=n(Ft,"P",{});var Wo=a(Ze);kn=i(Wo,`The bare M-CTC-T Model transformer outputting raw hidden-states without any specific head on top.
This model is a PyTorch `),et=n(Wo,"A",{href:!0,rel:!0});var Ua=a(et);En=i(Ua,"torch.nn.Module"),Ua.forEach(o),Pn=i(Wo,` sub-class. Use
it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage and
behavior.`),Wo.forEach(o),zn=h(Ft),D=n(Ft,"DIV",{class:!0});var G=a(D);b(tt.$$.fragment,G),Fn=h(G),oe=n(G,"P",{});var jt=a(oe);jn=i(jt,"The "),wt=n(jt,"A",{href:!0});var Ha=a(wt);qn=i(Ha,"MCTCTModel"),Ha.forEach(o),An=i(jt," forward method, overrides the "),to=n(jt,"CODE",{});var Ga=a(to);Dn=i(Ga,"__call__"),Ga.forEach(o),In=i(jt," special method."),jt.forEach(o),Ln=h(G),b(Te.$$.fragment,G),Sn=h(G),b(Ce.$$.fragment,G),Nn=h(G),b(ve.$$.fragment,G),G.forEach(o),Ft.forEach(o),Eo=h(t),re=n(t,"H2",{class:!0});var Bo=a(re);be=n(Bo,"A",{id:!0,class:!0,href:!0});var Ja=a(be);oo=n(Ja,"SPAN",{});var Ka=a(oo);b(ot.$$.fragment,Ka),Ka.forEach(o),Ja.forEach(o),On=h(Bo),ro=n(Bo,"SPAN",{});var Qa=a(ro);Vn=i(Qa,"MCTCTForCTC"),Qa.forEach(o),Bo.forEach(o),Po=h(t),W=n(t,"DIV",{class:!0});var qt=a(W);b(rt.$$.fragment,qt),Wn=h(qt),ne=n(qt,"P",{});var At=a(ne);Bn=i(At,"MCTCT Model with a "),no=n(At,"CODE",{});var Ya=a(no);Rn=i(Ya,"language modeling"),Ya.forEach(o),Un=i(At,` head on top for Connectionist Temporal Classification (CTC).
This model is a PyTorch `),nt=n(At,"A",{href:!0,rel:!0});var Xa=a(nt);Hn=i(Xa,"torch.nn.Module"),Xa.forEach(o),Gn=i(At,` sub-class. Use
it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage and
behavior.`),At.forEach(o),Jn=h(qt),I=n(qt,"DIV",{class:!0});var J=a(I);b(at.$$.fragment,J),Kn=h(J),ae=n(J,"P",{});var Dt=a(ae);Qn=i(Dt,"The "),Mt=n(Dt,"A",{href:!0});var Za=a(Mt);Yn=i(Za,"MCTCTForCTC"),Za.forEach(o),Xn=i(Dt," forward method, overrides the "),ao=n(Dt,"CODE",{});var es=a(ao);Zn=i(es,"__call__"),es.forEach(o),ea=i(Dt," special method."),Dt.forEach(o),ta=h(J),b($e.$$.fragment,J),oa=h(J),b(we.$$.fragment,J),ra=h(J),b(Me.$$.fragment,J),J.forEach(o),qt.forEach(o),this.h()},h(){d(l,"name","hf:doc:metadata"),d(l,"content",JSON.stringify(gs)),d(u,"id","mctct"),d(u,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(u,"href","#mctct"),d(m,"class","relative group"),d(q,"id","overview"),d(q,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(q,"href","#overview"),d(j,"class","relative group"),d(Pe,"href","https://arxiv.org/abs/2111.00161"),d(Pe,"rel","nofollow"),d(ze,"href","https://huggingface.co/cwkeam"),d(ze,"rel","nofollow"),d(Fe,"href","https://github.com/flashlight/wav2letter/tree/main/recipes/mling_pl"),d(Fe,"rel","nofollow"),d(ie,"id","transformers.MCTCTConfig"),d(ie,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(ie,"href","#transformers.MCTCTConfig"),d(K,"class","relative group"),d(pt,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTModel"),d(Ae,"href","https://huggingface.co/speechbrain/m-ctc-t-large"),d(Ae,"rel","nofollow"),d(ht,"href","/docs/transformers/pr_19907/en/main_classes/configuration#transformers.PretrainedConfig"),d(ft,"href","/docs/transformers/pr_19907/en/main_classes/configuration#transformers.PretrainedConfig"),d(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(ce,"id","transformers.MCTCTFeatureExtractor"),d(ce,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(ce,"href","#transformers.MCTCTFeatureExtractor"),d(X,"class","relative group"),d(ut,"href","/docs/transformers/pr_19907/en/main_classes/feature_extractor#transformers.SequenceFeatureExtractor"),d(Le,"href","https://colab.research.google.com/drive/1GLtINkkhzms-IsdcGy_-tVCkv0qNF-Gt#scrollTo=pMCRGMmUC_an"),d(Le,"rel","nofollow"),d(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(me,"id","transformers.MCTCTProcessor"),d(me,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(me,"href","#transformers.MCTCTProcessor"),d(ee,"class","relative group"),d(gt,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTProcessor"),d(_t,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTFeatureExtractor"),d(Tt,"href","/docs/transformers/pr_19907/en/model_doc/auto#transformers.AutoTokenizer"),d(Ve,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTProcessor.__call__"),d(Ct,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTProcessor.decode"),d(Be,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTFeatureExtractor.__call__"),d(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(vt,"href","/docs/transformers/pr_19907/en/main_classes/processors#transformers.ProcessorMixin.from_pretrained"),d(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(bt,"href","/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.batch_decode"),d(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d($t,"href","/docs/transformers/pr_19907/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.decode"),d(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(_e,"id","transformers.MCTCTModel"),d(_e,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(_e,"href","#transformers.MCTCTModel"),d(te,"class","relative group"),d(et,"href","https://pytorch.org/docs/stable/nn.html#torch.nn.Module"),d(et,"rel","nofollow"),d(wt,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTModel"),d(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(be,"id","transformers.MCTCTForCTC"),d(be,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(be,"href","#transformers.MCTCTForCTC"),d(re,"class","relative group"),d(nt,"href","https://pytorch.org/docs/stable/nn.html#torch.nn.Module"),d(nt,"rel","nofollow"),d(Mt,"href","/docs/transformers/pr_19907/en/model_doc/mctct#transformers.MCTCTForCTC"),d(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),d(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(t,f){e(document.head,l),T(t,_,f),T(t,m,f),e(m,u),e(u,C),$(c,C,null),e(m,g),e(m,P),e(P,F),T(t,x,f),T(t,j,f),e(j,q),e(q,It),$(Ee,It,null),e(j,Uo),e(j,Lt),e(Lt,Ho),T(t,go,f),T(t,se,f),e(se,Go),e(se,Pe),e(Pe,Jo),e(se,Ko),T(t,_o,f),T(t,dt,f),e(dt,Qo),T(t,To,f),T(t,mt,f),e(mt,St),e(St,Yo),T(t,Co,f),T(t,R,f),e(R,Xo),e(R,ze),e(ze,Zo),e(R,er),e(R,Fe),e(Fe,tr),e(R,or),T(t,vo,f),T(t,K,f),e(K,ie),e(ie,Nt),$(je,Nt,null),e(K,rr),e(K,Ot),e(Ot,nr),T(t,bo,f),T(t,L,f),$(qe,L,null),e(L,ar),e(L,Q),e(Q,sr),e(Q,pt),e(pt,ir),e(Q,lr),e(Q,Ae),e(Ae,cr),e(Q,dr),e(L,mr),e(L,Y),e(Y,pr),e(Y,ht),e(ht,hr),e(Y,fr),e(Y,ft),e(ft,ur),e(Y,gr),e(L,_r),$(le,L,null),T(t,$o,f),T(t,X,f),e(X,ce),e(ce,Vt),$(De,Vt,null),e(X,Tr),e(X,Wt),e(Wt,Cr),T(t,wo,f),T(t,S,f),$(Ie,S,null),e(S,vr),e(S,Bt),e(Bt,br),e(S,$r),e(S,Z),e(Z,wr),e(Z,ut),e(ut,Mr),e(Z,yr),e(Z,Le),e(Le,xr),e(Z,kr),e(S,Er),e(S,de),$(Se,de,null),e(de,Pr),e(de,Rt),e(Rt,zr),T(t,Mo,f),T(t,ee,f),e(ee,me),e(me,Ut),$(Ne,Ut,null),e(ee,Fr),e(ee,Ht),e(Ht,jr),T(t,yo,f),T(t,k,f),$(Oe,k,null),e(k,qr),e(k,Gt),e(Gt,Ar),e(k,Dr),e(k,A),e(A,gt),e(gt,Ir),e(A,Lr),e(A,_t),e(_t,Sr),e(A,Nr),e(A,Tt),e(Tt,Or),e(A,Vr),e(A,Ve),e(Ve,Jt),e(Jt,Wr),e(Ve,Br),e(A,Rr),e(A,Ct),e(Ct,Ur),e(A,Hr),e(k,Gr),e(k,pe),$(We,pe,null),e(pe,Jr),e(pe,O),e(O,Kr),e(O,Be),e(Be,Kt),e(Kt,Qr),e(Be,Yr),e(O,Xr),e(O,Qt),e(Qt,Zr),e(O,en),e(O,Yt),e(Yt,tn),e(O,on),e(k,rn),e(k,U),$(Re,U,null),e(U,nn),e(U,Xt),e(Xt,an),e(U,sn),$(he,U,null),e(k,ln),e(k,H),$(Ue,H,null),e(H,cn),e(H,He),e(He,dn),e(He,vt),e(vt,mn),e(He,pn),e(H,hn),$(fe,H,null),e(k,fn),e(k,ue),$(Ge,ue,null),e(ue,un),e(ue,Je),e(Je,gn),e(Je,bt),e(bt,_n),e(Je,Tn),e(k,Cn),e(k,ge),$(Ke,ge,null),e(ge,vn),e(ge,Qe),e(Qe,bn),e(Qe,$t),e($t,$n),e(Qe,wn),T(t,xo,f),T(t,te,f),e(te,_e),e(_e,Zt),$(Ye,Zt,null),e(te,Mn),e(te,eo),e(eo,yn),T(t,ko,f),T(t,V,f),$(Xe,V,null),e(V,xn),e(V,Ze),e(Ze,kn),e(Ze,et),e(et,En),e(Ze,Pn),e(V,zn),e(V,D),$(tt,D,null),e(D,Fn),e(D,oe),e(oe,jn),e(oe,wt),e(wt,qn),e(oe,An),e(oe,to),e(to,Dn),e(oe,In),e(D,Ln),$(Te,D,null),e(D,Sn),$(Ce,D,null),e(D,Nn),$(ve,D,null),T(t,Eo,f),T(t,re,f),e(re,be),e(be,oo),$(ot,oo,null),e(re,On),e(re,ro),e(ro,Vn),T(t,Po,f),T(t,W,f),$(rt,W,null),e(W,Wn),e(W,ne),e(ne,Bn),e(ne,no),e(no,Rn),e(ne,Un),e(ne,nt),e(nt,Hn),e(ne,Gn),e(W,Jn),e(W,I),$(at,I,null),e(I,Kn),e(I,ae),e(ae,Qn),e(ae,Mt),e(Mt,Yn),e(ae,Xn),e(ae,ao),e(ao,Zn),e(ae,ea),e(I,ta),$($e,I,null),e(I,oa),$(we,I,null),e(I,ra),$(Me,I,null),zo=!0},p(t,[f]){const st={};f&2&&(st.$$scope={dirty:f,ctx:t}),le.$set(st);const so={};f&2&&(so.$$scope={dirty:f,ctx:t}),he.$set(so);const io={};f&2&&(io.$$scope={dirty:f,ctx:t}),fe.$set(io);const lo={};f&2&&(lo.$$scope={dirty:f,ctx:t}),Te.$set(lo);const it={};f&2&&(it.$$scope={dirty:f,ctx:t}),Ce.$set(it);const co={};f&2&&(co.$$scope={dirty:f,ctx:t}),ve.$set(co);const mo={};f&2&&(mo.$$scope={dirty:f,ctx:t}),$e.$set(mo);const po={};f&2&&(po.$$scope={dirty:f,ctx:t}),we.$set(po);const lt={};f&2&&(lt.$$scope={dirty:f,ctx:t}),Me.$set(lt)},i(t){zo||(w(c.$$.fragment,t),w(Ee.$$.fragment,t),w(je.$$.fragment,t),w(qe.$$.fragment,t),w(le.$$.fragment,t),w(De.$$.fragment,t),w(Ie.$$.fragment,t),w(Se.$$.fragment,t),w(Ne.$$.fragment,t),w(Oe.$$.fragment,t),w(We.$$.fragment,t),w(Re.$$.fragment,t),w(he.$$.fragment,t),w(Ue.$$.fragment,t),w(fe.$$.fragment,t),w(Ge.$$.fragment,t),w(Ke.$$.fragment,t),w(Ye.$$.fragment,t),w(Xe.$$.fragment,t),w(tt.$$.fragment,t),w(Te.$$.fragment,t),w(Ce.$$.fragment,t),w(ve.$$.fragment,t),w(ot.$$.fragment,t),w(rt.$$.fragment,t),w(at.$$.fragment,t),w($e.$$.fragment,t),w(we.$$.fragment,t),w(Me.$$.fragment,t),zo=!0)},o(t){M(c.$$.fragment,t),M(Ee.$$.fragment,t),M(je.$$.fragment,t),M(qe.$$.fragment,t),M(le.$$.fragment,t),M(De.$$.fragment,t),M(Ie.$$.fragment,t),M(Se.$$.fragment,t),M(Ne.$$.fragment,t),M(Oe.$$.fragment,t),M(We.$$.fragment,t),M(Re.$$.fragment,t),M(he.$$.fragment,t),M(Ue.$$.fragment,t),M(fe.$$.fragment,t),M(Ge.$$.fragment,t),M(Ke.$$.fragment,t),M(Ye.$$.fragment,t),M(Xe.$$.fragment,t),M(tt.$$.fragment,t),M(Te.$$.fragment,t),M(Ce.$$.fragment,t),M(ve.$$.fragment,t),M(ot.$$.fragment,t),M(rt.$$.fragment,t),M(at.$$.fragment,t),M($e.$$.fragment,t),M(we.$$.fragment,t),M(Me.$$.fragment,t),zo=!1},d(t){o(l),t&&o(_),t&&o(m),y(c),t&&o(x),t&&o(j),y(Ee),t&&o(go),t&&o(se),t&&o(_o),t&&o(dt),t&&o(To),t&&o(mt),t&&o(Co),t&&o(R),t&&o(vo),t&&o(K),y(je),t&&o(bo),t&&o(L),y(qe),y(le),t&&o($o),t&&o(X),y(De),t&&o(wo),t&&o(S),y(Ie),y(Se),t&&o(Mo),t&&o(ee),y(Ne),t&&o(yo),t&&o(k),y(Oe),y(We),y(Re),y(he),y(Ue),y(fe),y(Ge),y(Ke),t&&o(xo),t&&o(te),y(Ye),t&&o(ko),t&&o(V),y(Xe),y(tt),y(Te),y(Ce),y(ve),t&&o(Eo),t&&o(re),y(ot),t&&o(Po),t&&o(W),y(rt),y(at),y($e),y(we),y(Me)}}}const gs={local:"mctct",sections:[{local:"overview",title:"Overview"},{local:"transformers.MCTCTConfig",title:"MCTCTConfig"},{local:"transformers.MCTCTFeatureExtractor",title:"MCTCTFeatureExtractor"},{local:"transformers.MCTCTProcessor",title:"MCTCTProcessor"},{local:"transformers.MCTCTModel",title:"MCTCTModel"},{local:"transformers.MCTCTForCTC",title:"MCTCTForCTC"}],title:"M-CTC-T"};function _s(E){return as(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ms extends ts{constructor(l){super();os(this,l,_s,us,rs,{})}}export{Ms as default,gs as metadata};
