import{s as zt,o as Ut,n as ot}from"../chunks/scheduler.18a86fab.js";import{S as Wt,i as kt,g as l,s,r as u,A as Zt,h as c,f as a,c as o,j as k,u as h,x as y,k as W,y as d,a as n,v as g,d as f,t as _,w as b}from"../chunks/index.98837b22.js";import{T as Gt}from"../chunks/Tip.77304350.js";import{D as le}from"../chunks/Docstring.6758ea23.js";import{C as rt}from"../chunks/CodeBlock.8d0c2e8a.js";import{E as xt}from"../chunks/ExampleCodeBlock.0c42463f.js";import{H as ce}from"../chunks/Heading.7e7e0c5b.js";import{E as Ct}from"../chunks/index.499f366c.js";function Vt(Z){let i,J="Example:",p,m,v;return m=new rt({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMERhY01vZGVsJTJDJTIwRGFjQ29uZmlnJTBBJTBBJTIzJTIwSW5pdGlhbGl6aW5nJTIwYSUyMCUyMmRlc2NyaXB0JTJGZGFjXzE2a2h6JTIyJTIwc3R5bGUlMjBjb25maWd1cmF0aW9uJTBBY29uZmlndXJhdGlvbiUyMCUzRCUyMERhY0NvbmZpZygpJTBBJTBBJTIzJTIwSW5pdGlhbGl6aW5nJTIwYSUyMG1vZGVsJTIwKHdpdGglMjByYW5kb20lMjB3ZWlnaHRzKSUyMGZyb20lMjB0aGUlMjAlMjJkZXNjcmlwdCUyRmRhY18xNmtoeiUyMiUyMHN0eWxlJTIwY29uZmlndXJhdGlvbiUwQW1vZGVsJTIwJTNEJTIwRGFjTW9kZWwoY29uZmlndXJhdGlvbiklMEElMEElMjMlMjBBY2Nlc3NpbmclMjB0aGUlMjBtb2RlbCUyMGNvbmZpZ3VyYXRpb24lMEFjb25maWd1cmF0aW9uJTIwJTNEJTIwbW9kZWwuY29uZmln",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> DacModel, DacConfig

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a &quot;descript/dac_16khz&quot; style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>configuration = DacConfig()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a model (with random weights) from the &quot;descript/dac_16khz&quot; style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>model = DacModel(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`,wrap:!1}}),{c(){i=l("p"),i.textContent=J,p=s(),u(m.$$.fragment)},l(r){i=c(r,"P",{"data-svelte-h":!0}),y(i)!=="svelte-11lpom8"&&(i.textContent=J),p=o(r),h(m.$$.fragment,r)},m(r,M){n(r,i,M),n(r,p,M),g(m,r,M),v=!0},p:ot,i(r){v||(f(m.$$.fragment,r),v=!0)},o(r){_(m.$$.fragment,r),v=!1},d(r){r&&(a(i),a(p)),b(m,r)}}}function It(Z){let i,J=`Although the recipe for forward pass needs to be defined within this function, one should call the <code>Module</code>
instance afterwards instead of this since the former takes care of running the pre and post processing steps while
the latter silently ignores them.`;return{c(){i=l("p"),i.innerHTML=J},l(p){i=c(p,"P",{"data-svelte-h":!0}),y(i)!=="svelte-fincs2"&&(i.innerHTML=J)},m(p,m){n(p,i,m)},p:ot,d(p){p&&a(i)}}}function Dt(Z){let i,J="Examples:",p,m,v;return m=new rt({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTJDJTIwQXVkaW8lMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwRGFjTW9kZWwlMkMlMjBBdXRvUHJvY2Vzc29yJTBBbGlicmlzcGVlY2hfZHVtbXklMjAlM0QlMjBsb2FkX2RhdGFzZXQoJTIyaGYtaW50ZXJuYWwtdGVzdGluZyUyRmxpYnJpc3BlZWNoX2Fzcl9kdW1teSUyMiUyQyUyMCUyMmNsZWFuJTIyJTJDJTIwc3BsaXQlM0QlMjJ2YWxpZGF0aW9uJTIyKSUwQSUwQW1vZGVsJTIwJTNEJTIwRGFjTW9kZWwuZnJvbV9wcmV0cmFpbmVkKCUyMmRlc2NyaXB0JTJGZGFjXzE2a2h6JTIyKSUwQXByb2Nlc3NvciUyMCUzRCUyMEF1dG9Qcm9jZXNzb3IuZnJvbV9wcmV0cmFpbmVkKCUyMmRlc2NyaXB0JTJGZGFjXzE2a2h6JTIyKSUwQWxpYnJpc3BlZWNoX2R1bW15JTIwJTNEJTIwbGlicmlzcGVlY2hfZHVtbXkuY2FzdF9jb2x1bW4oJTIyYXVkaW8lMjIlMkMlMjBBdWRpbyhzYW1wbGluZ19yYXRlJTNEcHJvY2Vzc29yLnNhbXBsaW5nX3JhdGUpKSUwQWF1ZGlvX3NhbXBsZSUyMCUzRCUyMGxpYnJpc3BlZWNoX2R1bW15JTVCLTElNUQlNUIlMjJhdWRpbyUyMiU1RCU1QiUyMmFycmF5JTIyJTVEJTBBaW5wdXRzJTIwJTNEJTIwcHJvY2Vzc29yKHJhd19hdWRpbyUzRGF1ZGlvX3NhbXBsZSUyQyUyMHNhbXBsaW5nX3JhdGUlM0Rwcm9jZXNzb3Iuc2FtcGxpbmdfcmF0ZSUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBJTBBZW5jb2Rlcl9vdXRwdXRzJTIwJTNEJTIwbW9kZWwuZW5jb2RlKGlucHV0cyU1QiUyMmlucHV0X3ZhbHVlcyUyMiU1RCklMEElMjMlMjBHZXQlMjB0aGUlMjBpbnRlcm1lZGlhdGUlMjBhdWRpbyUyMGNvZGVzJTBBYXVkaW9fY29kZXMlMjAlM0QlMjBlbmNvZGVyX291dHB1dHMuYXVkaW9fY29kZXMlMEElMjMlMjBSZWNvbnN0cnVjdCUyMHRoZSUyMGF1ZGlvJTIwZnJvbSUyMGl0cyUyMHF1YW50aXplZCUyMHJlcHJlc2VudGF0aW9uJTBBYXVkaW9fdmFsdWVzJTIwJTNEJTIwbW9kZWwuZGVjb2RlKGVuY29kZXJfb3V0cHV0cy5xdWFudGl6ZWRfcmVwcmVzZW50YXRpb24pJTBBJTIzJTIwb3IlMjB0aGUlMjBlcXVpdmFsZW50JTIwd2l0aCUyMGElMjBmb3J3YXJkJTIwcGFzcyUwQWF1ZGlvX3ZhbHVlcyUyMCUzRCUyMG1vZGVsKGlucHV0cyU1QiUyMmlucHV0X3ZhbHVlcyUyMiU1RCkuYXVkaW9fdmFsdWVz",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset, Audio
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> DacModel, AutoProcessor
<span class="hljs-meta">&gt;&gt;&gt; </span>librispeech_dummy = load_dataset(<span class="hljs-string">&quot;hf-internal-testing/librispeech_asr_dummy&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>model = DacModel.from_pretrained(<span class="hljs-string">&quot;descript/dac_16khz&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>processor = AutoProcessor.from_pretrained(<span class="hljs-string">&quot;descript/dac_16khz&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>librispeech_dummy = librispeech_dummy.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, Audio(sampling_rate=processor.sampling_rate))
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_sample = librispeech_dummy[-<span class="hljs-number">1</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>inputs = processor(raw_audio=audio_sample, sampling_rate=processor.sampling_rate, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>encoder_outputs = model.encode(inputs[<span class="hljs-string">&quot;input_values&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Get the intermediate audio codes</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_codes = encoder_outputs.audio_codes
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Reconstruct the audio from its quantized representation</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_values = model.decode(encoder_outputs.quantized_representation)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># or the equivalent with a forward pass</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_values = model(inputs[<span class="hljs-string">&quot;input_values&quot;</span>]).audio_values`,wrap:!1}}),{c(){i=l("p"),i.textContent=J,p=s(),u(m.$$.fragment)},l(r){i=c(r,"P",{"data-svelte-h":!0}),y(i)!=="svelte-kvfsh7"&&(i.textContent=J),p=o(r),h(m.$$.fragment,r)},m(r,M){n(r,i,M),n(r,p,M),g(m,r,M),v=!0},p:ot,i(r){v||(f(m.$$.fragment,r),v=!0)},o(r){_(m.$$.fragment,r),v=!1},d(r){r&&(a(i),a(p)),b(m,r)}}}function Xt(Z){let i,J,p,m,v,r,M,it='<img alt="PyTorch" src="https://img.shields.io/badge/PyTorch-DE3412?style=flat&amp;logo=pytorch&amp;logoColor=white"/>',Me,X,Te,B,lt='The DAC model was proposed in <a href="https://arxiv.org/abs/2306.06546" rel="nofollow">Descript Audio Codec: High-Fidelity Audio Compression with Improved RVQGAN</a> by Rithesh Kumar, Prem Seetharaman, Alejandro Luebs, Ishaan Kumar, Kundan Kumar.',Je,q,ct="The Descript Audio Codec (DAC) model is a powerful tool for compressing audio data, making it highly efficient for storage and transmission. By compressing 44.1 KHz audio into tokens at just 8kbps bandwidth, the DAC model enables high-quality audio processing while significantly reducing the data footprint. This is particularly useful in scenarios where bandwidth is limited or storage space is at a premium, such as in streaming applications, remote conferencing, and archiving large audio datasets.",$e,R,dt="The abstract from the paper is the following:",je,F,mt="<em>Language models have been successfully used to model natural signals, such as images, speech, and music. A key component of these models is a high quality neural compression model that can compress high-dimensional natural signals into lower dimensional discrete tokens. To that end, we introduce a high-fidelity universal neural audio compression algorithm that achieves ~90x compression of 44.1 KHz audio into tokens at just 8kbps bandwidth. We achieve this by combining advances in high-fidelity audio generation with better vector quantization techniques from the image domain, along with improved adversarial and reconstruction losses. We compress all domains (speech, environment, music, etc.) with a single universal model, making it widely applicable to generative modeling of all audio. We compare with competing audio compression algorithms, and find our method outperforms them significantly. We provide thorough ablations for every design choice, as well as open-source code and trained model weights. We hope our work can lay the foundation for the next generation of high-fidelity audio modeling.</em>",xe,N,pt=`This model was contributed by <a href="https://huggingface.co/kamilakesbi" rel="nofollow">Kamil Akesbi</a>.
The original code can be found <a href="https://github.com/descriptinc/descript-audio-codec/tree/main?tab=readme-ov-file" rel="nofollow">here</a>.`,ze,E,Ue,H,ut="The Descript Audio Codec (DAC) model is structured into three distinct stages:",We,Y,ht="<li>Encoder Model: This stage compresses the input audio, reducing its size while retaining essential information.</li> <li>Residual Vector Quantizer (RVQ) Model: Working in tandem with the encoder, this model quantizes the latent codes of the audio, refining the compression and ensuring high-quality reconstruction.</li> <li>Decoder Model: This final stage reconstructs the audio from its compressed form, restoring it to a state that closely resembles the original input.</li>",ke,Q,Ze,L,gt="Here is a quick example of how to encode and decode an audio using this model:",Ge,P,Ce,S,Ve,$,A,Ne,de,ft=`This is the configuration class to store the configuration of an <a href="/docs/transformers/main/en/model_doc/dac#transformers.DacModel">DacModel</a>. It is used to instantiate a
Dac 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
<a href="https://huggingface.co/descript/dac_16khz" rel="nofollow">descript/dac_16khz</a> architecture.`,Ee,me,_t=`Configuration objects inherit from <a href="/docs/transformers/main/en/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a> and can be used to control the model outputs. Read the
documentation from <a href="/docs/transformers/main/en/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a> for more information.`,He,G,Ie,K,De,j,O,Ye,pe,bt="Constructs an Dac feature extractor.",Qe,ue,yt=`This feature extractor inherits from <a href="/docs/transformers/main/en/main_classes/feature_extractor#transformers.SequenceFeatureExtractor">SequenceFeatureExtractor</a> which contains
most of the main methods. Users should refer to this superclass for more information regarding those methods.`,Le,C,ee,Pe,he,wt="Main method to featurize and prepare for the model one or several sequence(s).",Xe,te,Be,w,ae,Se,ge,vt="The DAC (Descript Audio Codec) model.",Ae,fe,Mt=`This model inherits from <a href="/docs/transformers/main/en/main_classes/model#transformers.PreTrainedModel">PreTrainedModel</a>. Check the superclass documentation for the generic methods the
library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads
etc.)`,Ke,_e,Tt=`This model is also a PyTorch <a href="https://pytorch.org/docs/stable/nn.html#torch.nn.Module" rel="nofollow">torch.nn.Module</a> subclass.
Use it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage
and behavior.`,Oe,be,ne,et,ye,se,tt,x,oe,at,we,Jt='The <a href="/docs/transformers/main/en/model_doc/dac#transformers.DacModel">DacModel</a> forward method, overrides the <code>__call__</code> special method.',nt,V,st,I,qe,re,Re,ve,Fe;return v=new ce({props:{title:"DAC",local:"dac",headingTag:"h1"}}),X=new ce({props:{title:"Overview",local:"overview",headingTag:"h2"}}),E=new ce({props:{title:"Model structure",local:"model-structure",headingTag:"h2"}}),Q=new ce({props:{title:"Usage example",local:"usage-example",headingTag:"h2"}}),P=new rt({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTJDJTIwQXVkaW8lMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwRGFjTW9kZWwlMkMlMjBBdXRvUHJvY2Vzc29yJTBBbGlicmlzcGVlY2hfZHVtbXklMjAlM0QlMjBsb2FkX2RhdGFzZXQoJTIyaGYtaW50ZXJuYWwtdGVzdGluZyUyRmxpYnJpc3BlZWNoX2Fzcl9kdW1teSUyMiUyQyUyMCUyMmNsZWFuJTIyJTJDJTIwc3BsaXQlM0QlMjJ2YWxpZGF0aW9uJTIyKSUwQSUwQW1vZGVsJTIwJTNEJTIwRGFjTW9kZWwuZnJvbV9wcmV0cmFpbmVkKCUyMmRlc2NyaXB0JTJGZGFjXzE2a2h6JTIyKSUwQXByb2Nlc3NvciUyMCUzRCUyMEF1dG9Qcm9jZXNzb3IuZnJvbV9wcmV0cmFpbmVkKCUyMmRlc2NyaXB0JTJGZGFjXzE2a2h6JTIyKSUwQWxpYnJpc3BlZWNoX2R1bW15JTIwJTNEJTIwbGlicmlzcGVlY2hfZHVtbXkuY2FzdF9jb2x1bW4oJTIyYXVkaW8lMjIlMkMlMjBBdWRpbyhzYW1wbGluZ19yYXRlJTNEcHJvY2Vzc29yLnNhbXBsaW5nX3JhdGUpKSUwQWF1ZGlvX3NhbXBsZSUyMCUzRCUyMGxpYnJpc3BlZWNoX2R1bW15JTVCLTElNUQlNUIlMjJhdWRpbyUyMiU1RCU1QiUyMmFycmF5JTIyJTVEJTBBaW5wdXRzJTIwJTNEJTIwcHJvY2Vzc29yKHJhd19hdWRpbyUzRGF1ZGlvX3NhbXBsZSUyQyUyMHNhbXBsaW5nX3JhdGUlM0Rwcm9jZXNzb3Iuc2FtcGxpbmdfcmF0ZSUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBJTBBZW5jb2Rlcl9vdXRwdXRzJTIwJTNEJTIwbW9kZWwuZW5jb2RlKGlucHV0cyU1QiUyMmlucHV0X3ZhbHVlcyUyMiU1RCklMEElMjMlMjBHZXQlMjB0aGUlMjBpbnRlcm1lZGlhdGUlMjBhdWRpbyUyMGNvZGVzJTBBYXVkaW9fY29kZXMlMjAlM0QlMjBlbmNvZGVyX291dHB1dHMuYXVkaW9fY29kZXMlMEElMjMlMjBSZWNvbnN0cnVjdCUyMHRoZSUyMGF1ZGlvJTIwZnJvbSUyMGl0cyUyMHF1YW50aXplZCUyMHJlcHJlc2VudGF0aW9uJTBBYXVkaW9fdmFsdWVzJTIwJTNEJTIwbW9kZWwuZGVjb2RlKGVuY29kZXJfb3V0cHV0cy5xdWFudGl6ZWRfcmVwcmVzZW50YXRpb24pJTBBJTIzJTIwb3IlMjB0aGUlMjBlcXVpdmFsZW50JTIwd2l0aCUyMGElMjBmb3J3YXJkJTIwcGFzcyUwQWF1ZGlvX3ZhbHVlcyUyMCUzRCUyMG1vZGVsKGlucHV0cyU1QiUyMmlucHV0X3ZhbHVlcyUyMiU1RCkuYXVkaW9fdmFsdWVz",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset, Audio
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> DacModel, AutoProcessor
<span class="hljs-meta">&gt;&gt;&gt; </span>librispeech_dummy = load_dataset(<span class="hljs-string">&quot;hf-internal-testing/librispeech_asr_dummy&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>model = DacModel.from_pretrained(<span class="hljs-string">&quot;descript/dac_16khz&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>processor = AutoProcessor.from_pretrained(<span class="hljs-string">&quot;descript/dac_16khz&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>librispeech_dummy = librispeech_dummy.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, Audio(sampling_rate=processor.sampling_rate))
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_sample = librispeech_dummy[-<span class="hljs-number">1</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>inputs = processor(raw_audio=audio_sample, sampling_rate=processor.sampling_rate, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>encoder_outputs = model.encode(inputs[<span class="hljs-string">&quot;input_values&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Get the intermediate audio codes</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_codes = encoder_outputs.audio_codes
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Reconstruct the audio from its quantized representation</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_values = model.decode(encoder_outputs.quantized_representation)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># or the equivalent with a forward pass</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>audio_values = model(inputs[<span class="hljs-string">&quot;input_values&quot;</span>]).audio_values`,wrap:!1}}),S=new ce({props:{title:"DacConfig",local:"transformers.DacConfig",headingTag:"h2"}}),A=new le({props:{name:"class transformers.DacConfig",anchor:"transformers.DacConfig",parameters:[{name:"encoder_hidden_size",val:" = 64"},{name:"downsampling_ratios",val:" = [2, 4, 8, 8]"},{name:"decoder_hidden_size",val:" = 1536"},{name:"n_codebooks",val:" = 9"},{name:"codebook_size",val:" = 1024"},{name:"codebook_dim",val:" = 8"},{name:"quantizer_dropout",val:" = 0"},{name:"commitment_loss_weight",val:" = 0.25"},{name:"codebook_loss_weight",val:" = 1.0"},{name:"sampling_rate",val:" = 16000"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.DacConfig.encoder_hidden_size",description:`<strong>encoder_hidden_size</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014;
Intermediate representation dimension for the encoder.`,name:"encoder_hidden_size"},{anchor:"transformers.DacConfig.downsampling_ratios",description:`<strong>downsampling_ratios</strong> (<code>List[int]</code>, <em>optional</em>, defaults to <code>[2, 4, 8, 8]</code>) &#x2014;
Ratios for downsampling in the encoder. These are used in reverse order for upsampling in the decoder.`,name:"downsampling_ratios"},{anchor:"transformers.DacConfig.decoder_hidden_size",description:`<strong>decoder_hidden_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1536) &#x2014;
Intermediate representation dimension for the decoder.`,name:"decoder_hidden_size"},{anchor:"transformers.DacConfig.n_codebooks",description:`<strong>n_codebooks</strong> (<code>int</code>, <em>optional</em>, defaults to 9) &#x2014;
Number of codebooks in the VQVAE.`,name:"n_codebooks"},{anchor:"transformers.DacConfig.codebook_size",description:`<strong>codebook_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1024) &#x2014;
Number of discrete codes in each codebook.`,name:"codebook_size"},{anchor:"transformers.DacConfig.codebook_dim",description:`<strong>codebook_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 8) &#x2014;
Dimension of the codebook vectors. If not defined, uses <code>encoder_hidden_size</code>.`,name:"codebook_dim"},{anchor:"transformers.DacConfig.quantizer_dropout",description:`<strong>quantizer_dropout</strong> (<code>bool</code>, <em>optional</em>, defaults to 0) &#x2014;
Whether to apply dropout to the quantizer.`,name:"quantizer_dropout"},{anchor:"transformers.DacConfig.commitment_loss_weight",description:`<strong>commitment_loss_weight</strong> (float, <em>optional</em>, defaults to 0.25) &#x2014;
Weight of the commitment loss term in the VQVAE loss function.`,name:"commitment_loss_weight"},{anchor:"transformers.DacConfig.codebook_loss_weight",description:`<strong>codebook_loss_weight</strong> (float, <em>optional</em>, defaults to 1.0) &#x2014;
Weight of the codebook loss term in the VQVAE loss function.`,name:"codebook_loss_weight"},{anchor:"transformers.DacConfig.sampling_rate",description:`<strong>sampling_rate</strong> (<code>int</code>, <em>optional</em>, defaults to 16000) &#x2014;
The sampling rate at which the audio waveform should be digitalized expressed in hertz (Hz).`,name:"sampling_rate"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/dac/configuration_dac.py#L28"}}),G=new xt({props:{anchor:"transformers.DacConfig.example",$$slots:{default:[Vt]},$$scope:{ctx:Z}}}),K=new ce({props:{title:"DacFeatureExtractor",local:"transformers.DacFeatureExtractor",headingTag:"h2"}}),O=new le({props:{name:"class transformers.DacFeatureExtractor",anchor:"transformers.DacFeatureExtractor",parameters:[{name:"feature_size",val:": int = 1"},{name:"sampling_rate",val:": int = 16000"},{name:"padding_value",val:": float = 0.0"},{name:"hop_length",val:": int = 512"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.DacFeatureExtractor.feature_size",description:`<strong>feature_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The feature dimension of the extracted features. Use 1 for mono, 2 for stereo.`,name:"feature_size"},{anchor:"transformers.DacFeatureExtractor.sampling_rate",description:`<strong>sampling_rate</strong> (<code>int</code>, <em>optional</em>, defaults to 16000) &#x2014;
The sampling rate at which the audio waveform should be digitalized, expressed in hertz (Hz).`,name:"sampling_rate"},{anchor:"transformers.DacFeatureExtractor.padding_value",description:`<strong>padding_value</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014;
The value that is used for padding.`,name:"padding_value"},{anchor:"transformers.DacFeatureExtractor.hop_length",description:`<strong>hop_length</strong> (<code>int</code>, <em>optional</em>, defaults to 512) &#x2014;
Overlap length between successive windows.`,name:"hop_length"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/dac/feature_extraction_dac.py#L29"}}),ee=new le({props:{name:"__call__",anchor:"transformers.DacFeatureExtractor.__call__",parameters:[{name:"raw_audio",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, NoneType] = None"},{name:"truncation",val:": typing.Optional[bool] = False"},{name:"max_length",val:": typing.Optional[int] = None"},{name:"return_tensors",val:": typing.Union[str, transformers.utils.generic.TensorType, NoneType] = None"},{name:"sampling_rate",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"transformers.DacFeatureExtractor.__call__.raw_audio",description:`<strong>raw_audio</strong> (<code>np.ndarray</code>, <code>List[float]</code>, <code>List[np.ndarray]</code>, <code>List[List[float]]</code>) &#x2014;
The sequence or batch of sequences to be processed. Each sequence can be a numpy array, a list of float
values, a list of numpy arrays or a list of list of float values. The numpy array must be of shape
<code>(num_samples,)</code> for mono audio (<code>feature_size = 1</code>), or <code>(2, num_samples)</code> for stereo audio
(<code>feature_size = 2</code>).`,name:"raw_audio"},{anchor:"transformers.DacFeatureExtractor.__call__.padding",description:`<strong>padding</strong> (<code>bool</code>, <code>str</code> or <a href="/docs/transformers/main/en/internal/file_utils#transformers.utils.PaddingStrategy">PaddingStrategy</a>, <em>optional</em>, defaults to <code>True</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.DacFeatureExtractor.__call__.truncation",description:`<strong>truncation</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Activates truncation to cut input sequences longer than <code>max_length</code> to <code>max_length</code>.`,name:"truncation"},{anchor:"transformers.DacFeatureExtractor.__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.DacFeatureExtractor.__call__.return_tensors",description:`<strong>return_tensors</strong> (<code>str</code> or <a href="/docs/transformers/main/en/internal/file_utils#transformers.TensorType">TensorType</a>, <em>optional</em>, default to &#x2018;pt&#x2019;) &#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.DacFeatureExtractor.__call__.sampling_rate",description:`<strong>sampling_rate</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The sampling rate at which the <code>audio</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"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/dac/feature_extraction_dac.py#L60"}}),te=new ce({props:{title:"DacModel",local:"transformers.DacModel",headingTag:"h2"}}),ae=new le({props:{name:"class transformers.DacModel",anchor:"transformers.DacModel",parameters:[{name:"config",val:": DacConfig"}],parametersDescription:[{anchor:"transformers.DacModel.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/en/model_doc/dac#transformers.DacConfig">DacConfig</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/main/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/main/src/transformers/models/dac/modeling_dac.py#L547"}}),ne=new le({props:{name:"decode",anchor:"transformers.DacModel.decode",parameters:[{name:"quantized_representation",val:": typing.Optional[torch.Tensor] = None"},{name:"audio_codes",val:": typing.Optional[torch.Tensor] = None"},{name:"return_dict",val:": typing.Optional[bool] = None"}],parametersDescription:[{anchor:"transformers.DacModel.decode.quantized_representation",description:`<strong>quantized_representation</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, dimension, time_steps)</code>, <em>optional</em>) &#x2014;
Quantized continuous representation of input.`,name:"quantized_representation"},{anchor:"transformers.DacModel.decode.audio_codes",description:`<strong>audio_codes</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_codebooks, time_steps)</code>, <em>optional</em>) &#x2014;
The codebook indices for each codebook, representing the quantized discrete
representation of the input. This parameter should be provided if you want
to decode directly from the audio codes (it will overwrite quantized_representation).`,name:"audio_codes"},{anchor:"transformers.DacModel.decode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return a <a href="/docs/transformers/main/en/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/dac/modeling_dac.py#L596"}}),se=new le({props:{name:"encode",anchor:"transformers.DacModel.encode",parameters:[{name:"input_values",val:": Tensor"},{name:"n_quantizers",val:": typing.Optional[int] = None"},{name:"return_dict",val:": typing.Optional[bool] = None"}],parametersDescription:[{anchor:"transformers.DacModel.encode.input_values",description:`<strong>input_values</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, 1, time_steps)</code>) &#x2014;
Input audio data to encode,`,name:"input_values"},{anchor:"transformers.DacModel.encode.n_quantizers",description:`<strong>n_quantizers</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of quantizers to use. If None, all quantizers are used. Default is None.`,name:"n_quantizers"},{anchor:"transformers.DacModel.encode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return a <a href="/docs/transformers/main/en/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/dac/modeling_dac.py#L569"}}),oe=new le({props:{name:"forward",anchor:"transformers.DacModel.forward",parameters:[{name:"input_values",val:": Tensor"},{name:"n_quantizers",val:": typing.Optional[int] = None"},{name:"return_dict",val:": typing.Optional[bool] = None"}],parametersDescription:[{anchor:"transformers.DacModel.forward.input_values",description:`<strong>input_values</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, 1, time_steps)</code>) &#x2014;
Audio data to encode.`,name:"input_values"},{anchor:"transformers.DacModel.forward.n_quantizers",description:`<strong>n_quantizers</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Number of quantizers to use. If <code>None</code>, all quantizers are used. Default is <code>None</code>.`,name:"n_quantizers"},{anchor:"transformers.DacModel.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/main/en/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/dac/modeling_dac.py#L627"}}),V=new Gt({props:{$$slots:{default:[It]},$$scope:{ctx:Z}}}),I=new xt({props:{anchor:"transformers.DacModel.forward.example",$$slots:{default:[Dt]},$$scope:{ctx:Z}}}),re=new Ct({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/model_doc/dac.md"}}),{c(){i=l("meta"),J=s(),p=l("p"),m=s(),u(v.$$.fragment),r=s(),M=l("div"),M.innerHTML=it,Me=s(),u(X.$$.fragment),Te=s(),B=l("p"),B.innerHTML=lt,Je=s(),q=l("p"),q.textContent=ct,$e=s(),R=l("p"),R.textContent=dt,je=s(),F=l("p"),F.innerHTML=mt,xe=s(),N=l("p"),N.innerHTML=pt,ze=s(),u(E.$$.fragment),Ue=s(),H=l("p"),H.textContent=ut,We=s(),Y=l("ol"),Y.innerHTML=ht,ke=s(),u(Q.$$.fragment),Ze=s(),L=l("p"),L.textContent=gt,Ge=s(),u(P.$$.fragment),Ce=s(),u(S.$$.fragment),Ve=s(),$=l("div"),u(A.$$.fragment),Ne=s(),de=l("p"),de.innerHTML=ft,Ee=s(),me=l("p"),me.innerHTML=_t,He=s(),u(G.$$.fragment),Ie=s(),u(K.$$.fragment),De=s(),j=l("div"),u(O.$$.fragment),Ye=s(),pe=l("p"),pe.textContent=bt,Qe=s(),ue=l("p"),ue.innerHTML=yt,Le=s(),C=l("div"),u(ee.$$.fragment),Pe=s(),he=l("p"),he.textContent=wt,Xe=s(),u(te.$$.fragment),Be=s(),w=l("div"),u(ae.$$.fragment),Se=s(),ge=l("p"),ge.textContent=vt,Ae=s(),fe=l("p"),fe.innerHTML=Mt,Ke=s(),_e=l("p"),_e.innerHTML=Tt,Oe=s(),be=l("div"),u(ne.$$.fragment),et=s(),ye=l("div"),u(se.$$.fragment),tt=s(),x=l("div"),u(oe.$$.fragment),at=s(),we=l("p"),we.innerHTML=Jt,nt=s(),u(V.$$.fragment),st=s(),u(I.$$.fragment),qe=s(),u(re.$$.fragment),Re=s(),ve=l("p"),this.h()},l(e){const t=Zt("svelte-u9bgzb",document.head);i=c(t,"META",{name:!0,content:!0}),t.forEach(a),J=o(e),p=c(e,"P",{}),k(p).forEach(a),m=o(e),h(v.$$.fragment,e),r=o(e),M=c(e,"DIV",{class:!0,"data-svelte-h":!0}),y(M)!=="svelte-13t8s2t"&&(M.innerHTML=it),Me=o(e),h(X.$$.fragment,e),Te=o(e),B=c(e,"P",{"data-svelte-h":!0}),y(B)!=="svelte-96dor5"&&(B.innerHTML=lt),Je=o(e),q=c(e,"P",{"data-svelte-h":!0}),y(q)!=="svelte-18inimd"&&(q.textContent=ct),$e=o(e),R=c(e,"P",{"data-svelte-h":!0}),y(R)!=="svelte-vfdo9a"&&(R.textContent=dt),je=o(e),F=c(e,"P",{"data-svelte-h":!0}),y(F)!=="svelte-105iw56"&&(F.innerHTML=mt),xe=o(e),N=c(e,"P",{"data-svelte-h":!0}),y(N)!=="svelte-4oznky"&&(N.innerHTML=pt),ze=o(e),h(E.$$.fragment,e),Ue=o(e),H=c(e,"P",{"data-svelte-h":!0}),y(H)!=="svelte-kluisz"&&(H.textContent=ut),We=o(e),Y=c(e,"OL",{"data-svelte-h":!0}),y(Y)!=="svelte-gw5kk9"&&(Y.innerHTML=ht),ke=o(e),h(Q.$$.fragment,e),Ze=o(e),L=c(e,"P",{"data-svelte-h":!0}),y(L)!=="svelte-1itt6cz"&&(L.textContent=gt),Ge=o(e),h(P.$$.fragment,e),Ce=o(e),h(S.$$.fragment,e),Ve=o(e),$=c(e,"DIV",{class:!0});var z=k($);h(A.$$.fragment,z),Ne=o(z),de=c(z,"P",{"data-svelte-h":!0}),y(de)!=="svelte-1brvk35"&&(de.innerHTML=ft),Ee=o(z),me=c(z,"P",{"data-svelte-h":!0}),y(me)!=="svelte-o55m63"&&(me.innerHTML=_t),He=o(z),h(G.$$.fragment,z),z.forEach(a),Ie=o(e),h(K.$$.fragment,e),De=o(e),j=c(e,"DIV",{class:!0});var U=k(j);h(O.$$.fragment,U),Ye=o(U),pe=c(U,"P",{"data-svelte-h":!0}),y(pe)!=="svelte-f7d725"&&(pe.textContent=bt),Qe=o(U),ue=c(U,"P",{"data-svelte-h":!0}),y(ue)!=="svelte-3gz575"&&(ue.innerHTML=yt),Le=o(U),C=c(U,"DIV",{class:!0});var ie=k(C);h(ee.$$.fragment,ie),Pe=o(ie),he=c(ie,"P",{"data-svelte-h":!0}),y(he)!=="svelte-1a6wgfx"&&(he.textContent=wt),ie.forEach(a),U.forEach(a),Xe=o(e),h(te.$$.fragment,e),Be=o(e),w=c(e,"DIV",{class:!0});var T=k(w);h(ae.$$.fragment,T),Se=o(T),ge=c(T,"P",{"data-svelte-h":!0}),y(ge)!=="svelte-1orproz"&&(ge.textContent=vt),Ae=o(T),fe=c(T,"P",{"data-svelte-h":!0}),y(fe)!=="svelte-6pahdo"&&(fe.innerHTML=Mt),Ke=o(T),_e=c(T,"P",{"data-svelte-h":!0}),y(_e)!=="svelte-hswkmf"&&(_e.innerHTML=Tt),Oe=o(T),be=c(T,"DIV",{class:!0});var $t=k(be);h(ne.$$.fragment,$t),$t.forEach(a),et=o(T),ye=c(T,"DIV",{class:!0});var jt=k(ye);h(se.$$.fragment,jt),jt.forEach(a),tt=o(T),x=c(T,"DIV",{class:!0});var D=k(x);h(oe.$$.fragment,D),at=o(D),we=c(D,"P",{"data-svelte-h":!0}),y(we)!=="svelte-rqe1wp"&&(we.innerHTML=Jt),nt=o(D),h(V.$$.fragment,D),st=o(D),h(I.$$.fragment,D),D.forEach(a),T.forEach(a),qe=o(e),h(re.$$.fragment,e),Re=o(e),ve=c(e,"P",{}),k(ve).forEach(a),this.h()},h(){W(i,"name","hf:doc:metadata"),W(i,"content",Bt),W(M,"class","flex flex-wrap space-x-1"),W($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),W(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),W(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),W(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),W(ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),W(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),W(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(e,t){d(document.head,i),n(e,J,t),n(e,p,t),n(e,m,t),g(v,e,t),n(e,r,t),n(e,M,t),n(e,Me,t),g(X,e,t),n(e,Te,t),n(e,B,t),n(e,Je,t),n(e,q,t),n(e,$e,t),n(e,R,t),n(e,je,t),n(e,F,t),n(e,xe,t),n(e,N,t),n(e,ze,t),g(E,e,t),n(e,Ue,t),n(e,H,t),n(e,We,t),n(e,Y,t),n(e,ke,t),g(Q,e,t),n(e,Ze,t),n(e,L,t),n(e,Ge,t),g(P,e,t),n(e,Ce,t),g(S,e,t),n(e,Ve,t),n(e,$,t),g(A,$,null),d($,Ne),d($,de),d($,Ee),d($,me),d($,He),g(G,$,null),n(e,Ie,t),g(K,e,t),n(e,De,t),n(e,j,t),g(O,j,null),d(j,Ye),d(j,pe),d(j,Qe),d(j,ue),d(j,Le),d(j,C),g(ee,C,null),d(C,Pe),d(C,he),n(e,Xe,t),g(te,e,t),n(e,Be,t),n(e,w,t),g(ae,w,null),d(w,Se),d(w,ge),d(w,Ae),d(w,fe),d(w,Ke),d(w,_e),d(w,Oe),d(w,be),g(ne,be,null),d(w,et),d(w,ye),g(se,ye,null),d(w,tt),d(w,x),g(oe,x,null),d(x,at),d(x,we),d(x,nt),g(V,x,null),d(x,st),g(I,x,null),n(e,qe,t),g(re,e,t),n(e,Re,t),n(e,ve,t),Fe=!0},p(e,[t]){const z={};t&2&&(z.$$scope={dirty:t,ctx:e}),G.$set(z);const U={};t&2&&(U.$$scope={dirty:t,ctx:e}),V.$set(U);const ie={};t&2&&(ie.$$scope={dirty:t,ctx:e}),I.$set(ie)},i(e){Fe||(f(v.$$.fragment,e),f(X.$$.fragment,e),f(E.$$.fragment,e),f(Q.$$.fragment,e),f(P.$$.fragment,e),f(S.$$.fragment,e),f(A.$$.fragment,e),f(G.$$.fragment,e),f(K.$$.fragment,e),f(O.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),f(ae.$$.fragment,e),f(ne.$$.fragment,e),f(se.$$.fragment,e),f(oe.$$.fragment,e),f(V.$$.fragment,e),f(I.$$.fragment,e),f(re.$$.fragment,e),Fe=!0)},o(e){_(v.$$.fragment,e),_(X.$$.fragment,e),_(E.$$.fragment,e),_(Q.$$.fragment,e),_(P.$$.fragment,e),_(S.$$.fragment,e),_(A.$$.fragment,e),_(G.$$.fragment,e),_(K.$$.fragment,e),_(O.$$.fragment,e),_(ee.$$.fragment,e),_(te.$$.fragment,e),_(ae.$$.fragment,e),_(ne.$$.fragment,e),_(se.$$.fragment,e),_(oe.$$.fragment,e),_(V.$$.fragment,e),_(I.$$.fragment,e),_(re.$$.fragment,e),Fe=!1},d(e){e&&(a(J),a(p),a(m),a(r),a(M),a(Me),a(Te),a(B),a(Je),a(q),a($e),a(R),a(je),a(F),a(xe),a(N),a(ze),a(Ue),a(H),a(We),a(Y),a(ke),a(Ze),a(L),a(Ge),a(Ce),a(Ve),a($),a(Ie),a(De),a(j),a(Xe),a(Be),a(w),a(qe),a(Re),a(ve)),a(i),b(v,e),b(X,e),b(E,e),b(Q,e),b(P,e),b(S,e),b(A),b(G),b(K,e),b(O),b(ee),b(te,e),b(ae),b(ne),b(se),b(oe),b(V),b(I),b(re,e)}}}const Bt='{"title":"DAC","local":"dac","sections":[{"title":"Overview","local":"overview","sections":[],"depth":2},{"title":"Model structure","local":"model-structure","sections":[],"depth":2},{"title":"Usage example","local":"usage-example","sections":[],"depth":2},{"title":"DacConfig","local":"transformers.DacConfig","sections":[],"depth":2},{"title":"DacFeatureExtractor","local":"transformers.DacFeatureExtractor","sections":[],"depth":2},{"title":"DacModel","local":"transformers.DacModel","sections":[],"depth":2}],"depth":1}';function qt(Z){return Ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Pt extends Wt{constructor(i){super(),kt(this,i,qt,Xt,zt,{})}}export{Pt as component};
