import{s as Ks,o as ea,n as q}from"../chunks/scheduler.9bc65507.js";import{S as ta,i as oa,g as l,s as n,r as f,A as na,h as d,f as r,c as s,j as T,u,x as b,k,y as t,a as c,v as h,d as g,t as _,w as v}from"../chunks/index.707bf1b6.js";import{T as ho}from"../chunks/Tip.c2ecdbf4.js";import{D as x}from"../chunks/Docstring.570ddb64.js";import{C as ye}from"../chunks/CodeBlock.54a9f38d.js";import{E as bt}from"../chunks/ExampleCodeBlock.bc2be6bc.js";import{H as U,E as sa}from"../chunks/EditOnGithub.922df6ba.js";function aa(w){let a,y="Example:",p,m,C;return m=new ye({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENsdnBDb25maWclMkMlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24lMEElMEElMjMlMjBJbml0aWFsaXppbmclMjBhJTIwQ2x2cENvbmZpZyUyMHdpdGglMjBzdXNuYXRvJTJGY2x2cF9kZXYlMjBzdHlsZSUyMGNvbmZpZ3VyYXRpb24lMEFjb25maWd1cmF0aW9uJTIwJTNEJTIwQ2x2cENvbmZpZygpJTBBJTBBJTIzJTIwSW5pdGlhbGl6aW5nJTIwYSUyMENsdnBNb2RlbEZvckNvbmRpdGlvbmFsR2VuZXJhdGlvbiUyMCh3aXRoJTIwcmFuZG9tJTIwd2VpZ2h0cyklMjBmcm9tJTIwdGhlJTIwc3VzbmF0byUyRmNsdnBfZGV2JTIwc3R5bGUlMjBjb25maWd1cmF0aW9uJTBBbW9kZWwlMjAlM0QlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24oY29uZmlndXJhdGlvbiklMEElMEElMjMlMjBBY2Nlc3NpbmclMjB0aGUlMjBtb2RlbCUyMGNvbmZpZ3VyYXRpb24lMEFjb25maWd1cmF0aW9uJTIwJTNEJTIwbW9kZWwuY29uZmlnJTBBJTBBJTIzJTIwV2UlMjBjYW4lMjBhbHNvJTIwaW5pdGlhbGl6ZSUyMGElMjBDTFZQQ29uZmlnJTIwZnJvbSUyMGElMjBDTFZQVGV4dENvbmZpZyUyQyUyMENMVlBTcGVlY2hDb25maWclMjBhbmQlMjBhJTIwQ0xWUEF1dG9SZWdyZXNzaXZlQ29uZmlnJTBBZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENsdnBFbmNvZGVyQ29uZmlnJTJDJTIwQ2x2cERlY29kZXJDb25maWclMEElMEElMjMlMjBJbml0aWFsaXppbmclMjBhJTIwQ0xWUCUyMHRleHQlMkMlMjBDTFZQJTIwc3BlZWNoJTIwYW5kJTIwQ0xWUCUyMGRlY29kZXIlMjBjb25maWd1cmF0aW9uJTBBY29uZmlnX3RleHQlMjAlM0QlMjBDbHZwRW5jb2RlckNvbmZpZygpJTBBY29uZmlnX3NwZWVjaCUyMCUzRCUyMENsdnBFbmNvZGVyQ29uZmlnKCklMEFkZWNvZGVyX2NvbmZpZyUyMCUzRCUyMENsdnBEZWNvZGVyQ29uZmlnKCklMEElMEFjb25maWclMjAlM0QlMjBDbHZwQ29uZmlnLmZyb21fc3ViX21vZGVsX2NvbmZpZ3MoY29uZmlnX3RleHQlMkMlMjBjb25maWdfc3BlZWNoJTJDJTIwZGVjb2Rlcl9jb25maWcp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpConfig, ClvpModelForConditionalGeneration

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a ClvpConfig with susnato/clvp_dev style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>configuration = ClvpConfig()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a ClvpModelForConditionalGeneration (with random weights) from the susnato/clvp_dev style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpModelForConditionalGeneration(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

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># We can also initialize a CLVPConfig from a CLVPTextConfig, CLVPSpeechConfig and a CLVPAutoRegressiveConfig</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpEncoderConfig, ClvpDecoderConfig

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a CLVP text, CLVP speech and CLVP decoder configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>config_text = ClvpEncoderConfig()
<span class="hljs-meta">&gt;&gt;&gt; </span>config_speech = ClvpEncoderConfig()
<span class="hljs-meta">&gt;&gt;&gt; </span>decoder_config = ClvpDecoderConfig()

<span class="hljs-meta">&gt;&gt;&gt; </span>config = ClvpConfig.from_sub_model_configs(config_text, config_speech, decoder_config)`,wrap:!1}}),{c(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-11lpom8"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function ra(w){let a,y="Example:",p,m,C;return m=new ye({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENsdnBFbmNvZGVyQ29uZmlnJTJDJTIwQ2x2cEVuY29kZXIlMEElMEElMjMlMjBJbml0aWFsaXppbmclMjBhJTIwQ2x2cEVuY29kZXJDb25maWclMjB3aXRoJTIwc3VzbmF0byUyRmNsdnBfZGV2JTIwc3R5bGUlMjBjb25maWd1cmF0aW9uJTBBZW5jb2Rlcl9jb25maWd1cmF0aW9uJTIwJTNEJTIwQ2x2cEVuY29kZXJDb25maWcoKSUwQSUwQSUyMyUyMEluaXRpYWxpemluZyUyMGElMjBDbHZwRW5jb2RlciUyMCh3aXRoJTIwcmFuZG9tJTIwd2VpZ2h0cyklMjBmcm9tJTIwdGhlJTIwc3VzbmF0byUyRmNsdnBfZGV2JTIwc3R5bGUlMjBjb25maWd1cmF0aW9uJTBBbW9kZWwlMjAlM0QlMjBDbHZwRW5jb2RlcihlbmNvZGVyX2NvbmZpZ3VyYXRpb24pJTBBJTBBJTIzJTIwQWNjZXNzaW5nJTIwdGhlJTIwbW9kZWwlMjBjb25maWd1cmF0aW9uJTBBY29uZmlndXJhdGlvbiUyMCUzRCUyMG1vZGVsLmNvbmZpZw==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpEncoderConfig, ClvpEncoder

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a ClvpEncoderConfig with susnato/clvp_dev style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>encoder_configuration = ClvpEncoderConfig()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a ClvpEncoder (with random weights) from the susnato/clvp_dev style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpEncoder(encoder_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(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-11lpom8"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function ia(w){let a,y="Example:",p,m,C;return m=new ye({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENsdnBEZWNvZGVyQ29uZmlnJTJDJTIwQ2x2cERlY29kZXIlMEElMEElMjMlMjBJbml0aWFsaXppbmclMjBhJTIwQ2x2cERlY29kZXJDb25maWclMjB3aXRoJTIwc3VzbmF0byUyRmNsdnBfZGV2JTIwc3R5bGUlMjBjb25maWd1cmF0aW9uJTBBZGVjb2Rlcl9jb25maWd1cmF0aW9uJTIwJTNEJTIwQ2x2cERlY29kZXJDb25maWcoKSUwQSUwQSUyMyUyMEluaXRpYWxpemluZyUyMGElMjBDbHZwRGVjb2RlciUyMCh3aXRoJTIwcmFuZG9tJTIwd2VpZ2h0cyklMjBmcm9tJTIwdGhlJTIwc3VzbmF0byUyRmNsdnBfZGV2JTIwc3R5bGUlMjBjb25maWd1cmF0aW9uJTBBbW9kZWwlMjAlM0QlMjBDbHZwRGVjb2RlcihkZWNvZGVyX2NvbmZpZ3VyYXRpb24pJTBBJTBBJTIzJTIwQWNjZXNzaW5nJTIwdGhlJTIwbW9kZWwlMjBjb25maWd1cmF0aW9uJTBBY29uZmlndXJhdGlvbiUyMCUzRCUyMG1vZGVsLmNvbmZpZw==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpDecoderConfig, ClvpDecoder

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a ClvpDecoderConfig with susnato/clvp_dev style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>decoder_configuration = ClvpDecoderConfig()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Initializing a ClvpDecoder (with random weights) from the susnato/clvp_dev style configuration</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpDecoder(decoder_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(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-11lpom8"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function la(w){let a,y="be encoded differently whether it is at the beginning of the sentence (without space) or not:",p,m,C;return m=new ye({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENsdnBUb2tlbml6ZXIlMEElMEF0b2tlbml6ZXIlMjAlM0QlMjBDbHZwVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZCglMjJzdXNuYXRvJTJGY2x2cF9kZXYlMjIpJTBBdG9rZW5pemVyKCUyMkhlbGxvJTIwd29ybGQlMjIpJTVCJTIyaW5wdXRfaWRzJTIyJTVEJTBBJTBBdG9rZW5pemVyKCUyMiUyMEhlbGxvJTIwd29ybGQlMjIpJTVCJTIyaW5wdXRfaWRzJTIyJTVE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = ClvpTokenizer.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer(<span class="hljs-string">&quot;Hello world&quot;</span>)[<span class="hljs-string">&quot;input_ids&quot;</span>]
[<span class="hljs-number">62</span>, <span class="hljs-number">84</span>, <span class="hljs-number">28</span>, <span class="hljs-number">2</span>, <span class="hljs-number">179</span>, <span class="hljs-number">79</span>]

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer(<span class="hljs-string">&quot; Hello world&quot;</span>)[<span class="hljs-string">&quot;input_ids&quot;</span>]
[<span class="hljs-number">2</span>, <span class="hljs-number">62</span>, <span class="hljs-number">84</span>, <span class="hljs-number">28</span>, <span class="hljs-number">2</span>, <span class="hljs-number">179</span>, <span class="hljs-number">79</span>]`,wrap:!1}}),{c(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-12atnao"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function da(w){let a,y="When used with <code>is_split_into_words=True</code>, this tokenizer will add a space before each word (even the first one).";return{c(){a=l("p"),a.innerHTML=y},l(p){a=d(p,"P",{"data-svelte-h":!0}),b(a)!=="svelte-jhmxzm"&&(a.innerHTML=y)},m(p,m){c(p,a,m)},p:q,d(p){p&&r(a)}}}function ca(w){let a,y=`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(){a=l("p"),a.innerHTML=y},l(p){a=d(p,"P",{"data-svelte-h":!0}),b(a)!=="svelte-fincs2"&&(a.innerHTML=y)},m(p,m){c(p,a,m)},p:q,d(p){p&&r(a)}}}function pa(w){let a,y="Examples:",p,m,C;return m=new ye({props:{code:"aW1wb3J0JTIwZGF0YXNldHMlMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwQ2x2cFByb2Nlc3NvciUyQyUyMENsdnBNb2RlbEZvckNvbmRpdGlvbmFsR2VuZXJhdGlvbiUwQSUwQSUyMyUyMERlZmluZSUyMHRoZSUyMFRleHQlMjBhbmQlMjBMb2FkJTIwdGhlJTIwQXVkaW8lMjAoV2UlMjBhcmUlMjB0YWtpbmclMjBhbiUyMGF1ZGlvJTIwZXhhbXBsZSUyMGZyb20lMjBIdWdnaW5nRmFjZSUyMEh1YiUyMHVzaW5nJTIwJTYwZGF0YXNldHMlNjAlMjBsaWJyYXJ5KSUwQXRleHQlMjAlM0QlMjAlMjJUaGlzJTIwaXMlMjBhbiUyMGV4YW1wbGUlMjB0ZXh0LiUyMiUwQSUwQWRzJTIwJTNEJTIwZGF0YXNldHMubG9hZF9kYXRhc2V0KCUyMmhmLWludGVybmFsLXRlc3RpbmclMkZsaWJyaXNwZWVjaF9hc3JfZHVtbXklMjIlMkMlMjAlMjJjbGVhbiUyMiUyQyUyMHNwbGl0JTNEJTIydmFsaWRhdGlvbiUyMiklMEFkcyUyMCUzRCUyMGRzLmNhc3RfY29sdW1uKCUyMmF1ZGlvJTIyJTJDJTIwZGF0YXNldHMuQXVkaW8oc2FtcGxpbmdfcmF0ZSUzRDIyMDUwKSklMEFfJTJDJTIwYXVkaW8lMkMlMjBzciUyMCUzRCUyMGRzLnNvcnQoJTIyaWQlMjIpLnNlbGVjdChyYW5nZSgxKSklNUIlM0ExJTVEJTVCJTIyYXVkaW8lMjIlNUQlNUIwJTVELnZhbHVlcygpJTBBJTBBJTIzJTIwRGVmaW5lJTIwcHJvY2Vzc29yJTIwYW5kJTIwbW9kZWwlMEFwcm9jZXNzb3IlMjAlM0QlMjBDbHZwUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJzdXNuYXRvJTJGY2x2cF9kZXYlMjIpJTBBbW9kZWwlMjAlM0QlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMnN1c25hdG8lMkZjbHZwX2RldiUyMiklMEElMEElMjMlMjBwcm9jZXNzb3IlMjBvdXRwdXRzJTIwYW5kJTIwbW9kZWwlMjBvdXRwdXRzJTBBcHJvY2Vzc29yX291dHB1dCUyMCUzRCUyMHByb2Nlc3NvcihyYXdfc3BlZWNoJTNEYXVkaW8lMkMlMjBzYW1wbGluZ19yYXRlJTNEc3IlMkMlMjB0ZXh0JTNEdGV4dCUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBb3V0cHV0cyUyMCUzRCUyMG1vZGVsKCUwQSUyMCUyMCUyMCUyMGlucHV0X2lkcyUzRHByb2Nlc3Nvcl9vdXRwdXQlNUIlMjJpbnB1dF9pZHMlMjIlNUQlMkMlMEElMjAlMjAlMjAlMjBpbnB1dF9mZWF0dXJlcyUzRHByb2Nlc3Nvcl9vdXRwdXQlNUIlMjJpbnB1dF9mZWF0dXJlcyUyMiU1RCUyQyUwQSUyMCUyMCUyMCUyMHJldHVybl9kaWN0JTNEVHJ1ZSUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> datasets
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpProcessor, ClvpModelForConditionalGeneration

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define the Text and Load the Audio (We are taking an audio example from HuggingFace Hub using \`datasets\` library)</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>text = <span class="hljs-string">&quot;This is an example text.&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>ds = datasets.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>ds = ds.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, datasets.Audio(sampling_rate=<span class="hljs-number">22050</span>))
<span class="hljs-meta">&gt;&gt;&gt; </span>_, audio, sr = ds.sort(<span class="hljs-string">&quot;id&quot;</span>).select(<span class="hljs-built_in">range</span>(<span class="hljs-number">1</span>))[:<span class="hljs-number">1</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-number">0</span>].values()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define processor and model</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor = ClvpProcessor.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpModelForConditionalGeneration.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># processor outputs and model outputs</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor_output = processor(raw_speech=audio, sampling_rate=sr, text=text, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>outputs = model(
<span class="hljs-meta">... </span>    input_ids=processor_output[<span class="hljs-string">&quot;input_ids&quot;</span>],
<span class="hljs-meta">... </span>    input_features=processor_output[<span class="hljs-string">&quot;input_features&quot;</span>],
<span class="hljs-meta">... </span>    return_dict=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-kvfsh7"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function ma(w){let a,y="Examples:",p,m,C;return m=new ye({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMENsdnBQcm9jZXNzb3IlMkMlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24lMEElMEElMjMlMjBEZWZpbmUlMjB0aGUlMjBUZXh0JTBBdGV4dCUyMCUzRCUyMCUyMlRoaXMlMjBpcyUyMGFuJTIwZXhhbXBsZSUyMHRleHQuJTIyJTBBJTBBJTIzJTIwRGVmaW5lJTIwcHJvY2Vzc29yJTIwYW5kJTIwbW9kZWwlMEFwcm9jZXNzb3IlMjAlM0QlMjBDbHZwUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJzdXNuYXRvJTJGY2x2cF9kZXYlMjIpJTBBbW9kZWwlMjAlM0QlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMnN1c25hdG8lMkZjbHZwX2RldiUyMiklMEElMEElMjMlMjBHZW5lcmF0ZSUyMHByb2Nlc3NvciUyMG91dHB1dCUyMGFuZCUyMHRleHQlMjBlbWJlZHMlMEFwcm9jZXNzb3Jfb3V0cHV0JTIwJTNEJTIwcHJvY2Vzc29yKHRleHQlM0R0ZXh0JTJDJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJwdCUyMiklMEF0ZXh0X2VtYmVkcyUyMCUzRCUyMG1vZGVsLmdldF90ZXh0X2ZlYXR1cmVzKGlucHV0X2lkcyUzRHByb2Nlc3Nvcl9vdXRwdXQlNUIlMjJpbnB1dF9pZHMlMjIlNUQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpProcessor, ClvpModelForConditionalGeneration

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define the Text</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>text = <span class="hljs-string">&quot;This is an example text.&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define processor and model</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor = ClvpProcessor.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpModelForConditionalGeneration.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Generate processor output and text embeds</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor_output = processor(text=text, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>text_embeds = model.get_text_features(input_ids=processor_output[<span class="hljs-string">&quot;input_ids&quot;</span>])`,wrap:!1}}),{c(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-kvfsh7"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function fa(w){let a,y="Examples:",p,m,C;return m=new ye({props:{code:"aW1wb3J0JTIwZGF0YXNldHMlMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwQ2x2cFByb2Nlc3NvciUyQyUyMENsdnBNb2RlbEZvckNvbmRpdGlvbmFsR2VuZXJhdGlvbiUwQSUwQSUyMyUyMERlZmluZSUyMHRoZSUyMFRleHQlMjBhbmQlMjBMb2FkJTIwdGhlJTIwQXVkaW8lMjAoV2UlMjBhcmUlMjB0YWtpbmclMjBhbiUyMGF1ZGlvJTIwZXhhbXBsZSUyMGZyb20lMjBIdWdnaW5nRmFjZSUyMEh1YiUyMHVzaW5nJTIwJTYwZGF0YXNldHMlNjAlMjBsaWJyYXJ5KSUwQXRleHQlMjAlM0QlMjAlMjJUaGlzJTIwaXMlMjBhbiUyMGV4YW1wbGUlMjB0ZXh0LiUyMiUwQWRzJTIwJTNEJTIwZGF0YXNldHMubG9hZF9kYXRhc2V0KCUyMmhmLWludGVybmFsLXRlc3RpbmclMkZsaWJyaXNwZWVjaF9hc3JfZHVtbXklMjIlMkMlMjAlMjJjbGVhbiUyMiUyQyUyMHNwbGl0JTNEJTIydmFsaWRhdGlvbiUyMiklMEFkcyUyMCUzRCUyMGRzLmNhc3RfY29sdW1uKCUyMmF1ZGlvJTIyJTJDJTIwZGF0YXNldHMuQXVkaW8oc2FtcGxpbmdfcmF0ZSUzRDIyMDUwKSklMEFfJTJDJTIwYXVkaW8lMkMlMjBzciUyMCUzRCUyMGRzLnNvcnQoJTIyaWQlMjIpLnNlbGVjdChyYW5nZSgxKSklNUIlM0ExJTVEJTVCJTIyYXVkaW8lMjIlNUQlNUIwJTVELnZhbHVlcygpJTBBJTBBJTIzJTIwRGVmaW5lJTIwcHJvY2Vzc29yJTIwYW5kJTIwbW9kZWwlMEFwcm9jZXNzb3IlMjAlM0QlMjBDbHZwUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJzdXNuYXRvJTJGY2x2cF9kZXYlMjIpJTBBbW9kZWwlMjAlM0QlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMnN1c25hdG8lMkZjbHZwX2RldiUyMiklMEElMEElMjMlMjBHZW5lcmF0ZSUyMHByb2Nlc3NvciUyMG91dHB1dCUyMGFuZCUyMG1vZGVsJTIwb3V0cHV0JTBBcHJvY2Vzc29yX291dHB1dCUyMCUzRCUyMHByb2Nlc3NvcihyYXdfc3BlZWNoJTNEYXVkaW8lMkMlMjBzYW1wbGluZ19yYXRlJTNEc3IlMkMlMjB0ZXh0JTNEdGV4dCUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBc3BlZWNoX2VtYmVkcyUyMCUzRCUyMG1vZGVsLmdldF9zcGVlY2hfZmVhdHVyZXMoJTBBJTIwJTIwJTIwJTIwaW5wdXRfaWRzJTNEcHJvY2Vzc29yX291dHB1dCU1QiUyMmlucHV0X2lkcyUyMiU1RCUyQyUyMGlucHV0X2ZlYXR1cmVzJTNEcHJvY2Vzc29yX291dHB1dCU1QiUyMmlucHV0X2ZlYXR1cmVzJTIyJTVEJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> datasets
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpProcessor, ClvpModelForConditionalGeneration

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define the Text and Load the Audio (We are taking an audio example from HuggingFace Hub using \`datasets\` library)</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>text = <span class="hljs-string">&quot;This is an example text.&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>ds = datasets.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>ds = ds.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, datasets.Audio(sampling_rate=<span class="hljs-number">22050</span>))
<span class="hljs-meta">&gt;&gt;&gt; </span>_, audio, sr = ds.sort(<span class="hljs-string">&quot;id&quot;</span>).select(<span class="hljs-built_in">range</span>(<span class="hljs-number">1</span>))[:<span class="hljs-number">1</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-number">0</span>].values()

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define processor and model</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor = ClvpProcessor.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpModelForConditionalGeneration.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Generate processor output and model output</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor_output = processor(raw_speech=audio, sampling_rate=sr, text=text, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>speech_embeds = model.get_speech_features(
<span class="hljs-meta">... </span>    input_ids=processor_output[<span class="hljs-string">&quot;input_ids&quot;</span>], input_features=processor_output[<span class="hljs-string">&quot;input_features&quot;</span>]
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){a=l("p"),a.textContent=y,p=n(),f(m.$$.fragment)},l(o){a=d(o,"P",{"data-svelte-h":!0}),b(a)!=="svelte-kvfsh7"&&(a.textContent=y),p=s(o),u(m.$$.fragment,o)},m(o,M){c(o,a,M),c(o,p,M),h(m,o,M),C=!0},p:q,i(o){C||(g(m.$$.fragment,o),C=!0)},o(o){_(m.$$.fragment,o),C=!1},d(o){o&&(r(a),r(p)),v(m,o)}}}function ua(w){let a,y=`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(){a=l("p"),a.innerHTML=y},l(p){a=d(p,"P",{"data-svelte-h":!0}),b(a)!=="svelte-fincs2"&&(a.innerHTML=y)},m(p,m){c(p,a,m)},p:q,d(p){p&&r(a)}}}function ha(w){let a,y=`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(){a=l("p"),a.innerHTML=y},l(p){a=d(p,"P",{"data-svelte-h":!0}),b(a)!=="svelte-fincs2"&&(a.innerHTML=y)},m(p,m){c(p,a,m)},p:q,d(p){p&&r(a)}}}function ga(w){let a,y=`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(){a=l("p"),a.innerHTML=y},l(p){a=d(p,"P",{"data-svelte-h":!0}),b(a)!=="svelte-fincs2"&&(a.innerHTML=y)},m(p,m){c(p,a,m)},p:q,d(p){p&&r(a)}}}function _a(w){let a,y,p,m,C,o,M,go,Me,ls='CLVP (Contrastive Language-Voice Pretrained Transformer) モデルは、James Betker によって <a href="https://arxiv.org/abs/2305.07243" rel="nofollow">Better speech synthesis through scaling</a> で提案されました。',_o,Te,ds="論文の要約は次のとおりです。",vo,ke,cs="*近年、画像生成の分野は自己回帰変換器と DDPM の応用によって革命を起こしています。これらのアプローチは、画像生成のプロセスを段階的な確率的プロセスとしてモデル化し、大量のコンピューティングとデータを活用して画像の分布を学習します。パフォーマンスを向上させるこの方法論は、画像に限定される必要はありません。この論文では、画像生成ドメインの進歩を音声合成に適用する方法について説明します。その結果、表現力豊かなマルチ音声テキスト読み上げシステムである TorToise が誕生しました。",bo,we,ps=`このモデルは <a href="https://huggingface.co/susnato" rel="nofollow">Susnato Dhar</a> によって提供されました。
元のコードは <a href="https://github.com/neonbjb/tortoise-tts" rel="nofollow">ここ</a> にあります。`,Co,xe,yo,$e,ms="<li>CLVP は Tortoise TTS モデルの不可欠な部分です。</li> <li>CLVP を使用して、生成されたさまざまな音声候補を提供されたテキストと比較することができ、最良の音声トークンが拡散モデルに転送されます。</li> <li>Tortoise の使用には、<code>ClvpModelForConditionalGeneration.generate()</code> メソッドの使用を強くお勧めします。</li> <li>16 kHz を期待する他のオーディオ モデルとは対照的に、CLVP モデルはオーディオが 22.05 kHz でサンプリングされることを期待していることに注意してください。</li>",Mo,je,To,Je,fs='<li><a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpTokenizer">ClvpTokenizer</a> はテキスト入力をトークン化し、<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor">ClvpFeatureExtractor</a> は目的のオーディオからログ メル スペクトログラムを抽出します。</li> <li><code>ClvpConditioningEncoder</code> は、これらのテキスト トークンとオーディオ表現を取得し、テキストとオーディオに基づいて条件付けされた埋め込みに変換します。</li> <li><a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpForCausalLM">ClvpForCausalLM</a> は、これらの埋め込みを使用して複数の音声候補を生成します。</li> <li>各音声候補は音声エンコーダ (<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpEncoder">ClvpEncoder</a>) を通過してベクトル表現に変換され、テキスト エンコーダ (<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpEncoder">ClvpEncoder</a>) はテキスト トークンを同じ潜在空間に変換します。</li> <li>最後に、各音声ベクトルをテキスト ベクトルと比較して、どの音声ベクトルがテキスト ベクトルに最も類似しているかを確認します。</li> <li><code>ClvpModelForConditionalGeneration.generate()</code> は、上記のすべてのロジックを 1 つのメソッドに圧縮します。</li>',ko,ze,us="例 ：",wo,Ee,xo,Ze,$o,E,Fe,Ao,Ct,hs=`<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpConfig">ClvpConfig</a> is the configuration class to store the configuration of a <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpModelForConditionalGeneration">ClvpModelForConditionalGeneration</a>. It
is used to instantiate a CLVP model according to the specified arguments, defining the text model, speech model and
decoder model configs. Instantiating a configuration with the defaults will yield a similar configuration to that
of the CLVP <a href="https://huggingface.co/susnato/clvp_dev" rel="nofollow">susnato/clvp_dev</a> architecture.`,Ko,yt,gs=`Configuration objects inherit from <a href="/docs/transformers/main/ja/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/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a> for more information.`,en,te,tn,oe,Ie,on,Mt,_s=`Instantiate a <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpConfig">ClvpConfig</a> (or a derived class) from CLVP text model configuration, CLVP speech model
configuration and CLVP decoder model configuration.`,jo,Ue,Jo,B,We,nn,Tt,vs=`This is the configuration class to store the configuration of a <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpEncoder">ClvpEncoder</a>. It is used to instantiate a CLVP
text or CLVP speech encoder according to the specified arguments. Instantiating a configuration with the defaults
will yield a similar configuration to that of the encoder of the CLVP
<a href="https://huggingface.co/susnato/clvp_dev" rel="nofollow">susnato/clvp_dev</a> architecture.`,sn,kt,bs=`Configuration objects inherit from <a href="/docs/transformers/main/ja/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/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a> for more information.`,an,ne,zo,Be,Eo,Z,Ge,rn,wt,Cs=`This is the configuration class to store the configuration of a <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpDecoder">ClvpDecoder</a>. It is used to instantiate a CLVP
Decoder 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 Decoder part of the CLVP
<a href="https://huggingface.co/susnato/clvp_dev" rel="nofollow">susnato/clvp_dev</a> architecture.`,ln,xt,ys=`Configuration objects inherit from <a href="/docs/transformers/main/ja/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/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a> for more information.`,dn,$t,Ms="The architecture is similar to GPT2.",cn,se,Zo,Ne,Fo,$,Ve,pn,jt,Ts="Construct a CLVP tokenizer. Based on byte-level Byte-Pair-Encoding.",mn,Jt,ks="This tokenizer has been trained to treat spaces like parts of the tokens (a bit like sentencepiece) so a word will",fn,ae,un,zt,ws=`You can get around that behavior by passing <code>add_prefix_space=True</code> when instantiating this tokenizer or when you
call it on some text, but since the model was not pretrained this way, it might yield a decrease in performance.`,hn,re,gn,Et,xs=`This tokenizer inherits from <a href="/docs/transformers/main/ja/main_classes/tokenizer#transformers.PreTrainedTokenizer">PreTrainedTokenizer</a> which contains most of the main methods. Users should refer to
this superclass for more information regarding those methods.`,_n,Zt,He,Io,Le,Uo,F,De,vn,Ft,$s="Constructs a CLVP feature extractor.",bn,It,js=`This feature extractor inherits from <a href="/docs/transformers/main/ja/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.`,Cn,Ut,Js="This class extracts log-mel-spectrogram features from raw speech using a custom numpy implementation of the <code>Short Time Fourier Transform</code> which should match pytorch’s <code>torch.stft</code> equivalent.",yn,Y,qe,Mn,Wt,zs=`<code>ClvpFeatureExtractor</code> is used to extract various voice specific properties such as the pitch and tone of the
voice, speaking speed, and even speaking defects like a lisp or stuttering from a sample voice or <code>raw_speech</code>.`,Tn,Bt,Es=`First the voice is padded or truncated in a way such that it becomes a waveform of <code>self.default_audio_length</code>
seconds long and then the log-mel spectrogram is extracted from it.`,Wo,Pe,Bo,z,Xe,kn,Gt,Zs="Constructs a CLVP processor which wraps a CLVP Feature Extractor and a CLVP Tokenizer into a single processor.",wn,Nt,Fs=`<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpProcessor">ClvpProcessor</a> offers all the functionalities of <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor">ClvpFeatureExtractor</a> and <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpTokenizer">ClvpTokenizer</a>. See the
<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpProcessor.__call__"><strong>call</strong>()</a>, <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpProcessor.decode">decode()</a> and <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpProcessor.batch_decode">batch_decode()</a> for more information.`,xn,ie,Re,$n,Vt,Is=`Forwards the <code>audio</code> and <code>sampling_rate</code> arguments to <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor.__call__"><strong>call</strong>()</a> and the <code>text</code>
argument to <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.__call__"><strong>call</strong>()</a>. Please refer to the doctsring of the above two methods for more
information.`,jn,le,Ye,Jn,Ht,Us=`This method forwards all its arguments to ClvpTokenizer’s <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.decode">decode()</a>. Please refer to
the docstring of this method for more information.`,zn,de,Qe,En,Lt,Ws=`This method forwards all its arguments to ClvpTokenizer’s <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.batch_decode">batch_decode()</a>. Please
refer to the docstring of this method for more information.`,Go,Se,No,j,Oe,Zn,Dt,Bs=`The composite CLVP model with a text encoder, speech encoder and speech decoder model.The speech decoder model generates the speech_ids from the text and the text encoder and speech encoder workstogether to filter out the best speech_ids.
This model inherits from <a href="/docs/transformers/main/ja/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.)`,Fn,qt,Gs=`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.`,In,D,Ae,Un,Pt,Ns='The <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpModelForConditionalGeneration">ClvpModelForConditionalGeneration</a> forward method, overrides the <code>__call__</code> special method.',Wn,ce,Bn,pe,Gn,me,Ke,Nn,Xt,Vs=`Generate method for <code>ClvpModelForConditionalGeneration</code>, this method calls the <code>generate</code> method of
<code>ClvpForCausalLM</code> and then uses those generated <code>speech_ids</code> to process <code>text_embeds</code> and <code>speech_embeds</code> using
<code>ClvpEncoder</code>.`,Vn,Q,et,Hn,Rt,Hs=`This method can be used to extract text_embeds from a text. The text embeddings obtained by applying the
projection layer to the pooled output of the CLVP text encoder model.`,Ln,fe,Dn,S,tt,qn,Yt,Ls=`This method can be used to extract speech_embeds. The speech embeddings are obtained by applying the speech
model on speech_ids. If speech_ids is not present but both input_ids and input_features are given then the
decoder model will be used to first generate the speech_ids and then applying the speech model.`,Pn,ue,Vo,ot,Ho,G,nt,Xn,Qt,Ds=`The CLVP decoder model with a language modelling head on top.
This model inherits from <a href="/docs/transformers/main/ja/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.)`,Rn,St,qs=`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.`,Yn,O,st,Qn,Ot,Ps='The <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpForCausalLM">ClvpForCausalLM</a> forward method, overrides the <code>__call__</code> special method.',Sn,he,Lo,at,Do,N,rt,On,At,Xs=`The bare Clvp decoder model outputting raw hidden-states without any specific head on top.
This model inherits from <a href="/docs/transformers/main/ja/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.)`,An,Kt,Rs=`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.`,Kn,A,it,es,eo,Ys='The <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpModel">ClvpModel</a> forward method, overrides the <code>__call__</code> special method.',ts,ge,qo,lt,Po,P,dt,os,to,Qs=`Transformer encoder consisting of <code>config.num_hidden_layers</code> self attention layers. Each layer is a
<code>ClvpEncoderLayer</code>.`,ns,oo,ct,Xo,pt,Ro,X,mt,ss,no,Ss="Transformer decoder consisting of <em>config.num_hidden_layers</em> layers. Each layer is a <code>ClvpDecoderLayer</code>",as,K,ft,rs,so,Os='The <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpDecoder">ClvpDecoder</a> forward method, overrides the <code>__call__</code> special method.',is,_e,Yo,ut,Qo,fo,So;return C=new U({props:{title:"CLVP",local:"clvp",headingTag:"h1"}}),M=new U({props:{title:"Overview",local:"overview",headingTag:"h2"}}),xe=new U({props:{title:"Usage tips",local:"usage-tips",headingTag:"h2"}}),je=new U({props:{title:"Brief Explanation:",local:"brief-explanation",headingTag:"h2"}}),Ee=new ye({props:{code:"aW1wb3J0JTIwZGF0YXNldHMlMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwQ2x2cFByb2Nlc3NvciUyQyUyMENsdnBNb2RlbEZvckNvbmRpdGlvbmFsR2VuZXJhdGlvbiUwQSUwQSUyMyUyMERlZmluZSUyMHRoZSUyMFRleHQlMjBhbmQlMjBMb2FkJTIwdGhlJTIwQXVkaW8lMjAoV2UlMjBhcmUlMjB0YWtpbmclMjBhbiUyMGF1ZGlvJTIwZXhhbXBsZSUyMGZyb20lMjBIdWdnaW5nRmFjZSUyMEh1YiUyMHVzaW5nJTIwJTYwZGF0YXNldHMlNjAlMjBsaWJyYXJ5KS4lMEF0ZXh0JTIwJTNEJTIwJTIyVGhpcyUyMGlzJTIwYW4lMjBleGFtcGxlJTIwdGV4dC4lMjIlMEElMEFkcyUyMCUzRCUyMGRhdGFzZXRzLmxvYWRfZGF0YXNldCglMjJoZi1pbnRlcm5hbC10ZXN0aW5nJTJGbGlicmlzcGVlY2hfYXNyX2R1bW15JTIyJTJDJTIwJTIyY2xlYW4lMjIlMkMlMjBzcGxpdCUzRCUyMnZhbGlkYXRpb24lMjIpJTBBZHMlMjAlM0QlMjBkcy5jYXN0X2NvbHVtbiglMjJhdWRpbyUyMiUyQyUyMGRhdGFzZXRzLkF1ZGlvKHNhbXBsaW5nX3JhdGUlM0QyMjA1MCkpJTBBc2FtcGxlJTIwJTNEJTIwZHMlNUIwJTVEJTVCJTIyYXVkaW8lMjIlNUQlMEElMEElMjMlMjBEZWZpbmUlMjBwcm9jZXNzb3IlMjBhbmQlMjBtb2RlbC4lMEFwcm9jZXNzb3IlMjAlM0QlMjBDbHZwUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJzdXNuYXRvJTJGY2x2cF9kZXYlMjIpJTBBbW9kZWwlMjAlM0QlMjBDbHZwTW9kZWxGb3JDb25kaXRpb25hbEdlbmVyYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMnN1c25hdG8lMkZjbHZwX2RldiUyMiklMEElMEElMjMlMjBHZW5lcmF0ZSUyMHByb2Nlc3NvciUyMG91dHB1dCUyMGFuZCUyMG1vZGVsJTIwb3V0cHV0LiUwQXByb2Nlc3Nvcl9vdXRwdXQlMjAlM0QlMjBwcm9jZXNzb3IocmF3X3NwZWVjaCUzRHNhbXBsZSU1QiUyMmFycmF5JTIyJTVEJTJDJTIwc2FtcGxpbmdfcmF0ZSUzRHNhbXBsZSU1QiUyMnNhbXBsaW5nX3JhdGUlMjIlNUQlMkMlMjB0ZXh0JTNEdGV4dCUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBZ2VuZXJhdGVkX291dHB1dCUyMCUzRCUyMG1vZGVsLmdlbmVyYXRlKCoqcHJvY2Vzc29yX291dHB1dCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> datasets
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> ClvpProcessor, ClvpModelForConditionalGeneration

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define the Text and Load the Audio (We are taking an audio example from HuggingFace Hub using \`datasets\` library).</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>text = <span class="hljs-string">&quot;This is an example text.&quot;</span>

<span class="hljs-meta">&gt;&gt;&gt; </span>ds = datasets.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>ds = ds.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, datasets.Audio(sampling_rate=<span class="hljs-number">22050</span>))
<span class="hljs-meta">&gt;&gt;&gt; </span>sample = ds[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>]

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Define processor and model.</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor = ClvpProcessor.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = ClvpModelForConditionalGeneration.from_pretrained(<span class="hljs-string">&quot;susnato/clvp_dev&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Generate processor output and model output.</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>processor_output = processor(raw_speech=sample[<span class="hljs-string">&quot;array&quot;</span>], sampling_rate=sample[<span class="hljs-string">&quot;sampling_rate&quot;</span>], text=text, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>generated_output = model.generate(**processor_output)`,wrap:!1}}),Ze=new U({props:{title:"ClvpConfig",local:"transformers.ClvpConfig",headingTag:"h2"}}),Fe=new x({props:{name:"class transformers.ClvpConfig",anchor:"transformers.ClvpConfig",parameters:[{name:"text_config",val:" = None"},{name:"speech_config",val:" = None"},{name:"decoder_config",val:" = None"},{name:"projection_dim",val:" = 768"},{name:"logit_scale_init_value",val:" = 2.6592"},{name:"initializer_factor",val:" = 1.0"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpConfig.text_config",description:`<strong>text_config</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Dictionary of configuration options used to initialize the CLVP text encoder.`,name:"text_config"},{anchor:"transformers.ClvpConfig.speech_config",description:`<strong>speech_config</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Dictionary of configuration options used to initialize CLVP speech encoder.`,name:"speech_config"},{anchor:"transformers.ClvpConfig.decoder_config",description:`<strong>decoder_config</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
Dictionary of configuration options used to initialize <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpDecoderConfig">ClvpDecoderConfig</a>.`,name:"decoder_config"},{anchor:"transformers.ClvpConfig.projection_dim",description:`<strong>projection_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 768) &#x2014;
Dimensionality of text and speech projection layers.`,name:"projection_dim"},{anchor:"transformers.ClvpConfig.logit_scale_init_value",description:`<strong>logit_scale_init_value</strong> (<code>float</code>, <em>optional</em>, defaults to 2.6592) &#x2014;
The initial value of the <em>logit_scale</em> parameter. Default is used as per the original CLVP implementation.`,name:"logit_scale_init_value"},{anchor:"transformers.ClvpConfig.initializer_factor",description:`<strong>initializer_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) &#x2014;
A factor for initializing all weight matrices (should be kept to 1.0, used internally for initialization
testing).`,name:"initializer_factor"},{anchor:"transformers.ClvpConfig.kwargs",description:`<strong>kwargs</strong> (<em>optional</em>) &#x2014;
Dictionary of keyword arguments.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/configuration_clvp.py#L336"}}),te=new bt({props:{anchor:"transformers.ClvpConfig.example",$$slots:{default:[aa]},$$scope:{ctx:w}}}),Ie=new x({props:{name:"from_sub_model_configs",anchor:"transformers.ClvpConfig.from_sub_model_configs",parameters:[{name:"text_config",val:": ClvpEncoderConfig"},{name:"speech_config",val:": ClvpEncoderConfig"},{name:"decoder_config",val:": ClvpDecoderConfig"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpConfig.from_sub_model_configs.text_config",description:`<strong>text_config</strong> (<code>ClvpEncoderConfig</code>) &#x2014;
Text model configuration of type <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpEncoderConfig">ClvpEncoderConfig</a>.`,name:"text_config"},{anchor:"transformers.ClvpConfig.from_sub_model_configs.speech_config",description:`<strong>speech_config</strong> (<code>ClvpEncoderConfig</code>) &#x2014;
Speech model configuration of type <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpEncoderConfig">ClvpEncoderConfig</a>.`,name:"speech_config"},{anchor:"transformers.ClvpConfig.from_sub_model_configs.decoder_config",description:`<strong>decoder_config</strong> (<code>ClvpDecoderConfig</code>) &#x2014;
Decoder model configuration of type <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpDecoderConfig">ClvpDecoderConfig</a>.`,name:"decoder_config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/configuration_clvp.py#L423",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>An instance of a configuration object</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpConfig"
>ClvpConfig</a></p>
`}}),Ue=new U({props:{title:"ClvpEncoderConfig",local:"transformers.ClvpEncoderConfig",headingTag:"h2"}}),We=new x({props:{name:"class transformers.ClvpEncoderConfig",anchor:"transformers.ClvpEncoderConfig",parameters:[{name:"vocab_size",val:" = 256"},{name:"hidden_size",val:" = 768"},{name:"intermediate_size",val:" = 1536"},{name:"projection_dim",val:" = 768"},{name:"num_hidden_layers",val:" = 20"},{name:"num_attention_heads",val:" = 12"},{name:"hidden_act",val:" = 'gelu'"},{name:"layer_norm_eps",val:" = 1e-05"},{name:"attention_dropout",val:" = 0.1"},{name:"dropout",val:" = 0.1"},{name:"use_rotary_embedding",val:" = True"},{name:"use_attention_bias",val:" = False"},{name:"summary_type",val:" = 'mean'"},{name:"initializer_factor",val:" = 1.0"},{name:"bos_token_id",val:" = 255"},{name:"eos_token_id",val:" = 0"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpEncoderConfig.vocab_size",description:`<strong>vocab_size</strong> (<code>int</code>, <em>optional</em>, defaults to 256) &#x2014;
Vocabulary size of the CLVP Encoder model.`,name:"vocab_size"},{anchor:"transformers.ClvpEncoderConfig.hidden_size",description:`<strong>hidden_size</strong> (<code>int</code>, <em>optional</em>, defaults to 768) &#x2014;
Dimensionality of the encoder layers and the pooler layer.`,name:"hidden_size"},{anchor:"transformers.ClvpEncoderConfig.intermediate_size",description:`<strong>intermediate_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1536) &#x2014;
Dimensionality of the &#x201C;intermediate&#x201D; (i.e., feed-forward) layer in the Transformer encoder.`,name:"intermediate_size"},{anchor:"transformers.ClvpEncoderConfig.projection_dim",description:`<strong>projection_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 768) &#x2014;
Dimensionality of the projection vector.`,name:"projection_dim"},{anchor:"transformers.ClvpEncoderConfig.num_hidden_layers",description:`<strong>num_hidden_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 20) &#x2014;
Number of hidden layers in the Transformer encoder.`,name:"num_hidden_layers"},{anchor:"transformers.ClvpEncoderConfig.num_attention_heads",description:`<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>, defaults to 12) &#x2014;
Number of attention heads for each attention layer in the Transformer encoder.`,name:"num_attention_heads"},{anchor:"transformers.ClvpEncoderConfig.hidden_act",description:`<strong>hidden_act</strong> (<code>str</code> or <code>function</code>, <em>optional</em>, defaults to <code>&quot;gelu&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> <code>&quot;quick_gelu&quot;</code> are supported.`,name:"hidden_act"},{anchor:"transformers.ClvpEncoderConfig.layer_norm_eps",description:`<strong>layer_norm_eps</strong> (<code>float</code>, <em>optional</em>, defaults to 1e-05) &#x2014;
The epsilon used by the layer normalization layers.`,name:"layer_norm_eps"},{anchor:"transformers.ClvpEncoderConfig.attention_dropout",description:`<strong>attention_dropout</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout ratio for the attention probabilities.`,name:"attention_dropout"},{anchor:"transformers.ClvpEncoderConfig.dropout",description:`<strong>dropout</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout ratio for the feed-forward layers in <code>ClvpEncoderMLP</code>.`,name:"dropout"},{anchor:"transformers.ClvpEncoderConfig.use_rotary_embedding",description:`<strong>use_rotary_embedding</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to use rotary_embedding or not.`,name:"use_rotary_embedding"},{anchor:"transformers.ClvpEncoderConfig.use_attention_bias",description:`<strong>use_attention_bias</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to use bias in Query, Key and Value layers during self attention.`,name:"use_attention_bias"},{anchor:"transformers.ClvpEncoderConfig.summary_type",description:`<strong>summary_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;mean&quot;</code>) &#x2014;
What strategy to use to get pooler_output from the last_hidden_state. <code>&quot;last&quot;</code>, <code>&quot;first&quot;</code>, <code>&quot;mean&quot;</code> and
<code>&quot;cls_index&quot;</code> are supported.`,name:"summary_type"},{anchor:"transformers.ClvpEncoderConfig.initializer_factor",description:`<strong>initializer_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) &#x2014;
A factor for initializing all weight matrices (should be kept to 1.0, used internally for initialization
testing).`,name:"initializer_factor"},{anchor:"transformers.ClvpEncoderConfig.bos_token_id",description:`<strong>bos_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 255) &#x2014;
Beginning of sequence token id.`,name:"bos_token_id"},{anchor:"transformers.ClvpEncoderConfig.eos_token_id",description:`<strong>eos_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 0) &#x2014;
End of sequence token id.`,name:"eos_token_id"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/configuration_clvp.py#L31"}}),ne=new bt({props:{anchor:"transformers.ClvpEncoderConfig.example",$$slots:{default:[ra]},$$scope:{ctx:w}}}),Be=new U({props:{title:"ClvpDecoderConfig",local:"transformers.ClvpDecoderConfig",headingTag:"h2"}}),Ge=new x({props:{name:"class transformers.ClvpDecoderConfig",anchor:"transformers.ClvpDecoderConfig",parameters:[{name:"vocab_size",val:" = 8194"},{name:"max_position_embeddings",val:" = 608"},{name:"max_text_tokens",val:" = 404"},{name:"hidden_size",val:" = 1024"},{name:"num_hidden_layers",val:" = 30"},{name:"num_attention_heads",val:" = 16"},{name:"n_inner",val:" = None"},{name:"num_mel_attn_blocks",val:" = 6"},{name:"activation_function",val:" = 'gelu_new'"},{name:"resid_pdrop",val:" = 0.1"},{name:"embd_pdrop",val:" = 0.1"},{name:"attention_dropout",val:" = 0.1"},{name:"layer_norm_epsilon",val:" = 1e-05"},{name:"initializer_range",val:" = 0.02"},{name:"summary_type",val:" = 'cls_index'"},{name:"summary_use_proj",val:" = True"},{name:"summary_activation",val:" = None"},{name:"summary_proj_to_labels",val:" = True"},{name:"summary_first_dropout",val:" = 0.1"},{name:"use_cache",val:" = True"},{name:"bos_token_id",val:" = 8192"},{name:"eos_token_id",val:" = 8193"},{name:"feature_size",val:" = 80"},{name:"use_attention_bias",val:" = True"},{name:"initializer_factor",val:" = 1.0"},{name:"decoder_fixing_codes",val:" = [83, 45, 45, 248]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpDecoderConfig.vocab_size",description:`<strong>vocab_size</strong> (<code>int</code>, <em>optional</em>, defaults to 8194) &#x2014;
Vocabulary size of the model.`,name:"vocab_size"},{anchor:"transformers.ClvpDecoderConfig.max_position_embeddings",description:`<strong>max_position_embeddings</strong> (<code>int</code>, <em>optional</em>, defaults to 608) &#x2014;
The maximum sequence length of mel tokens that this model might ever be used with. Similar to <code>n_positions</code>
in <code>GPT2Config</code>.`,name:"max_position_embeddings"},{anchor:"transformers.ClvpDecoderConfig.max_text_tokens",description:`<strong>max_text_tokens</strong> (<code>int</code>, <em>optional</em>, defaults to 404) &#x2014;
The maximum sequence length of text tokens that this model might ever be used with. Similar to
<code>n_positions</code> in <code>GPT2Config</code>.`,name:"max_text_tokens"},{anchor:"transformers.ClvpDecoderConfig.hidden_size",description:`<strong>hidden_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1024) &#x2014;
Dimensionality of the embeddings and hidden states.`,name:"hidden_size"},{anchor:"transformers.ClvpDecoderConfig.num_hidden_layers",description:`<strong>num_hidden_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 30) &#x2014;
Number of hidden layers in the Transformer encoder.`,name:"num_hidden_layers"},{anchor:"transformers.ClvpDecoderConfig.num_attention_heads",description:`<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>, defaults to 16) &#x2014;
Number of attention heads for each attention layer in the Transformer encoder.`,name:"num_attention_heads"},{anchor:"transformers.ClvpDecoderConfig.n_inner",description:`<strong>n_inner</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Dimensionality of the inner feed-forward layers. <code>None</code> will set it to 4 times <code>hidden_size</code>.`,name:"n_inner"},{anchor:"transformers.ClvpDecoderConfig.num_mel_attn_blocks",description:`<strong>num_mel_attn_blocks</strong> (<code>int</code>, <em>optional</em>, defaults to 6) &#x2014;
Denotes the number of self attention layers in <code>ClvpConditioningEncoder</code>.`,name:"num_mel_attn_blocks"},{anchor:"transformers.ClvpDecoderConfig.activation_function",description:`<strong>activation_function</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;gelu_new&quot;</code>) &#x2014;
Activation function, to be selected in the list <code>[&quot;relu&quot;, &quot;silu&quot;, &quot;gelu&quot;, &quot;tanh&quot;, &quot;gelu_new&quot;]</code>.`,name:"activation_function"},{anchor:"transformers.ClvpDecoderConfig.resid_pdrop",description:`<strong>resid_pdrop</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout probability for all fully connected layers in the embeddings, encoder, and pooler.`,name:"resid_pdrop"},{anchor:"transformers.ClvpDecoderConfig.embd_pdrop",description:`<strong>embd_pdrop</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout ratio for the embeddings.`,name:"embd_pdrop"},{anchor:"transformers.ClvpDecoderConfig.attention_dropout",description:`<strong>attention_dropout</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout ratio for the attention.`,name:"attention_dropout"},{anchor:"transformers.ClvpDecoderConfig.layer_norm_epsilon",description:`<strong>layer_norm_epsilon</strong> (<code>float</code>, <em>optional</em>, defaults to 1e-05) &#x2014;
The epsilon to use in the layer normalization layers.`,name:"layer_norm_epsilon"},{anchor:"transformers.ClvpDecoderConfig.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.ClvpDecoderConfig.summary_type",description:`<strong>summary_type</strong> (<code>string</code>, <em>optional</em>, defaults to <code>&quot;cls_index&quot;</code>) &#x2014;
Argument used when doing sequence summary.</p>
<p>Has to be one of the following options:</p>
<ul>
<li><code>&quot;last&quot;</code>: Take the last token hidden state (like XLNet).</li>
<li><code>&quot;first&quot;</code>: Take the first token hidden state (like BERT).</li>
<li><code>&quot;mean&quot;</code>: Take the mean of all tokens hidden states.</li>
<li><code>&quot;cls_index&quot;</code>: Supply a Tensor of classification token position (like GPT/GPT-2).</li>
<li><code>&quot;attn&quot;</code>: Not implemented now, use multi-head attention.</li>
</ul>`,name:"summary_type"},{anchor:"transformers.ClvpDecoderConfig.summary_use_proj",description:`<strong>summary_use_proj</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to add a projection after the vector extraction.`,name:"summary_use_proj"},{anchor:"transformers.ClvpDecoderConfig.summary_activation",description:`<strong>summary_activation</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Pass <code>&quot;tanh&quot;</code> for a tanh activation to the output, any other value will result in no activation.`,name:"summary_activation"},{anchor:"transformers.ClvpDecoderConfig.summary_proj_to_labels",description:`<strong>summary_proj_to_labels</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the projection outputs should have <code>config.num_labels</code> or <code>config.hidden_size</code> classes.`,name:"summary_proj_to_labels"},{anchor:"transformers.ClvpDecoderConfig.summary_first_dropout",description:`<strong>summary_first_dropout</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The dropout ratio to be used after the projection and activation.`,name:"summary_first_dropout"},{anchor:"transformers.ClvpDecoderConfig.use_cache",description:`<strong>use_cache</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not the model should return the last key/values attentions (not used by all models).`,name:"use_cache"},{anchor:"transformers.ClvpDecoderConfig.bos_token_id",description:`<strong>bos_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 8192) &#x2014;
Beginning of sequence token id, used at the start of the generation.`,name:"bos_token_id"},{anchor:"transformers.ClvpDecoderConfig.eos_token_id",description:`<strong>eos_token_id</strong> (<code>int</code>, <em>optional</em>, defaults to 8193) &#x2014;
End of sequence token id, used in the method
<code>ClvpModelForConditionalGeneration.fix_speech_decoder_output()</code> to correct decoder outputs.`,name:"eos_token_id"},{anchor:"transformers.ClvpDecoderConfig.feature_size",description:`<strong>feature_size</strong> (<code>int</code>, <em>optional</em>, defaults to 80) &#x2014;
The feature dimension of the extracted mel features. This value is used in <code>ClvpConditioningEncoder</code>.`,name:"feature_size"},{anchor:"transformers.ClvpDecoderConfig.use_attention_bias",description:`<strong>use_attention_bias</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to use bias in Query, Key and Value layers during self attention.`,name:"use_attention_bias"},{anchor:"transformers.ClvpDecoderConfig.initializer_factor",description:`<strong>initializer_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) &#x2014;
A factor for initializing all weight matrices (should be kept to 1.0, used internally for initialization
testing).`,name:"initializer_factor"},{anchor:"transformers.ClvpDecoderConfig.decoder_fixing_codes",description:`<strong>decoder_fixing_codes</strong> (<code>list</code>, <em>optional</em>, defaults to <code>[83, 45, 45, 248]</code>) &#x2014;
These values are used in the method <code>fix_speech_decoder_output</code> to fix decoder generated outputs.`,name:"decoder_fixing_codes"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/configuration_clvp.py#L162"}}),se=new bt({props:{anchor:"transformers.ClvpDecoderConfig.example",$$slots:{default:[ia]},$$scope:{ctx:w}}}),Ne=new U({props:{title:"ClvpTokenizer",local:"transformers.ClvpTokenizer",headingTag:"h2"}}),Ve=new x({props:{name:"class transformers.ClvpTokenizer",anchor:"transformers.ClvpTokenizer",parameters:[{name:"vocab_file",val:""},{name:"merges_file",val:""},{name:"errors",val:" = 'replace'"},{name:"unk_token",val:" = '[UNK]'"},{name:"bos_token",val:" = '<|endoftext|>'"},{name:"eos_token",val:" = '[STOP]'"},{name:"pad_token",val:" = '[STOP]'"},{name:"add_prefix_space",val:" = False"},{name:"add_bos_token",val:" = False"},{name:"add_eos_token",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpTokenizer.vocab_file",description:`<strong>vocab_file</strong> (<code>str</code>) &#x2014;
Path to the vocabulary file.`,name:"vocab_file"},{anchor:"transformers.ClvpTokenizer.merges_file",description:`<strong>merges_file</strong> (<code>str</code>) &#x2014;
Path to the merges file.`,name:"merges_file"},{anchor:"transformers.ClvpTokenizer.errors",description:`<strong>errors</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;replace&quot;</code>) &#x2014;
Paradigm to follow when decoding bytes to UTF-8. See
<a href="https://docs.python.org/3/library/stdtypes.html#bytes.decode" rel="nofollow">bytes.decode</a> for more information.`,name:"errors"},{anchor:"transformers.ClvpTokenizer.unk_token",description:`<strong>unk_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;[UNK]&quot;</code>) &#x2014;
The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this
token instead.`,name:"unk_token"},{anchor:"transformers.ClvpTokenizer.bos_token",description:`<strong>bos_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&lt;|endoftext|&gt;&quot;</code>) &#x2014;
The beginning of sequence token.`,name:"bos_token"},{anchor:"transformers.ClvpTokenizer.eos_token",description:`<strong>eos_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;[STOP]&quot;</code>) &#x2014;
The end of sequence token.`,name:"eos_token"},{anchor:"transformers.ClvpTokenizer.pad_token",description:`<strong>pad_token</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;[STOP]&quot;</code>) &#x2014;
The pad token of the sequence.`,name:"pad_token"},{anchor:"transformers.ClvpTokenizer.add_prefix_space",description:`<strong>add_prefix_space</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to add an initial space to the input. This allows to treat the leading word just as any
other word. (CLVP tokenizer detect beginning of words by the preceding space).`,name:"add_prefix_space"},{anchor:"transformers.ClvpTokenizer.add_bos_token",description:`<strong>add_bos_token</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to add <code>bos_token</code> in front of the sequence when add_special_tokens=True.`,name:"add_bos_token"},{anchor:"transformers.ClvpTokenizer.add_eos_token",description:`<strong>add_eos_token</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to add <code>eos_token</code> in end of the sequence when add_special_tokens=True.`,name:"add_eos_token"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/tokenization_clvp.py#L78"}}),ae=new bt({props:{anchor:"transformers.ClvpTokenizer.example",$$slots:{default:[la]},$$scope:{ctx:w}}}),re=new ho({props:{$$slots:{default:[da]},$$scope:{ctx:w}}}),He=new x({props:{name:"save_vocabulary",anchor:"transformers.ClvpTokenizer.save_vocabulary",parameters:[{name:"save_directory",val:": str"},{name:"filename_prefix",val:": Optional = None"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/tokenization_clvp.py#L337"}}),Le=new U({props:{title:"ClvpFeatureExtractor",local:"transformers.ClvpFeatureExtractor",headingTag:"h2"}}),De=new x({props:{name:"class transformers.ClvpFeatureExtractor",anchor:"transformers.ClvpFeatureExtractor",parameters:[{name:"feature_size",val:" = 80"},{name:"sampling_rate",val:" = 22050"},{name:"default_audio_length",val:" = 6"},{name:"hop_length",val:" = 256"},{name:"chunk_length",val:" = 30"},{name:"n_fft",val:" = 1024"},{name:"padding_value",val:" = 0.0"},{name:"mel_norms",val:" = None"},{name:"return_attention_mask",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpFeatureExtractor.feature_size",description:`<strong>feature_size</strong> (<code>int</code>, <em>optional</em>, defaults to 80) &#x2014;
The feature dimension of the extracted features.`,name:"feature_size"},{anchor:"transformers.ClvpFeatureExtractor.sampling_rate",description:`<strong>sampling_rate</strong> (<code>int</code>, <em>optional</em>, defaults to 22050) &#x2014;
The sampling rate at which the audio files should be digitalized expressed in hertz (Hz).`,name:"sampling_rate"},{anchor:"transformers.ClvpFeatureExtractor.default_audio_length",description:`<strong>default_audio_length</strong> (<code>int</code>, <em>optional</em>, defaults to 6) &#x2014;
The default length of raw audio in seconds. If <code>max_length</code> is not set during <code>__call__</code> then it will
automatically be set to default_audio_length * <code>self.sampling_rate</code>.`,name:"default_audio_length"},{anchor:"transformers.ClvpFeatureExtractor.hop_length",description:`<strong>hop_length</strong> (<code>int</code>, <em>optional</em>, defaults to 256) &#x2014;
Length of the overlaping windows for the STFT used to obtain the Mel Frequency coefficients.`,name:"hop_length"},{anchor:"transformers.ClvpFeatureExtractor.chunk_length",description:`<strong>chunk_length</strong> (<code>int</code>, <em>optional</em>, defaults to 30) &#x2014;
The maximum number of chuncks of <code>sampling_rate</code> samples used to trim and pad longer or shorter audio
sequences.`,name:"chunk_length"},{anchor:"transformers.ClvpFeatureExtractor.n_fft",description:`<strong>n_fft</strong> (<code>int</code>, <em>optional</em>, defaults to 1024) &#x2014;
Size of the Fourier transform.`,name:"n_fft"},{anchor:"transformers.ClvpFeatureExtractor.padding_value",description:`<strong>padding_value</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014;
Padding value used to pad the audio. Should correspond to silences.`,name:"padding_value"},{anchor:"transformers.ClvpFeatureExtractor.mel_norms",description:`<strong>mel_norms</strong> (<code>list</code> of length <code>feature_size</code>, <em>optional</em>) &#x2014;
If <code>mel_norms</code> is provided then it will be used to normalize the log-mel spectrograms along each
mel-filter.`,name:"mel_norms"},{anchor:"transformers.ClvpFeatureExtractor.return_attention_mask",description:`<strong>return_attention_mask</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to return the attention mask. If left to the default, it will return the attention mask.</p>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"return_attention_mask"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/feature_extraction_clvp.py#L33"}}),qe=new x({props:{name:"__call__",anchor:"transformers.ClvpFeatureExtractor.__call__",parameters:[{name:"raw_speech",val:": Union"},{name:"sampling_rate",val:": Optional = None"},{name:"truncation",val:": bool = True"},{name:"pad_to_multiple_of",val:": Optional = None"},{name:"return_tensors",val:": Union = None"},{name:"return_attention_mask",val:": Optional = True"},{name:"padding",val:": Optional = 'max_length'"},{name:"max_length",val:": Optional = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpFeatureExtractor.__call__.raw_speech",description:`<strong>raw_speech</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 padded. 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. Must be mono channel audio, not
stereo, i.e. single float per timestep.`,name:"raw_speech"},{anchor:"transformers.ClvpFeatureExtractor.__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 and allow automatic speech recognition
pipeline.`,name:"sampling_rate"},{anchor:"transformers.ClvpFeatureExtractor.__call__.truncation",description:`<strong>truncation</strong> (<code>bool</code>, <em>optional</em>, default to <code>True</code>) &#x2014;
Activates truncation to cut input sequences longer than <em>max_length</em> to <em>max_length</em>.`,name:"truncation"},{anchor:"transformers.ClvpFeatureExtractor.__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
<code>&gt;= 7.5</code> (Volta), or on TPUs which benefit from having sequence lengths be a multiple of 128.`,name:"pad_to_multiple_of"},{anchor:"transformers.ClvpFeatureExtractor.__call__.return_attention_mask",description:`<strong>return_attention_mask</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to return the attention mask. If left to the default, it will return the attention mask.</p>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"return_attention_mask"},{anchor:"transformers.ClvpFeatureExtractor.__call__.return_tensors",description:`<strong>return_tensors</strong> (<code>str</code> or <a href="/docs/transformers/main/ja/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.ClvpFeatureExtractor.__call__.padding_value",description:`<strong>padding_value</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014;
The value that is used to fill the padding values / vectors.`,name:"padding_value"},{anchor:"transformers.ClvpFeatureExtractor.__call__.max_length",description:`<strong>max_length</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum input length of the inputs.`,name:"max_length"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/feature_extraction_clvp.py#L131"}}),Pe=new U({props:{title:"ClvpProcessor",local:"transformers.ClvpProcessor",headingTag:"h2"}}),Xe=new x({props:{name:"class transformers.ClvpProcessor",anchor:"transformers.ClvpProcessor",parameters:[{name:"feature_extractor",val:""},{name:"tokenizer",val:""}],parametersDescription:[{anchor:"transformers.ClvpProcessor.feature_extractor",description:`<strong>feature_extractor</strong> (<code>ClvpFeatureExtractor</code>) &#x2014;
An instance of <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor">ClvpFeatureExtractor</a>. The feature extractor is a required input.`,name:"feature_extractor"},{anchor:"transformers.ClvpProcessor.tokenizer",description:`<strong>tokenizer</strong> (<code>ClvpTokenizer</code>) &#x2014;
An instance of <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpTokenizer">ClvpTokenizer</a>. The tokenizer is a required input.`,name:"tokenizer"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/processing_clvp.py#L23"}}),Re=new x({props:{name:"__call__",anchor:"transformers.ClvpProcessor.__call__",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/processing_clvp.py#L48"}}),Ye=new x({props:{name:"decode",anchor:"transformers.ClvpProcessor.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/processing_clvp.py#L85"}}),Qe=new x({props:{name:"batch_decode",anchor:"transformers.ClvpProcessor.batch_decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/processing_clvp.py#L77"}}),Se=new U({props:{title:"ClvpModelForConditionalGeneration",local:"transformers.ClvpModelForConditionalGeneration",headingTag:"h2"}}),Oe=new x({props:{name:"class transformers.ClvpModelForConditionalGeneration",anchor:"transformers.ClvpModelForConditionalGeneration",parameters:[{name:"config",val:": ClvpConfig"}],parametersDescription:[{anchor:"transformers.ClvpModelForConditionalGeneration.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpConfig">ClvpConfig</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/ja/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/clvp/modeling_clvp.py#L1506"}}),Ae=new x({props:{name:"forward",anchor:"transformers.ClvpModelForConditionalGeneration.forward",parameters:[{name:"input_ids",val:": LongTensor = None"},{name:"input_features",val:": FloatTensor = None"},{name:"conditioning_encoder_inputs_embeds",val:": Optional = None"},{name:"text_encoder_inputs_embeds",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"return_loss",val:": Optional = None"},{name:"output_hidden_states",val:": Optional = None"},{name:"output_attentions",val:": Optional = False"},{name:"return_dict",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.ClvpModelForConditionalGeneration.forward.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Indices of input sequence tokens in the vocabulary. Padding will be ignored by default should you provide
it.</p>
<p>Indices can be obtained using <a href="/docs/transformers/main/ja/model_doc/auto#transformers.AutoTokenizer">AutoTokenizer</a>. See <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/main/ja/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_ids"},{anchor:"transformers.ClvpModelForConditionalGeneration.forward.input_features",description:`<strong>input_features</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, feature_size, time_dim)</code>) &#x2014;
Indicates log mel-spectrogram representations for audio returned by <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor">ClvpFeatureExtractor</a>.`,name:"input_features"},{anchor:"transformers.ClvpModelForConditionalGeneration.forward.conditioning_encoder_inputs_embeds",description:`<strong>conditioning_encoder_inputs_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
inputs_embeds for <code>ClvpConditioningEncoder</code>. Can be used in place of <code>input_ids</code>.`,name:"conditioning_encoder_inputs_embeds"},{anchor:"transformers.ClvpModelForConditionalGeneration.forward.text_encoder_inputs_embeds",description:`<strong>text_encoder_inputs_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
inputs_embeds for the text encoder model passed in place of <code>input_ids</code>.`,name:"text_encoder_inputs_embeds"},{anchor:"transformers.ClvpModelForConditionalGeneration.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Mask to avoid performing attention on padding text 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.ClvpModelForConditionalGeneration.forward.return_loss",description:`<strong>return_loss</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to return the contrastive loss.`,name:"return_loss"},{anchor:"transformers.ClvpModelForConditionalGeneration.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.ClvpModelForConditionalGeneration.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.ClvpModelForConditionalGeneration.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/ja/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/clvp/modeling_clvp.py#L1734",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <code>transformers.models.clvp.modeling_clvp.ClvpOutput</code> 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 (<code>&lt;class 'transformers.models.clvp.configuration_clvp.ClvpConfig'&gt;</code>) and inputs.</p>
<ul>
<li><strong>loss</strong> (<code>torch.FloatTensor</code> of shape <code>(1,)</code>, <em>optional</em>, returned when <code>return_loss</code> is <code>True</code>) — Contrastive loss for speech-text similarity.</li>
<li><strong>speech_ids</strong> (<code>torch.LongTensor</code>, <em>optional</em>) — speech_ids (or speech candidates) generated by the <code>ClvpForCausalLM</code> model.</li>
<li><strong>logits_per_speech</strong> (<code>torch.FloatTensor</code> of shape <code>(speech_batch_size, text_batch_size)</code>) — The scaled dot product scores between <code>speech_embeds</code> and <code>text_embeds</code>. This represents the speech-text
similarity scores.</li>
<li><strong>logits_per_text</strong> (<code>torch.FloatTensor</code> of shape <code>(text_batch_size, speech_batch_size)</code>) — The scaled dot product scores between <code>text_embeds</code> and <code>speech_embeds</code>. This represents the text-speech
similarity scores.</li>
<li><strong>text_embeds</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, output_dim</code>) — The text embeddings obtained by applying the projection layer to the pooled output of the text encoder
model.</li>
<li><strong>speech_embeds</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, output_dim</code>) — The speech embeddings obtained by applying the projection layer to the pooled output of the speech encoder
model.</li>
<li><strong>text_model_output</strong> (<code>BaseModelOutputWithPooling</code>) — The pooled output of the <code>last_hidden_state</code> of the text encoder Model.</li>
<li><strong>speech_model_output</strong> (<code>BaseModelOutputWithPooling</code>) — The pooled output of the <code>last_hidden_state</code> of the speech encoder Model.</li>
<li><strong>decoder_hidden_states</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) — The hidden states of the decoder model.</li>
<li><strong>text_encoder_hidden_states</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) — The hidden states of the text encoder model.</li>
<li><strong>speech_encoder_hidden_states</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) — The hidden states of the speech encoder model.</li>
</ul>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>transformers.models.clvp.modeling_clvp.ClvpOutput</code> or <code>tuple(torch.FloatTensor)</code></p>
`}}),ce=new ho({props:{$$slots:{default:[ca]},$$scope:{ctx:w}}}),pe=new bt({props:{anchor:"transformers.ClvpModelForConditionalGeneration.forward.example",$$slots:{default:[pa]},$$scope:{ctx:w}}}),Ke=new x({props:{name:"generate",anchor:"transformers.ClvpModelForConditionalGeneration.generate",parameters:[{name:"input_ids",val:": LongTensor = None"},{name:"input_features",val:": FloatTensor = None"},{name:"attention_mask",val:": Optional = None"},{name:"generation_config",val:": Optional = None"},{name:"pad_to_max_mel_tokens",val:": Optional = None"},{name:"output_hidden_states",val:": Optional = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpModelForConditionalGeneration.generate.input_ids",description:`<strong>input_ids</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Input text Tokens. Processed from the <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpTokenizer">ClvpTokenizer</a>.`,name:"input_ids"},{anchor:"transformers.ClvpModelForConditionalGeneration.generate.input_features",description:`<strong>input_features</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, feature_size, time_dim)</code>, <em>optional</em>) &#x2014;
Indicates log-melspectrogram representations for audio returned by <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor">ClvpFeatureExtractor</a>.`,name:"input_features"},{anchor:"transformers.ClvpModelForConditionalGeneration.generate.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Mask to avoid performing attention on padding text 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.ClvpModelForConditionalGeneration.generate.generation_config",description:`<strong>generation_config</strong> (<code>~generation.GenerationConfig</code>, <em>optional</em>) &#x2014;
The generation configuration to be used as base parametrization for the generation call. <code>**kwargs</code>
passed to generate matching the attributes of <code>generation_config</code> will override them. If
<code>generation_config</code> is not provided, the default will be used, which had the following loading
priority: 1) from the <code>generation_config.json</code> model file, if it exists; 2) from the model
configuration. Please note that unspecified parameters will inherit <a href="/docs/transformers/main/ja/main_classes/text_generation#transformers.GenerationConfig">GenerationConfig</a>&#x2019;s
default values, whose documentation should be checked to parameterize generation.`,name:"generation_config"},{anchor:"transformers.ClvpModelForConditionalGeneration.generate.pad_to_max_mel_tokens",description:`<strong>pad_to_max_mel_tokens</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Pads generated speech_ids to the specified value. This is to implement the same logic from the official
repo, link: <a href="https://github.com/neonbjb/tortoise-tts/blob/80f89987a5abda5e2b082618cd74f9c7411141dc/tortoise/api.py#L430" rel="nofollow">https://github.com/neonbjb/tortoise-tts/blob/80f89987a5abda5e2b082618cd74f9c7411141dc/tortoise/api.py#L430</a>
and to make sure the logits are same.
This does not affect generation quality so please don&#x2019;t consider using it since it is less efficient.`,name:"pad_to_max_mel_tokens"},{anchor:"transformers.ClvpModelForConditionalGeneration.generate.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 decoder model, text encoder and speech encoder models.`,name:"output_hidden_states"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/modeling_clvp.py#L1866",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <code>ClvpOutput</code> (if <code>return_dict_in_generate=True</code> or when
<code>config.return_dict_in_generate=True</code>) or a tuple.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ClvpOutput</code> or tuple</p>
`}}),et=new x({props:{name:"get_text_features",anchor:"transformers.ClvpModelForConditionalGeneration.get_text_features",parameters:[{name:"input_ids",val:": Optional = None"},{name:"text_encoder_inputs_embeds",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.ClvpModelForConditionalGeneration.get_text_features.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>) &#x2014;
Indices of input sequence tokens in the vocabulary. Padding will be ignored by default should you
provide it.</p>
<p><a href="../glossary#input-ids">What are input IDs?</a>`,name:"input_ids"},{anchor:"transformers.ClvpModelForConditionalGeneration.get_text_features.text_encoder_inputs_embeds",description:`<strong>text_encoder_inputs_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
inputs_embeds for the text encoder model passed in place of <code>input_ids</code>.`,name:"text_encoder_inputs_embeds"},{anchor:"transformers.ClvpModelForConditionalGeneration.get_text_features.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.Tensor</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"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/modeling_clvp.py#L1580",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The text embeddings obtained by applying the projection layer to the pooled output of the CLVP Text
Model.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.FloatTensor</code> of shape <code>(batch_size, output_dim)</code></p>
`}}),fe=new bt({props:{anchor:"transformers.ClvpModelForConditionalGeneration.get_text_features.example",$$slots:{default:[ma]},$$scope:{ctx:w}}}),tt=new x({props:{name:"get_speech_features",anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features",parameters:[{name:"speech_ids",val:": Optional = None"},{name:"input_ids",val:": Optional = None"},{name:"input_features",val:": Optional = None"},{name:"conditioning_encoder_inputs_embeds",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"generation_config",val:": Optional = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features.speech_ids",description:`<strong>speech_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, num_speech_ids)</code>, <em>optional</em>) &#x2014;
Speech Tokens. Padding will be ignored by default should you provide it. If speech_ids are provided
then input_ids and input_features will be automatically ignored.`,name:"speech_ids"},{anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Input text Tokens. Processed from the <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpTokenizer">ClvpTokenizer</a>. If speech_ids is not provided, then input_ids
and input_features will be used.`,name:"input_ids"},{anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features.input_features",description:`<strong>input_features</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, feature_size, time_dim)</code>, <em>optional</em>) &#x2014;
Indicates log-melspectrogram representations for audio returned by <a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpFeatureExtractor">ClvpFeatureExtractor</a>. If
speech_ids is not provided, then input_ids and input_features will be used.`,name:"input_features"},{anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features.conditioning_encoder_inputs_embeds",description:`<strong>conditioning_encoder_inputs_embeds</strong> (<code>torch.FloatTensor</code>, <em>optional</em>) &#x2014;
inputs_embeds for <code>ClvpConditioningEncoder</code>. Can be used in place of <code>input_ids</code>.`,name:"conditioning_encoder_inputs_embeds"},{anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Mask to avoid performing attention on padding speech 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.ClvpModelForConditionalGeneration.get_speech_features.generation_config",description:`<strong>generation_config</strong> (<code>GenerationConfig</code>, <em>optional</em>) &#x2014;
generation config to control the generation of speech_ids if they are not provided.`,name:"generation_config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/modeling_clvp.py#L1637",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The speech embeddings obtained by applying the projection layer to the pooled output of the CLVP Speech
Model.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.FloatTensor</code> of shape <code>(batch_size, output_dim)</code></p>
`}}),ue=new bt({props:{anchor:"transformers.ClvpModelForConditionalGeneration.get_speech_features.example",$$slots:{default:[fa]},$$scope:{ctx:w}}}),ot=new U({props:{title:"ClvpForCausalLM",local:"transformers.ClvpForCausalLM",headingTag:"h2"}}),nt=new x({props:{name:"class transformers.ClvpForCausalLM",anchor:"transformers.ClvpForCausalLM",parameters:[{name:"config",val:""}],parametersDescription:[{anchor:"transformers.ClvpForCausalLM.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpConfig">ClvpConfig</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/ja/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/clvp/modeling_clvp.py#L1277"}}),st=new x({props:{name:"forward",anchor:"transformers.ClvpForCausalLM.forward",parameters:[{name:"input_ids",val:": Optional = None"},{name:"past_key_values",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"token_type_ids",val:": Optional = None"},{name:"position_ids",val:": Optional = None"},{name:"head_mask",val:": Optional = None"},{name:"inputs_embeds",val:": Optional = None"},{name:"labels",val:": Optional = None"},{name:"use_cache",val:": Optional = None"},{name:"output_attentions",val:": Optional = None"},{name:"output_hidden_states",val:": Optional = None"},{name:"return_dict",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.ClvpForCausalLM.forward.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>) &#x2014;
Indices of input sequence tokens in the vocabulary.</p>
<p>Indices can be obtained using <a href="/docs/transformers/main/ja/model_doc/auto#transformers.AutoTokenizer">AutoTokenizer</a>. See <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/main/ja/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_ids"},{anchor:"transformers.ClvpForCausalLM.forward.past_key_values",description:`<strong>past_key_values</strong> (<code>Tuple[Tuple[torch.Tensor]]</code> of length <code>config.n_layers</code>) &#x2014;
Contains precomputed hidden-states (key and values in the attention blocks) as computed by the model (see
<code>past_key_values</code> output below). Can be used to speed up sequential decoding. The <code>input_ids</code> which have
their past given to this model should not be passed as <code>input_ids</code> as they have already been computed.`,name:"past_key_values"},{anchor:"transformers.ClvpForCausalLM.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>If <code>past_key_values</code> is used, <code>attention_mask</code> needs to contain the masking strategy that was used for
<code>past_key_values</code>. In other words, the <code>attention_mask</code> always has to have the length:
<code>len(past_key_values) + len(input_ids)</code></p>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"attention_mask"},{anchor:"transformers.ClvpForCausalLM.forward.token_type_ids",description:`<strong>token_type_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>, <em>optional</em>) &#x2014;
Segment token indices to indicate first and second portions of the inputs. Indices are selected in <code>[0, 1]</code>:</p>
<ul>
<li>0 corresponds to a <em>sentence A</em> token,</li>
<li>1 corresponds to a <em>sentence B</em> token.</li>
</ul>
<p><a href="../glossary#token-type-ids">What are token type IDs?</a>`,name:"token_type_ids"},{anchor:"transformers.ClvpForCausalLM.forward.position_ids",description:`<strong>position_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Indices of positions of each input sequence tokens in the position embeddings. Selected in the range <code>[0, config.max_position_embeddings - 1]</code>.</p>
<p><a href="../glossary#position-ids">What are position IDs?</a>`,name:"position_ids"},{anchor:"transformers.ClvpForCausalLM.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.ClvpForCausalLM.forward.inputs_embeds",description:`<strong>inputs_embeds</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length, hidden_size)</code>, <em>optional</em>) &#x2014;
Optionally, instead of passing <code>input_ids</code> you can choose to directly pass an embedded representation. This
is useful if you want more control over how to convert <code>input_ids</code> indices into associated vectors than the
model&#x2019;s internal embedding lookup matrix.</p>
<p>If <code>past_key_values</code> is used, optionally only the last <code>inputs_embeds</code> have to be input (see
<code>past_key_values</code>).`,name:"inputs_embeds"},{anchor:"transformers.ClvpForCausalLM.forward.use_cache",description:`<strong>use_cache</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If set to <code>True</code>, <code>past_key_values</code> key value states are returned and can be used to speed up decoding (see
<code>past_key_values</code>).`,name:"use_cache"},{anchor:"transformers.ClvpForCausalLM.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.ClvpForCausalLM.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.ClvpForCausalLM.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/ja/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"},{anchor:"transformers.ClvpForCausalLM.forward.labels",description:`<strong>labels</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Labels for language modeling. Note that the labels <strong>are shifted</strong> inside the model, i.e. you can set
<code>labels = input_ids</code> Indices are selected in <code>[-100, 0, ..., config.vocab_size]</code> All labels set to <code>-100</code>
are ignored (masked), the loss is only computed for labels in <code>[0, ..., config.vocab_size]</code>`,name:"labels"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/modeling_clvp.py#L1418"}}),he=new ho({props:{$$slots:{default:[ua]},$$scope:{ctx:w}}}),at=new U({props:{title:"ClvpModel",local:"transformers.ClvpModel",headingTag:"h2"}}),rt=new x({props:{name:"class transformers.ClvpModel",anchor:"transformers.ClvpModel",parameters:[{name:"config",val:": ClvpDecoderConfig"}],parametersDescription:[{anchor:"transformers.ClvpModel.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/model_doc/clvp#transformers.ClvpConfig">ClvpConfig</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/ja/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/clvp/modeling_clvp.py#L1206"}}),it=new x({props:{name:"forward",anchor:"transformers.ClvpModel.forward",parameters:[{name:"input_ids",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"token_type_ids",val:": Optional = None"},{name:"position_ids",val:": Optional = None"},{name:"head_mask",val:": Optional = None"},{name:"past_key_values",val:": Optional = None"},{name:"inputs_embeds",val:": Optional = None"},{name:"use_cache",val:": Optional = None"},{name:"output_attentions",val:": Optional = None"},{name:"output_hidden_states",val:": Optional = None"},{name:"return_dict",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.ClvpModel.forward.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>) &#x2014;
Indices of input sequence tokens in the vocabulary.</p>
<p>Indices can be obtained using <a href="/docs/transformers/main/ja/model_doc/auto#transformers.AutoTokenizer">AutoTokenizer</a>. See <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/main/ja/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_ids"},{anchor:"transformers.ClvpModel.forward.past_key_values",description:`<strong>past_key_values</strong> (<code>Tuple[Tuple[torch.Tensor]]</code> of length <code>config.n_layers</code>) &#x2014;
Contains precomputed hidden-states (key and values in the attention blocks) as computed by the model (see
<code>past_key_values</code> output below). Can be used to speed up sequential decoding. The <code>input_ids</code> which have
their past given to this model should not be passed as <code>input_ids</code> as they have already been computed.`,name:"past_key_values"},{anchor:"transformers.ClvpModel.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>If <code>past_key_values</code> is used, <code>attention_mask</code> needs to contain the masking strategy that was used for
<code>past_key_values</code>. In other words, the <code>attention_mask</code> always has to have the length:
<code>len(past_key_values) + len(input_ids)</code></p>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"attention_mask"},{anchor:"transformers.ClvpModel.forward.token_type_ids",description:`<strong>token_type_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>, <em>optional</em>) &#x2014;
Segment token indices to indicate first and second portions of the inputs. Indices are selected in <code>[0, 1]</code>:</p>
<ul>
<li>0 corresponds to a <em>sentence A</em> token,</li>
<li>1 corresponds to a <em>sentence B</em> token.</li>
</ul>
<p><a href="../glossary#token-type-ids">What are token type IDs?</a>`,name:"token_type_ids"},{anchor:"transformers.ClvpModel.forward.position_ids",description:`<strong>position_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Indices of positions of each input sequence tokens in the position embeddings. Selected in the range <code>[0, config.max_position_embeddings - 1]</code>.</p>
<p><a href="../glossary#position-ids">What are position IDs?</a>`,name:"position_ids"},{anchor:"transformers.ClvpModel.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.ClvpModel.forward.inputs_embeds",description:`<strong>inputs_embeds</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length, hidden_size)</code>, <em>optional</em>) &#x2014;
Optionally, instead of passing <code>input_ids</code> you can choose to directly pass an embedded representation. This
is useful if you want more control over how to convert <code>input_ids</code> indices into associated vectors than the
model&#x2019;s internal embedding lookup matrix.</p>
<p>If <code>past_key_values</code> is used, optionally only the last <code>inputs_embeds</code> have to be input (see
<code>past_key_values</code>).`,name:"inputs_embeds"},{anchor:"transformers.ClvpModel.forward.use_cache",description:`<strong>use_cache</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If set to <code>True</code>, <code>past_key_values</code> key value states are returned and can be used to speed up decoding (see
<code>past_key_values</code>).`,name:"use_cache"},{anchor:"transformers.ClvpModel.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.ClvpModel.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.ClvpModel.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/ja/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/clvp/modeling_clvp.py#L1228"}}),ge=new ho({props:{$$slots:{default:[ha]},$$scope:{ctx:w}}}),lt=new U({props:{title:"ClvpEncoder",local:"transformers.ClvpEncoder",headingTag:"h2"}}),dt=new x({props:{name:"class transformers.ClvpEncoder",anchor:"transformers.ClvpEncoder",parameters:[{name:"config",val:": ClvpConfig"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/modeling_clvp.py#L871"}}),ct=new x({props:{name:"forward",anchor:"transformers.ClvpEncoder.forward",parameters:[{name:"input_ids",val:": Optional = None"},{name:"inputs_embeds",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"position_ids",val:": Optional = None"},{name:"output_attentions",val:": Optional = None"},{name:"output_hidden_states",val:": Optional = None"},{name:"return_dict",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.ClvpEncoder.forward.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>, <em>optional</em>) &#x2014;
Indices of input sequence tokens in the vocabulary.</p>
<p>Indices can be obtained using <a href="/docs/transformers/main/ja/model_doc/auto#transformers.AutoTokenizer">AutoTokenizer</a>. See <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/main/ja/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_ids"},{anchor:"transformers.ClvpEncoder.forward.inputs_embeds",description:`<strong>inputs_embeds</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length, hidden_size)</code>, <em>optional</em>) &#x2014;
input embeddings for the model. This bypasses the model&#x2019;s internal embedding lookup matrix.`,name:"inputs_embeds"},{anchor:"transformers.ClvpEncoder.forward.attention_mask",description:`<strong>attention_mask</strong> (<code>torch.LongTensor</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.ClvpEncoder.forward.position_ids",description:`<strong>position_ids</strong> (<code>torch.LongTensor</code>, <em>optional</em>) &#x2014;
Denotes the position ids of <code>input_ids</code>.`,name:"position_ids"},{anchor:"transformers.ClvpEncoder.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.ClvpEncoder.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.ClvpEncoder.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/ja/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/clvp/modeling_clvp.py#L903"}}),pt=new U({props:{title:"ClvpDecoder",local:"transformers.ClvpDecoder",headingTag:"h2"}}),mt=new x({props:{name:"class transformers.ClvpDecoder",anchor:"transformers.ClvpDecoder",parameters:[{name:"config",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/models/clvp/modeling_clvp.py#L1027"}}),ft=new x({props:{name:"forward",anchor:"transformers.ClvpDecoder.forward",parameters:[{name:"input_ids",val:": Optional = None"},{name:"attention_mask",val:": Optional = None"},{name:"token_type_ids",val:": Optional = None"},{name:"position_ids",val:": Optional = None"},{name:"head_mask",val:": Optional = None"},{name:"past_key_values",val:": Optional = None"},{name:"inputs_embeds",val:": Optional = None"},{name:"use_cache",val:": Optional = None"},{name:"output_attentions",val:": Optional = None"},{name:"output_hidden_states",val:": Optional = None"},{name:"return_dict",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.ClvpDecoder.forward.input_ids",description:`<strong>input_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>) &#x2014;
Indices of input sequence tokens in the vocabulary.</p>
<p>Indices can be obtained using <a href="/docs/transformers/main/ja/model_doc/auto#transformers.AutoTokenizer">AutoTokenizer</a>. See <a href="/docs/transformers/main/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.encode">PreTrainedTokenizer.encode()</a> and
<a href="/docs/transformers/main/ja/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_ids"},{anchor:"transformers.ClvpDecoder.forward.past_key_values",description:`<strong>past_key_values</strong> (<code>Tuple[Tuple[torch.Tensor]]</code> of length <code>config.n_layers</code>) &#x2014;
Contains precomputed hidden-states (key and values in the attention blocks) as computed by the model (see
<code>past_key_values</code> output below). Can be used to speed up sequential decoding. The <code>input_ids</code> which have
their past given to this model should not be passed as <code>input_ids</code> as they have already been computed.`,name:"past_key_values"},{anchor:"transformers.ClvpDecoder.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>If <code>past_key_values</code> is used, <code>attention_mask</code> needs to contain the masking strategy that was used for
<code>past_key_values</code>. In other words, the <code>attention_mask</code> always has to have the length:
<code>len(past_key_values) + len(input_ids)</code></p>
<p><a href="../glossary#attention-mask">What are attention masks?</a>`,name:"attention_mask"},{anchor:"transformers.ClvpDecoder.forward.token_type_ids",description:`<strong>token_type_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, input_ids_length)</code>, <em>optional</em>) &#x2014;
Segment token indices to indicate first and second portions of the inputs. Indices are selected in <code>[0, 1]</code>:</p>
<ul>
<li>0 corresponds to a <em>sentence A</em> token,</li>
<li>1 corresponds to a <em>sentence B</em> token.</li>
</ul>
<p><a href="../glossary#token-type-ids">What are token type IDs?</a>`,name:"token_type_ids"},{anchor:"transformers.ClvpDecoder.forward.position_ids",description:`<strong>position_ids</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, sequence_length)</code>, <em>optional</em>) &#x2014;
Indices of positions of each input sequence tokens in the position embeddings. Selected in the range <code>[0, config.max_position_embeddings - 1]</code>.</p>
<p><a href="../glossary#position-ids">What are position IDs?</a>`,name:"position_ids"},{anchor:"transformers.ClvpDecoder.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.ClvpDecoder.forward.inputs_embeds",description:`<strong>inputs_embeds</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, sequence_length, hidden_size)</code>, <em>optional</em>) &#x2014;
Optionally, instead of passing <code>input_ids</code> you can choose to directly pass an embedded representation. This
is useful if you want more control over how to convert <code>input_ids</code> indices into associated vectors than the
model&#x2019;s internal embedding lookup matrix.</p>
<p>If <code>past_key_values</code> is used, optionally only the last <code>inputs_embeds</code> have to be input (see
<code>past_key_values</code>).`,name:"inputs_embeds"},{anchor:"transformers.ClvpDecoder.forward.use_cache",description:`<strong>use_cache</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
If set to <code>True</code>, <code>past_key_values</code> key value states are returned and can be used to speed up decoding (see
<code>past_key_values</code>).`,name:"use_cache"},{anchor:"transformers.ClvpDecoder.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.ClvpDecoder.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.ClvpDecoder.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/ja/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/clvp/modeling_clvp.py#L1062"}}),_e=new ho({props:{$$slots:{default:[ga]},$$scope:{ctx:w}}}),ut=new sa({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/model_doc/clvp.md"}}),{c(){a=l("meta"),y=n(),p=l("p"),m=n(),f(C.$$.fragment),o=n(),f(M.$$.fragment),go=n(),Me=l("p"),Me.innerHTML=ls,_o=n(),Te=l("p"),Te.textContent=ds,vo=n(),ke=l("p"),ke.textContent=cs,bo=n(),we=l("p"),we.innerHTML=ps,Co=n(),f(xe.$$.fragment),yo=n(),$e=l("ol"),$e.innerHTML=ms,Mo=n(),f(je.$$.fragment),To=n(),Je=l("ul"),Je.innerHTML=fs,ko=n(),ze=l("p"),ze.textContent=us,wo=n(),f(Ee.$$.fragment),xo=n(),f(Ze.$$.fragment),$o=n(),E=l("div"),f(Fe.$$.fragment),Ao=n(),Ct=l("p"),Ct.innerHTML=hs,Ko=n(),yt=l("p"),yt.innerHTML=gs,en=n(),f(te.$$.fragment),tn=n(),oe=l("div"),f(Ie.$$.fragment),on=n(),Mt=l("p"),Mt.innerHTML=_s,jo=n(),f(Ue.$$.fragment),Jo=n(),B=l("div"),f(We.$$.fragment),nn=n(),Tt=l("p"),Tt.innerHTML=vs,sn=n(),kt=l("p"),kt.innerHTML=bs,an=n(),f(ne.$$.fragment),zo=n(),f(Be.$$.fragment),Eo=n(),Z=l("div"),f(Ge.$$.fragment),rn=n(),wt=l("p"),wt.innerHTML=Cs,ln=n(),xt=l("p"),xt.innerHTML=ys,dn=n(),$t=l("p"),$t.textContent=Ms,cn=n(),f(se.$$.fragment),Zo=n(),f(Ne.$$.fragment),Fo=n(),$=l("div"),f(Ve.$$.fragment),pn=n(),jt=l("p"),jt.textContent=Ts,mn=n(),Jt=l("p"),Jt.textContent=ks,fn=n(),f(ae.$$.fragment),un=n(),zt=l("p"),zt.innerHTML=ws,hn=n(),f(re.$$.fragment),gn=n(),Et=l("p"),Et.innerHTML=xs,_n=n(),Zt=l("div"),f(He.$$.fragment),Io=n(),f(Le.$$.fragment),Uo=n(),F=l("div"),f(De.$$.fragment),vn=n(),Ft=l("p"),Ft.textContent=$s,bn=n(),It=l("p"),It.innerHTML=js,Cn=n(),Ut=l("p"),Ut.innerHTML=Js,yn=n(),Y=l("div"),f(qe.$$.fragment),Mn=n(),Wt=l("p"),Wt.innerHTML=zs,Tn=n(),Bt=l("p"),Bt.innerHTML=Es,Wo=n(),f(Pe.$$.fragment),Bo=n(),z=l("div"),f(Xe.$$.fragment),kn=n(),Gt=l("p"),Gt.textContent=Zs,wn=n(),Nt=l("p"),Nt.innerHTML=Fs,xn=n(),ie=l("div"),f(Re.$$.fragment),$n=n(),Vt=l("p"),Vt.innerHTML=Is,jn=n(),le=l("div"),f(Ye.$$.fragment),Jn=n(),Ht=l("p"),Ht.innerHTML=Us,zn=n(),de=l("div"),f(Qe.$$.fragment),En=n(),Lt=l("p"),Lt.innerHTML=Ws,Go=n(),f(Se.$$.fragment),No=n(),j=l("div"),f(Oe.$$.fragment),Zn=n(),Dt=l("p"),Dt.innerHTML=Bs,Fn=n(),qt=l("p"),qt.innerHTML=Gs,In=n(),D=l("div"),f(Ae.$$.fragment),Un=n(),Pt=l("p"),Pt.innerHTML=Ns,Wn=n(),f(ce.$$.fragment),Bn=n(),f(pe.$$.fragment),Gn=n(),me=l("div"),f(Ke.$$.fragment),Nn=n(),Xt=l("p"),Xt.innerHTML=Vs,Vn=n(),Q=l("div"),f(et.$$.fragment),Hn=n(),Rt=l("p"),Rt.textContent=Hs,Ln=n(),f(fe.$$.fragment),Dn=n(),S=l("div"),f(tt.$$.fragment),qn=n(),Yt=l("p"),Yt.textContent=Ls,Pn=n(),f(ue.$$.fragment),Vo=n(),f(ot.$$.fragment),Ho=n(),G=l("div"),f(nt.$$.fragment),Xn=n(),Qt=l("p"),Qt.innerHTML=Ds,Rn=n(),St=l("p"),St.innerHTML=qs,Yn=n(),O=l("div"),f(st.$$.fragment),Qn=n(),Ot=l("p"),Ot.innerHTML=Ps,Sn=n(),f(he.$$.fragment),Lo=n(),f(at.$$.fragment),Do=n(),N=l("div"),f(rt.$$.fragment),On=n(),At=l("p"),At.innerHTML=Xs,An=n(),Kt=l("p"),Kt.innerHTML=Rs,Kn=n(),A=l("div"),f(it.$$.fragment),es=n(),eo=l("p"),eo.innerHTML=Ys,ts=n(),f(ge.$$.fragment),qo=n(),f(lt.$$.fragment),Po=n(),P=l("div"),f(dt.$$.fragment),os=n(),to=l("p"),to.innerHTML=Qs,ns=n(),oo=l("div"),f(ct.$$.fragment),Xo=n(),f(pt.$$.fragment),Ro=n(),X=l("div"),f(mt.$$.fragment),ss=n(),no=l("p"),no.innerHTML=Ss,as=n(),K=l("div"),f(ft.$$.fragment),rs=n(),so=l("p"),so.innerHTML=Os,is=n(),f(_e.$$.fragment),Yo=n(),f(ut.$$.fragment),Qo=n(),fo=l("p"),this.h()},l(e){const i=na("svelte-u9bgzb",document.head);a=d(i,"META",{name:!0,content:!0}),i.forEach(r),y=s(e),p=d(e,"P",{}),T(p).forEach(r),m=s(e),u(C.$$.fragment,e),o=s(e),u(M.$$.fragment,e),go=s(e),Me=d(e,"P",{"data-svelte-h":!0}),b(Me)!=="svelte-1vkb769"&&(Me.innerHTML=ls),_o=s(e),Te=d(e,"P",{"data-svelte-h":!0}),b(Te)!=="svelte-1cv3nri"&&(Te.textContent=ds),vo=s(e),ke=d(e,"P",{"data-svelte-h":!0}),b(ke)!=="svelte-13lsr2c"&&(ke.textContent=cs),bo=s(e),we=d(e,"P",{"data-svelte-h":!0}),b(we)!=="svelte-tx9g4t"&&(we.innerHTML=ps),Co=s(e),u(xe.$$.fragment,e),yo=s(e),$e=d(e,"OL",{"data-svelte-h":!0}),b($e)!=="svelte-14ad0v2"&&($e.innerHTML=ms),Mo=s(e),u(je.$$.fragment,e),To=s(e),Je=d(e,"UL",{"data-svelte-h":!0}),b(Je)!=="svelte-1wbrcek"&&(Je.innerHTML=fs),ko=s(e),ze=d(e,"P",{"data-svelte-h":!0}),b(ze)!=="svelte-lejk7v"&&(ze.textContent=us),wo=s(e),u(Ee.$$.fragment,e),xo=s(e),u(Ze.$$.fragment,e),$o=s(e),E=d(e,"DIV",{class:!0});var V=T(E);u(Fe.$$.fragment,V),Ao=s(V),Ct=d(V,"P",{"data-svelte-h":!0}),b(Ct)!=="svelte-m0pbua"&&(Ct.innerHTML=hs),Ko=s(V),yt=d(V,"P",{"data-svelte-h":!0}),b(yt)!=="svelte-1s6wgpv"&&(yt.innerHTML=gs),en=s(V),u(te.$$.fragment,V),tn=s(V),oe=d(V,"DIV",{class:!0});var ht=T(oe);u(Ie.$$.fragment,ht),on=s(ht),Mt=d(ht,"P",{"data-svelte-h":!0}),b(Mt)!=="svelte-1lwfa3h"&&(Mt.innerHTML=_s),ht.forEach(r),V.forEach(r),jo=s(e),u(Ue.$$.fragment,e),Jo=s(e),B=d(e,"DIV",{class:!0});var R=T(B);u(We.$$.fragment,R),nn=s(R),Tt=d(R,"P",{"data-svelte-h":!0}),b(Tt)!=="svelte-fwzy2n"&&(Tt.innerHTML=vs),sn=s(R),kt=d(R,"P",{"data-svelte-h":!0}),b(kt)!=="svelte-1s6wgpv"&&(kt.innerHTML=bs),an=s(R),u(ne.$$.fragment,R),R.forEach(r),zo=s(e),u(Be.$$.fragment,e),Eo=s(e),Z=d(e,"DIV",{class:!0});var H=T(Z);u(Ge.$$.fragment,H),rn=s(H),wt=d(H,"P",{"data-svelte-h":!0}),b(wt)!=="svelte-gwx5bz"&&(wt.innerHTML=Cs),ln=s(H),xt=d(H,"P",{"data-svelte-h":!0}),b(xt)!=="svelte-1s6wgpv"&&(xt.innerHTML=ys),dn=s(H),$t=d(H,"P",{"data-svelte-h":!0}),b($t)!=="svelte-18r2yl3"&&($t.textContent=Ms),cn=s(H),u(se.$$.fragment,H),H.forEach(r),Zo=s(e),u(Ne.$$.fragment,e),Fo=s(e),$=d(e,"DIV",{class:!0});var J=T($);u(Ve.$$.fragment,J),pn=s(J),jt=d(J,"P",{"data-svelte-h":!0}),b(jt)!=="svelte-dtdgzo"&&(jt.textContent=Ts),mn=s(J),Jt=d(J,"P",{"data-svelte-h":!0}),b(Jt)!=="svelte-1s077p3"&&(Jt.textContent=ks),fn=s(J),u(ae.$$.fragment,J),un=s(J),zt=d(J,"P",{"data-svelte-h":!0}),b(zt)!=="svelte-1jfcabo"&&(zt.innerHTML=ws),hn=s(J),u(re.$$.fragment,J),gn=s(J),Et=d(J,"P",{"data-svelte-h":!0}),b(Et)!=="svelte-rs9us"&&(Et.innerHTML=xs),_n=s(J),Zt=d(J,"DIV",{class:!0});var uo=T(Zt);u(He.$$.fragment,uo),uo.forEach(r),J.forEach(r),Io=s(e),u(Le.$$.fragment,e),Uo=s(e),F=d(e,"DIV",{class:!0});var L=T(F);u(De.$$.fragment,L),vn=s(L),Ft=d(L,"P",{"data-svelte-h":!0}),b(Ft)!=="svelte-4dw9vm"&&(Ft.textContent=$s),bn=s(L),It=d(L,"P",{"data-svelte-h":!0}),b(It)!=="svelte-fxahc3"&&(It.innerHTML=js),Cn=s(L),Ut=d(L,"P",{"data-svelte-h":!0}),b(Ut)!=="svelte-1z3w69"&&(Ut.innerHTML=Js),yn=s(L),Y=d(L,"DIV",{class:!0});var ee=T(Y);u(qe.$$.fragment,ee),Mn=s(ee),Wt=d(ee,"P",{"data-svelte-h":!0}),b(Wt)!=="svelte-3nm4pm"&&(Wt.innerHTML=zs),Tn=s(ee),Bt=d(ee,"P",{"data-svelte-h":!0}),b(Bt)!=="svelte-11lzm20"&&(Bt.innerHTML=Es),ee.forEach(r),L.forEach(r),Wo=s(e),u(Pe.$$.fragment,e),Bo=s(e),z=d(e,"DIV",{class:!0});var I=T(z);u(Xe.$$.fragment,I),kn=s(I),Gt=d(I,"P",{"data-svelte-h":!0}),b(Gt)!=="svelte-14s26xb"&&(Gt.textContent=Zs),wn=s(I),Nt=d(I,"P",{"data-svelte-h":!0}),b(Nt)!=="svelte-1tdgzmm"&&(Nt.innerHTML=Fs),xn=s(I),ie=d(I,"DIV",{class:!0});var gt=T(ie);u(Re.$$.fragment,gt),$n=s(gt),Vt=d(gt,"P",{"data-svelte-h":!0}),b(Vt)!=="svelte-158x16l"&&(Vt.innerHTML=Is),gt.forEach(r),jn=s(I),le=d(I,"DIV",{class:!0});var _t=T(le);u(Ye.$$.fragment,_t),Jn=s(_t),Ht=d(_t,"P",{"data-svelte-h":!0}),b(Ht)!=="svelte-1vxeh3q"&&(Ht.innerHTML=Us),_t.forEach(r),zn=s(I),de=d(I,"DIV",{class:!0});var vt=T(de);u(Qe.$$.fragment,vt),En=s(vt),Lt=d(vt,"P",{"data-svelte-h":!0}),b(Lt)!=="svelte-1rxho8g"&&(Lt.innerHTML=Ws),vt.forEach(r),I.forEach(r),Go=s(e),u(Se.$$.fragment,e),No=s(e),j=d(e,"DIV",{class:!0});var W=T(j);u(Oe.$$.fragment,W),Zn=s(W),Dt=d(W,"P",{"data-svelte-h":!0}),b(Dt)!=="svelte-1d7mucn"&&(Dt.innerHTML=Bs),Fn=s(W),qt=d(W,"P",{"data-svelte-h":!0}),b(qt)!=="svelte-hswkmf"&&(qt.innerHTML=Gs),In=s(W),D=d(W,"DIV",{class:!0});var ve=T(D);u(Ae.$$.fragment,ve),Un=s(ve),Pt=d(ve,"P",{"data-svelte-h":!0}),b(Pt)!=="svelte-1ldhcw2"&&(Pt.innerHTML=Ns),Wn=s(ve),u(ce.$$.fragment,ve),Bn=s(ve),u(pe.$$.fragment,ve),ve.forEach(r),Gn=s(W),me=d(W,"DIV",{class:!0});var Oo=T(me);u(Ke.$$.fragment,Oo),Nn=s(Oo),Xt=d(Oo,"P",{"data-svelte-h":!0}),b(Xt)!=="svelte-11sygp1"&&(Xt.innerHTML=Vs),Oo.forEach(r),Vn=s(W),Q=d(W,"DIV",{class:!0});var ao=T(Q);u(et.$$.fragment,ao),Hn=s(ao),Rt=d(ao,"P",{"data-svelte-h":!0}),b(Rt)!=="svelte-1gkgya2"&&(Rt.textContent=Hs),Ln=s(ao),u(fe.$$.fragment,ao),ao.forEach(r),Dn=s(W),S=d(W,"DIV",{class:!0});var ro=T(S);u(tt.$$.fragment,ro),qn=s(ro),Yt=d(ro,"P",{"data-svelte-h":!0}),b(Yt)!=="svelte-10cw2ku"&&(Yt.textContent=Ls),Pn=s(ro),u(ue.$$.fragment,ro),ro.forEach(r),W.forEach(r),Vo=s(e),u(ot.$$.fragment,e),Ho=s(e),G=d(e,"DIV",{class:!0});var be=T(G);u(nt.$$.fragment,be),Xn=s(be),Qt=d(be,"P",{"data-svelte-h":!0}),b(Qt)!=="svelte-1enahyf"&&(Qt.innerHTML=Ds),Rn=s(be),St=d(be,"P",{"data-svelte-h":!0}),b(St)!=="svelte-hswkmf"&&(St.innerHTML=qs),Yn=s(be),O=d(be,"DIV",{class:!0});var io=T(O);u(st.$$.fragment,io),Qn=s(io),Ot=d(io,"P",{"data-svelte-h":!0}),b(Ot)!=="svelte-htqi2a"&&(Ot.innerHTML=Ps),Sn=s(io),u(he.$$.fragment,io),io.forEach(r),be.forEach(r),Lo=s(e),u(at.$$.fragment,e),Do=s(e),N=d(e,"DIV",{class:!0});var Ce=T(N);u(rt.$$.fragment,Ce),On=s(Ce),At=d(Ce,"P",{"data-svelte-h":!0}),b(At)!=="svelte-5difk5"&&(At.innerHTML=Xs),An=s(Ce),Kt=d(Ce,"P",{"data-svelte-h":!0}),b(Kt)!=="svelte-hswkmf"&&(Kt.innerHTML=Rs),Kn=s(Ce),A=d(Ce,"DIV",{class:!0});var lo=T(A);u(it.$$.fragment,lo),es=s(lo),eo=d(lo,"P",{"data-svelte-h":!0}),b(eo)!=="svelte-1mtccw2"&&(eo.innerHTML=Ys),ts=s(lo),u(ge.$$.fragment,lo),lo.forEach(r),Ce.forEach(r),qo=s(e),u(lt.$$.fragment,e),Po=s(e),P=d(e,"DIV",{class:!0});var co=T(P);u(dt.$$.fragment,co),os=s(co),to=d(co,"P",{"data-svelte-h":!0}),b(to)!=="svelte-sugv3q"&&(to.innerHTML=Qs),ns=s(co),oo=d(co,"DIV",{class:!0});var As=T(oo);u(ct.$$.fragment,As),As.forEach(r),co.forEach(r),Xo=s(e),u(pt.$$.fragment,e),Ro=s(e),X=d(e,"DIV",{class:!0});var po=T(X);u(mt.$$.fragment,po),ss=s(po),no=d(po,"P",{"data-svelte-h":!0}),b(no)!=="svelte-1yztecs"&&(no.innerHTML=Ss),as=s(po),K=d(po,"DIV",{class:!0});var mo=T(K);u(ft.$$.fragment,mo),rs=s(mo),so=d(mo,"P",{"data-svelte-h":!0}),b(so)!=="svelte-1mijsxi"&&(so.innerHTML=Os),is=s(mo),u(_e.$$.fragment,mo),mo.forEach(r),po.forEach(r),Yo=s(e),u(ut.$$.fragment,e),Qo=s(e),fo=d(e,"P",{}),T(fo).forEach(r),this.h()},h(){k(a,"name","hf:doc:metadata"),k(a,"content",va),k(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Zt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(oo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(X,"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,i){t(document.head,a),c(e,y,i),c(e,p,i),c(e,m,i),h(C,e,i),c(e,o,i),h(M,e,i),c(e,go,i),c(e,Me,i),c(e,_o,i),c(e,Te,i),c(e,vo,i),c(e,ke,i),c(e,bo,i),c(e,we,i),c(e,Co,i),h(xe,e,i),c(e,yo,i),c(e,$e,i),c(e,Mo,i),h(je,e,i),c(e,To,i),c(e,Je,i),c(e,ko,i),c(e,ze,i),c(e,wo,i),h(Ee,e,i),c(e,xo,i),h(Ze,e,i),c(e,$o,i),c(e,E,i),h(Fe,E,null),t(E,Ao),t(E,Ct),t(E,Ko),t(E,yt),t(E,en),h(te,E,null),t(E,tn),t(E,oe),h(Ie,oe,null),t(oe,on),t(oe,Mt),c(e,jo,i),h(Ue,e,i),c(e,Jo,i),c(e,B,i),h(We,B,null),t(B,nn),t(B,Tt),t(B,sn),t(B,kt),t(B,an),h(ne,B,null),c(e,zo,i),h(Be,e,i),c(e,Eo,i),c(e,Z,i),h(Ge,Z,null),t(Z,rn),t(Z,wt),t(Z,ln),t(Z,xt),t(Z,dn),t(Z,$t),t(Z,cn),h(se,Z,null),c(e,Zo,i),h(Ne,e,i),c(e,Fo,i),c(e,$,i),h(Ve,$,null),t($,pn),t($,jt),t($,mn),t($,Jt),t($,fn),h(ae,$,null),t($,un),t($,zt),t($,hn),h(re,$,null),t($,gn),t($,Et),t($,_n),t($,Zt),h(He,Zt,null),c(e,Io,i),h(Le,e,i),c(e,Uo,i),c(e,F,i),h(De,F,null),t(F,vn),t(F,Ft),t(F,bn),t(F,It),t(F,Cn),t(F,Ut),t(F,yn),t(F,Y),h(qe,Y,null),t(Y,Mn),t(Y,Wt),t(Y,Tn),t(Y,Bt),c(e,Wo,i),h(Pe,e,i),c(e,Bo,i),c(e,z,i),h(Xe,z,null),t(z,kn),t(z,Gt),t(z,wn),t(z,Nt),t(z,xn),t(z,ie),h(Re,ie,null),t(ie,$n),t(ie,Vt),t(z,jn),t(z,le),h(Ye,le,null),t(le,Jn),t(le,Ht),t(z,zn),t(z,de),h(Qe,de,null),t(de,En),t(de,Lt),c(e,Go,i),h(Se,e,i),c(e,No,i),c(e,j,i),h(Oe,j,null),t(j,Zn),t(j,Dt),t(j,Fn),t(j,qt),t(j,In),t(j,D),h(Ae,D,null),t(D,Un),t(D,Pt),t(D,Wn),h(ce,D,null),t(D,Bn),h(pe,D,null),t(j,Gn),t(j,me),h(Ke,me,null),t(me,Nn),t(me,Xt),t(j,Vn),t(j,Q),h(et,Q,null),t(Q,Hn),t(Q,Rt),t(Q,Ln),h(fe,Q,null),t(j,Dn),t(j,S),h(tt,S,null),t(S,qn),t(S,Yt),t(S,Pn),h(ue,S,null),c(e,Vo,i),h(ot,e,i),c(e,Ho,i),c(e,G,i),h(nt,G,null),t(G,Xn),t(G,Qt),t(G,Rn),t(G,St),t(G,Yn),t(G,O),h(st,O,null),t(O,Qn),t(O,Ot),t(O,Sn),h(he,O,null),c(e,Lo,i),h(at,e,i),c(e,Do,i),c(e,N,i),h(rt,N,null),t(N,On),t(N,At),t(N,An),t(N,Kt),t(N,Kn),t(N,A),h(it,A,null),t(A,es),t(A,eo),t(A,ts),h(ge,A,null),c(e,qo,i),h(lt,e,i),c(e,Po,i),c(e,P,i),h(dt,P,null),t(P,os),t(P,to),t(P,ns),t(P,oo),h(ct,oo,null),c(e,Xo,i),h(pt,e,i),c(e,Ro,i),c(e,X,i),h(mt,X,null),t(X,ss),t(X,no),t(X,as),t(X,K),h(ft,K,null),t(K,rs),t(K,so),t(K,is),h(_e,K,null),c(e,Yo,i),h(ut,e,i),c(e,Qo,i),c(e,fo,i),So=!0},p(e,[i]){const V={};i&2&&(V.$$scope={dirty:i,ctx:e}),te.$set(V);const ht={};i&2&&(ht.$$scope={dirty:i,ctx:e}),ne.$set(ht);const R={};i&2&&(R.$$scope={dirty:i,ctx:e}),se.$set(R);const H={};i&2&&(H.$$scope={dirty:i,ctx:e}),ae.$set(H);const J={};i&2&&(J.$$scope={dirty:i,ctx:e}),re.$set(J);const uo={};i&2&&(uo.$$scope={dirty:i,ctx:e}),ce.$set(uo);const L={};i&2&&(L.$$scope={dirty:i,ctx:e}),pe.$set(L);const ee={};i&2&&(ee.$$scope={dirty:i,ctx:e}),fe.$set(ee);const I={};i&2&&(I.$$scope={dirty:i,ctx:e}),ue.$set(I);const gt={};i&2&&(gt.$$scope={dirty:i,ctx:e}),he.$set(gt);const _t={};i&2&&(_t.$$scope={dirty:i,ctx:e}),ge.$set(_t);const vt={};i&2&&(vt.$$scope={dirty:i,ctx:e}),_e.$set(vt)},i(e){So||(g(C.$$.fragment,e),g(M.$$.fragment,e),g(xe.$$.fragment,e),g(je.$$.fragment,e),g(Ee.$$.fragment,e),g(Ze.$$.fragment,e),g(Fe.$$.fragment,e),g(te.$$.fragment,e),g(Ie.$$.fragment,e),g(Ue.$$.fragment,e),g(We.$$.fragment,e),g(ne.$$.fragment,e),g(Be.$$.fragment,e),g(Ge.$$.fragment,e),g(se.$$.fragment,e),g(Ne.$$.fragment,e),g(Ve.$$.fragment,e),g(ae.$$.fragment,e),g(re.$$.fragment,e),g(He.$$.fragment,e),g(Le.$$.fragment,e),g(De.$$.fragment,e),g(qe.$$.fragment,e),g(Pe.$$.fragment,e),g(Xe.$$.fragment,e),g(Re.$$.fragment,e),g(Ye.$$.fragment,e),g(Qe.$$.fragment,e),g(Se.$$.fragment,e),g(Oe.$$.fragment,e),g(Ae.$$.fragment,e),g(ce.$$.fragment,e),g(pe.$$.fragment,e),g(Ke.$$.fragment,e),g(et.$$.fragment,e),g(fe.$$.fragment,e),g(tt.$$.fragment,e),g(ue.$$.fragment,e),g(ot.$$.fragment,e),g(nt.$$.fragment,e),g(st.$$.fragment,e),g(he.$$.fragment,e),g(at.$$.fragment,e),g(rt.$$.fragment,e),g(it.$$.fragment,e),g(ge.$$.fragment,e),g(lt.$$.fragment,e),g(dt.$$.fragment,e),g(ct.$$.fragment,e),g(pt.$$.fragment,e),g(mt.$$.fragment,e),g(ft.$$.fragment,e),g(_e.$$.fragment,e),g(ut.$$.fragment,e),So=!0)},o(e){_(C.$$.fragment,e),_(M.$$.fragment,e),_(xe.$$.fragment,e),_(je.$$.fragment,e),_(Ee.$$.fragment,e),_(Ze.$$.fragment,e),_(Fe.$$.fragment,e),_(te.$$.fragment,e),_(Ie.$$.fragment,e),_(Ue.$$.fragment,e),_(We.$$.fragment,e),_(ne.$$.fragment,e),_(Be.$$.fragment,e),_(Ge.$$.fragment,e),_(se.$$.fragment,e),_(Ne.$$.fragment,e),_(Ve.$$.fragment,e),_(ae.$$.fragment,e),_(re.$$.fragment,e),_(He.$$.fragment,e),_(Le.$$.fragment,e),_(De.$$.fragment,e),_(qe.$$.fragment,e),_(Pe.$$.fragment,e),_(Xe.$$.fragment,e),_(Re.$$.fragment,e),_(Ye.$$.fragment,e),_(Qe.$$.fragment,e),_(Se.$$.fragment,e),_(Oe.$$.fragment,e),_(Ae.$$.fragment,e),_(ce.$$.fragment,e),_(pe.$$.fragment,e),_(Ke.$$.fragment,e),_(et.$$.fragment,e),_(fe.$$.fragment,e),_(tt.$$.fragment,e),_(ue.$$.fragment,e),_(ot.$$.fragment,e),_(nt.$$.fragment,e),_(st.$$.fragment,e),_(he.$$.fragment,e),_(at.$$.fragment,e),_(rt.$$.fragment,e),_(it.$$.fragment,e),_(ge.$$.fragment,e),_(lt.$$.fragment,e),_(dt.$$.fragment,e),_(ct.$$.fragment,e),_(pt.$$.fragment,e),_(mt.$$.fragment,e),_(ft.$$.fragment,e),_(_e.$$.fragment,e),_(ut.$$.fragment,e),So=!1},d(e){e&&(r(y),r(p),r(m),r(o),r(go),r(Me),r(_o),r(Te),r(vo),r(ke),r(bo),r(we),r(Co),r(yo),r($e),r(Mo),r(To),r(Je),r(ko),r(ze),r(wo),r(xo),r($o),r(E),r(jo),r(Jo),r(B),r(zo),r(Eo),r(Z),r(Zo),r(Fo),r($),r(Io),r(Uo),r(F),r(Wo),r(Bo),r(z),r(Go),r(No),r(j),r(Vo),r(Ho),r(G),r(Lo),r(Do),r(N),r(qo),r(Po),r(P),r(Xo),r(Ro),r(X),r(Yo),r(Qo),r(fo)),r(a),v(C,e),v(M,e),v(xe,e),v(je,e),v(Ee,e),v(Ze,e),v(Fe),v(te),v(Ie),v(Ue,e),v(We),v(ne),v(Be,e),v(Ge),v(se),v(Ne,e),v(Ve),v(ae),v(re),v(He),v(Le,e),v(De),v(qe),v(Pe,e),v(Xe),v(Re),v(Ye),v(Qe),v(Se,e),v(Oe),v(Ae),v(ce),v(pe),v(Ke),v(et),v(fe),v(tt),v(ue),v(ot,e),v(nt),v(st),v(he),v(at,e),v(rt),v(it),v(ge),v(lt,e),v(dt),v(ct),v(pt,e),v(mt),v(ft),v(_e),v(ut,e)}}}const va='{"title":"CLVP","local":"clvp","sections":[{"title":"Overview","local":"overview","sections":[],"depth":2},{"title":"Usage tips","local":"usage-tips","sections":[],"depth":2},{"title":"Brief Explanation:","local":"brief-explanation","sections":[],"depth":2},{"title":"ClvpConfig","local":"transformers.ClvpConfig","sections":[],"depth":2},{"title":"ClvpEncoderConfig","local":"transformers.ClvpEncoderConfig","sections":[],"depth":2},{"title":"ClvpDecoderConfig","local":"transformers.ClvpDecoderConfig","sections":[],"depth":2},{"title":"ClvpTokenizer","local":"transformers.ClvpTokenizer","sections":[],"depth":2},{"title":"ClvpFeatureExtractor","local":"transformers.ClvpFeatureExtractor","sections":[],"depth":2},{"title":"ClvpProcessor","local":"transformers.ClvpProcessor","sections":[],"depth":2},{"title":"ClvpModelForConditionalGeneration","local":"transformers.ClvpModelForConditionalGeneration","sections":[],"depth":2},{"title":"ClvpForCausalLM","local":"transformers.ClvpForCausalLM","sections":[],"depth":2},{"title":"ClvpModel","local":"transformers.ClvpModel","sections":[],"depth":2},{"title":"ClvpEncoder","local":"transformers.ClvpEncoder","sections":[],"depth":2},{"title":"ClvpDecoder","local":"transformers.ClvpDecoder","sections":[],"depth":2}],"depth":1}';function ba(w){return ea(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $a extends ta{constructor(a){super(),oa(this,a,ba,_a,Ks,{})}}export{$a as component};
