import{s as He,o as Fe,n as Ze}from"../chunks/scheduler.4cd3e004.js";import{S as Ee,i as De,e as s,s as o,c as w,h as Oe,a as i,d as a,b as r,f as ce,g as L,j as p,k as fe,l as h,m as n,n as x,t as R,o as C,p as k}from"../chunks/index.b664cb2d.js";import{D as Ne}from"../chunks/Docstring.9ceb4334.js";import{C as We}from"../chunks/CodeBlock.8601e34e.js";import{E as qe}from"../chunks/ExampleCodeBlock.4f57b575.js";import{H as _e,E as ze}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.179b63f8.js";function Ve(I){let d,T="Example:",b,f,m;return f=new We({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvckNhdXNhbExNJTBBZnJvbSUyMHBlZnQlMjBpbXBvcnQlMjBSYW5kTG9yYUNvbmZpZyUyQyUyMGdldF9wZWZ0X21vZGVsJTBBJTBBYmFzZV9tb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvckNhdXNhbExNLmZyb21fcHJldHJhaW5lZCglMjJmYWNlYm9vayUyRm9wdC0xMjVtJTIyKSUwQWNvbmZpZyUyMCUzRCUyMFJhbmRMb3JhQ29uZmlnKHIlM0QzMiklMEFtb2RlbCUyMCUzRCUyMGdldF9wZWZ0X21vZGVsKGJhc2VfbW9kZWwlMkMlMjBjb25maWcp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForCausalLM
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> peft <span class="hljs-keyword">import</span> RandLoraConfig, get_peft_model

<span class="hljs-meta">&gt;&gt;&gt; </span>base_model = AutoModelForCausalLM.from_pretrained(<span class="hljs-string">&quot;facebook/opt-125m&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>config = RandLoraConfig(r=<span class="hljs-number">32</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>model = get_peft_model(base_model, config)`,wrap:!1}}),{c(){d=s("p"),d.textContent=T,b=o(),w(f.$$.fragment)},l(l){d=i(l,"P",{"data-svelte-h":!0}),p(d)!=="svelte-11lpom8"&&(d.textContent=T),b=r(l),L(f.$$.fragment,l)},m(l,u){n(l,d,u),n(l,b,u),x(f,l,u),m=!0},p:Ze,i(l){m||(R(f.$$.fragment,l),m=!0)},o(l){C(f.$$.fragment,l),m=!1},d(l){l&&(a(d),a(b)),k(f,l)}}}function Ge(I){let d,T,b,f,m,l,u,ve='<a href="https://huggingface.co/papers/2502.00987" rel="nofollow">RandLora</a> is a parameter-efficient fine-tuning technique that is similar to <a href="https://huggingface.co/papers/2106.09685" rel="nofollow">LoRA</a> and <a href="https://huggingface.co/papers/2310.11454" rel="nofollow">VeRA</a> but performs full rank updates to improve performance. RandLora can be particulary usefull when adapting large model to hard tasks that require complex updates while preserving the parameter efficiency of LoRA. The full rank update of RandLora is achieved by linearly scaling random bases. The random bases are a collection of multiple low rank matrices such that the summation of their ranks if greater or equal to the full rank of the parameter matrices. The trainable parameters of RandLora are two diagonal matrices (vectors) that get multiplied with the right hand low rank random bases, in a similar way to VeRA’s update. To maintain low memory usage, RandLora uses a custom function that prevents storing unnecessary bases in memory for backpropagation.',S,$,we="RandLora presents the noteworthy difference that contrary to other LoRA-like PEFT algorithm, increasing RandLora’s random base ranks increases the amount of trainable parameters. Because number of bases x bases rank is constant in RandLora, reducing the rank will increase the number of random bases, hence the number of base-specific trainable diagonal bases.",Q,M,Le="Because reducing the rank of RandLora’s random bases will increase their number, RandLora can become slower to train than LoRA for very small ranks where typically, ranks below 4 with result in a large training time increase. This does not affect inference though as the RandLora adapters can be merged into the pretrained weight matrices.",Y,U,xe='RandLora additionally supports training with sparse, ternary random bases (only containing -1, 0 and 1). These bases are as described in <a href="https://cs-people.bu.edu/evimaria/cs565/kdd-rp.pdf" rel="nofollow">Bingham et al.</a> and <a href="https://hastie.su.domains/Papers/Ping/KDD06_rp.pdf" rel="nofollow">Ping et al.</a> and could theoretically be used to reduce compute needs by performing aggregations instead of matrix multiplications to create the weight update. This is not currently supported. Although it does not currently reduce compute, using sparse random bases in RandLora can reduce overfitting in some cases. For users intersted in using sparse ternary bases, the <code>sparse</code> option is recommended over the <code>very_sparse</code> one that can reduce perfromance.',K,P,Re="Similarly to VeRA, when saving the RandLora’s parameters, it’s possible to eschew storing the low rank matrices by setting <code>save_projection=False</code> on the <code>VeraConfig</code>. In that case, these matrices will be restored based on the fixed random seed from the <code>projection_prng_key</code> argument. This cuts down on the size of the checkpoint, but we cannot guarantee reproducibility on all devices and for all future versions of PyTorch. If you want to ensure reproducibility, set <code>save_projection=True</code> (which is the default).",X,j,Ce="As in Vera and to handle different shapes of adapted layers, RandLora initializes shared A and B matrices with the largest required size for each dimension. During the forward pass, submatrices A and B for a given layer are sliced out from these shared matrices and used as described in the paper. For example, adapting two linear layers of shapes (100, 20) and (80, 50) will create A and B matrices of shapes (rank, 50) and (100, rank) respectively. Then, to adapt a layer of shape (100, 20), submatrices A and B of shapes (rank, 20) and (100, rank) will be extracted.",ee,A,ke="RandLora currently has the following constraint:",te,B,Te="<li>Only <code>nn.Linear</code> layers are supported.</li>",ae,N,$e="The abstract from the paper is:",ne,H,Me=`<p>Low-Rank Adaptation (LoRA) and its variants have shown impressive results in reducing the number of trainable parameters and memory requirements of large transformer networks while maintaining fine-tuning performance. The low-rank nature of the weight update inherently limits the representation power of fine-tuned models, however, thus potentially compromising performance on complex tasks. This raises a critical question: when a performance gap between LoRA and standard fine-tuning is observed, is it due to the reduced number of trainable parameters or the rank deficiency?
This paper aims to answer this question by introducing RandLora, a parameter-efficient method that performs full-rank updates using a learned linear combinations of low-rank, non-trainable random matrices. Our method limits the number of trainable parameters by restricting optimization to diagonal scaling matrices applied to the fixed random matrices. This allows us to effectively overcome the low-rank limitations while maintaining parameter and memory efficiency during training. Through extensive experimentation across vision, language, and vision-language benchmarks, we systematically evaluate the limitations of LoRA and existing random basis methods. Our findings reveal that full-rank updates are beneficial across vision and language tasks individually, and even more so for vision-language tasks, where RandLora significantly reduces---and sometimes eliminates---the performance gap between standard fine-tuning and LoRA, demonstrating its efficacy.</p>`,oe,F,re,g,Z,me,W,Ue='This is the configuration class to store the configuration of a <a href="/docs/peft/main/en/package_reference/randlora#peft.RandLoraModel">RandLoraModel</a>.',he,q,Pe='Paper: <a href="https://huggingface.co/papers/2502.00987" rel="nofollow">https://huggingface.co/papers/2502.00987</a>.',se,E,ie,c,D,ue,z,je="Creates a RandLoRA model from a pretrained transformers model.",ge,v,be,V,Ae="<strong>Attributes</strong>:",ye,G,Be='<li><strong>model</strong> (<a href="https://huggingface.co/docs/transformers/main/en/main_classes/model#transformers.PreTrainedModel" rel="nofollow">PreTrainedModel</a>) — The model to be adapted.</li> <li><strong>peft_config</strong> (<a href="/docs/peft/main/en/package_reference/randlora#peft.RandLoraConfig">RandLoraConfig</a>): The configuration of the RandLora model.</li>',le,O,de,J,pe;return m=new _e({props:{title:"RandLora: Full-rank parameter-efficient fine-tuning of large models",local:"randlora-full-rank-parameter-efficient-fine-tuning-of-large-models",headingTag:"h1"}}),F=new _e({props:{title:"RandLoraConfig",local:"peft.RandLoraConfig",headingTag:"h2"}}),Z=new Ne({props:{name:"class peft.RandLoraConfig",anchor:"peft.RandLoraConfig",parameters:[{name:"task_type",val:": Optional[Union[str, TaskType]] = None"},{name:"peft_type",val:": Optional[Union[str, PeftType]] = None"},{name:"auto_mapping",val:": Optional[dict] = None"},{name:"peft_version",val:": Optional[str] = None"},{name:"base_model_name_or_path",val:": Optional[str] = None"},{name:"revision",val:": Optional[str] = None"},{name:"inference_mode",val:": bool = False"},{name:"r",val:": int = 32"},{name:"target_modules",val:": typing.Union[list[str], str, NoneType] = None"},{name:"projection_prng_key",val:": int = 0"},{name:"save_projection",val:": bool = True"},{name:"sparse",val:": bool = False"},{name:"very_sparse",val:": bool = False"},{name:"randlora_dropout",val:": float = 0.0"},{name:"fan_in_fan_out",val:": bool = False"},{name:"randlora_alpha",val:": int = 640"},{name:"bias",val:": str = 'none'"},{name:"modules_to_save",val:": typing.Optional[list[str]] = None"},{name:"init_weights",val:": bool = True"},{name:"layers_to_transform",val:": typing.Union[list[int], int, NoneType] = None"},{name:"layers_pattern",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"peft.RandLoraConfig.r",description:`<strong>r</strong> (<code>int</code>, <em>optional</em>, defaults to <code>32</code>) &#x2014;
RandLora&#x2019;s random basis rank dimension. Contrary to Lora, this parameter is inversely proportional to the
amount of trainable parameters as reducing it increases trainable parameters.`,name:"r"},{anchor:"peft.RandLoraConfig.target_modules",description:`<strong>target_modules</strong> (<code>Union[list[str], str]</code>) &#x2014;
The names of the modules to apply RandLora to. Only linear layers are supported.`,name:"target_modules"},{anchor:"peft.RandLoraConfig.projection_prng_key",description:`<strong>projection_prng_key</strong> (<code>int</code>) &#x2014;
RandLora PRNG init key. Used for initialising basis_A and basis_B for new models or when loading a
checkpoint that did not include these projections. Defaults to <code>0</code>.`,name:"projection_prng_key"},{anchor:"peft.RandLoraConfig.save_projection",description:`<strong>save_projection</strong> (<code>bool</code>) &#x2014;
Whether to save the global basis_A / basis_B random basis in the state dict alongside per layer lambda /
gamma diagonal matrices. This will increase the size of the checkpoint, but guarantee that we can reload
the checkpoint on all system configurations. Defaults to <code>True</code>.`,name:"save_projection"},{anchor:"peft.RandLoraConfig.sparse",description:`<strong>sparse</strong> (<code>bool</code>) &#x2014;
Whether to use sparse random bases as described in the RandLora paper. The bases are ternary sparse bases
(only containing -1, 0 and 1) where the attribution probability is 1/6 for -1 and 1 and 2/3 for 0. These
sparse matrices aim to be used for matmul free computation in the future, see
<a href="https://huggingface.co/papers/2406.02528v1" rel="nofollow">https://huggingface.co/papers/2406.02528v1</a> The current implementation is a proof of concept however where
the sparseness is not used to improve speed or memory usage. Using sparse matrices typically does not
reduce performance and can even help reduce overfitting. Defaults to <code>False</code>.`,name:"sparse"},{anchor:"peft.RandLoraConfig.very_sparse",description:`<strong>very_sparse</strong> (<code>bool</code>) &#x2014;
Whether to use highly sparse random bases as described in the RandLora paper. The very sparse bases are
ternary sparse bases (only containing -1, 0 and 1) given a matrix with smallest dimension d, the
attribution probability is 1/&#x221A;D for -1 and 1 and 1- 2/&#x221A;D for 0. Using these sparse matrices can further
reduce overfitting over the <code>sparse</code> alternatives but will most likely decrease performance as a results.
Use carefully. Defaults to <code>False</code>.`,name:"very_sparse"},{anchor:"peft.RandLoraConfig.randlora_dropout",description:`<strong>randlora_dropout</strong> (<code>float</code>) &#x2014;
The dropout probability for RandLora layers.`,name:"randlora_dropout"},{anchor:"peft.RandLoraConfig.randlora_alpha",description:`<strong>randlora_alpha</strong> (<code>float</code>) &#x2014;
The scaling coefficient for RandLora layers, this would typically be 20 times the rank. Because the
<code>randlora_alpha</code> coefficient is large by default, it can lead to numerical instabilities especially when
learning rates are high. If training is unstable, consider reducing the learning rate or the
<code>randlora_alpha</code> coefficient.`,name:"randlora_alpha"},{anchor:"peft.RandLoraConfig.fan_in_fan_out",description:`<strong>fan_in_fan_out</strong> (<code>bool</code>) &#x2014;
Set this to True if the layer to replace stores weight like (fan_in, fan_out). For example, gpt-2 uses
<code>Conv1D</code> which stores weights like (fan_in, fan_out) and hence this should be set to <code>True</code>.`,name:"fan_in_fan_out"},{anchor:"peft.RandLoraConfig.bias",description:`<strong>bias</strong> (<code>str</code>) &#x2014;
Bias type. Can be &#x2018;none&#x2019;, &#x2018;all&#x2019; or &#x2018;randlora_only&#x2019;. If &#x2018;all&#x2019; or &#x2018;randlora_only&#x2019;, the corresponding biases
will be updated during training. Be aware that this means that, even when disabling the adapters, the model
will not produce the same output as the base model would have without adaptation.`,name:"bias"},{anchor:"peft.RandLoraConfig.modules_to_save",description:`<strong>modules_to_save</strong> (<code>list[str]</code>) &#x2014;
list of modules apart from RandLora layers to be set as trainable and saved in the final checkpoint.`,name:"modules_to_save"},{anchor:"peft.RandLoraConfig.init_weights",description:`<strong>init_weights</strong> (<code>bool</code>) &#x2014;
Whether to initialize the weights of the RandLora layers with their default initialization. Don&#x2019;t change
this setting, except if you know exactly what you&#x2019;re doing.`,name:"init_weights"},{anchor:"peft.RandLoraConfig.layers_to_transform",description:`<strong>layers_to_transform</strong> (<code>Union[list[int],int]</code>) &#x2014;
The layer indexes to transform, if this argument is specified, it will apply the RandLora transformations
on the layer indexes that are specified in this list. If a single integer is passed, it will apply the
RandLora transformations on the layer at this index.`,name:"layers_to_transform"},{anchor:"peft.RandLoraConfig.layers_pattern",description:`<strong>layers_pattern</strong> (<code>str</code>) &#x2014;
The layer pattern name, used only if <code>layers_to_transform</code> is different from <code>None</code> and if the layer
pattern is not in the common layers pattern.`,name:"layers_pattern"}],source:"https://github.com/huggingface/peft/blob/main/src/peft/tuners/randlora/config.py#L24"}}),E=new _e({props:{title:"RandLoraModel",local:"peft.RandLoraModel",headingTag:"h2"}}),D=new Ne({props:{name:"class peft.RandLoraModel",anchor:"peft.RandLoraModel",parameters:[{name:"model",val:""},{name:"peft_config",val:": Union[PeftConfig, dict[str, PeftConfig]]"},{name:"adapter_name",val:": str"},{name:"low_cpu_mem_usage",val:": bool = False"},{name:"state_dict",val:": Optional[dict[str, torch.Tensor]] = None"}],parametersDescription:[{anchor:"peft.RandLoraModel.model",description:'<strong>model</strong> (<a href="https://huggingface.co/docs/transformers/main/en/main_classes/model#transformers.PreTrainedModel" rel="nofollow">PreTrainedModel</a>) &#x2014; The model to be adapted.',name:"model"},{anchor:"peft.RandLoraModel.config",description:'<strong>config</strong> (<a href="/docs/peft/main/en/package_reference/randlora#peft.RandLoraConfig">RandLoraConfig</a>) &#x2014; The configuration of the RandLora model.',name:"config"},{anchor:"peft.RandLoraModel.adapter_name",description:"<strong>adapter_name</strong> (<code>str</code>) &#x2014; The name of the adapter, defaults to <code>&quot;default&quot;</code>.",name:"adapter_name"},{anchor:"peft.RandLoraModel.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <code>optional</code>, defaults to <code>False</code>) &#x2014;
Create empty adapter weights on meta device. Useful to speed up the loading process.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/peft/blob/main/src/peft/tuners/randlora/model.py#L67",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The RandLora model.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.nn.Module</code></p>
`}}),v=new qe({props:{anchor:"peft.RandLoraModel.example",$$slots:{default:[Ve]},$$scope:{ctx:I}}}),O=new ze({props:{source:"https://github.com/huggingface/peft/blob/main/docs/source/package_reference/randlora.md"}}),{c(){d=s("meta"),T=o(),b=s("p"),f=o(),w(m.$$.fragment),l=o(),u=s("p"),u.innerHTML=ve,S=o(),$=s("p"),$.textContent=we,Q=o(),M=s("p"),M.textContent=Le,Y=o(),U=s("p"),U.innerHTML=xe,K=o(),P=s("p"),P.innerHTML=Re,X=o(),j=s("p"),j.textContent=Ce,ee=o(),A=s("p"),A.textContent=ke,te=o(),B=s("ul"),B.innerHTML=Te,ae=o(),N=s("p"),N.textContent=$e,ne=o(),H=s("blockquote"),H.innerHTML=Me,oe=o(),w(F.$$.fragment),re=o(),g=s("div"),w(Z.$$.fragment),me=o(),W=s("p"),W.innerHTML=Ue,he=o(),q=s("p"),q.innerHTML=Pe,se=o(),w(E.$$.fragment),ie=o(),c=s("div"),w(D.$$.fragment),ue=o(),z=s("p"),z.textContent=je,ge=o(),w(v.$$.fragment),be=o(),V=s("p"),V.innerHTML=Ae,ye=o(),G=s("ul"),G.innerHTML=Be,le=o(),w(O.$$.fragment),de=o(),J=s("p"),this.h()},l(e){const t=Oe("svelte-u9bgzb",document.head);d=i(t,"META",{name:!0,content:!0}),t.forEach(a),T=r(e),b=i(e,"P",{}),ce(b).forEach(a),f=r(e),L(m.$$.fragment,e),l=r(e),u=i(e,"P",{"data-svelte-h":!0}),p(u)!=="svelte-gte93s"&&(u.innerHTML=ve),S=r(e),$=i(e,"P",{"data-svelte-h":!0}),p($)!=="svelte-cfxky3"&&($.textContent=we),Q=r(e),M=i(e,"P",{"data-svelte-h":!0}),p(M)!=="svelte-19fx7od"&&(M.textContent=Le),Y=r(e),U=i(e,"P",{"data-svelte-h":!0}),p(U)!=="svelte-1vop222"&&(U.innerHTML=xe),K=r(e),P=i(e,"P",{"data-svelte-h":!0}),p(P)!=="svelte-a8gpp"&&(P.innerHTML=Re),X=r(e),j=i(e,"P",{"data-svelte-h":!0}),p(j)!=="svelte-l4t88u"&&(j.textContent=Ce),ee=r(e),A=i(e,"P",{"data-svelte-h":!0}),p(A)!=="svelte-87o406"&&(A.textContent=ke),te=r(e),B=i(e,"UL",{"data-svelte-h":!0}),p(B)!=="svelte-18w7elh"&&(B.innerHTML=Te),ae=r(e),N=i(e,"P",{"data-svelte-h":!0}),p(N)!=="svelte-1cwsb16"&&(N.textContent=$e),ne=r(e),H=i(e,"BLOCKQUOTE",{"data-svelte-h":!0}),p(H)!=="svelte-p2gyd1"&&(H.innerHTML=Me),oe=r(e),L(F.$$.fragment,e),re=r(e),g=i(e,"DIV",{class:!0});var _=ce(g);L(Z.$$.fragment,_),me=r(_),W=i(_,"P",{"data-svelte-h":!0}),p(W)!=="svelte-53axiy"&&(W.innerHTML=Ue),he=r(_),q=i(_,"P",{"data-svelte-h":!0}),p(q)!=="svelte-ilfw0f"&&(q.innerHTML=Pe),_.forEach(a),se=r(e),L(E.$$.fragment,e),ie=r(e),c=i(e,"DIV",{class:!0});var y=ce(c);L(D.$$.fragment,y),ue=r(y),z=i(y,"P",{"data-svelte-h":!0}),p(z)!=="svelte-13itvs0"&&(z.textContent=je),ge=r(y),L(v.$$.fragment,y),be=r(y),V=i(y,"P",{"data-svelte-h":!0}),p(V)!=="svelte-1xx6nm4"&&(V.innerHTML=Ae),ye=r(y),G=i(y,"UL",{"data-svelte-h":!0}),p(G)!=="svelte-l8l6mm"&&(G.innerHTML=Be),y.forEach(a),le=r(e),L(O.$$.fragment,e),de=r(e),J=i(e,"P",{}),ce(J).forEach(a),this.h()},h(){fe(d,"name","hf:doc:metadata"),fe(d,"content",Je),fe(g,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),fe(c,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){h(document.head,d),n(e,T,t),n(e,b,t),n(e,f,t),x(m,e,t),n(e,l,t),n(e,u,t),n(e,S,t),n(e,$,t),n(e,Q,t),n(e,M,t),n(e,Y,t),n(e,U,t),n(e,K,t),n(e,P,t),n(e,X,t),n(e,j,t),n(e,ee,t),n(e,A,t),n(e,te,t),n(e,B,t),n(e,ae,t),n(e,N,t),n(e,ne,t),n(e,H,t),n(e,oe,t),x(F,e,t),n(e,re,t),n(e,g,t),x(Z,g,null),h(g,me),h(g,W),h(g,he),h(g,q),n(e,se,t),x(E,e,t),n(e,ie,t),n(e,c,t),x(D,c,null),h(c,ue),h(c,z),h(c,ge),x(v,c,null),h(c,be),h(c,V),h(c,ye),h(c,G),n(e,le,t),x(O,e,t),n(e,de,t),n(e,J,t),pe=!0},p(e,[t]){const _={};t&2&&(_.$$scope={dirty:t,ctx:e}),v.$set(_)},i(e){pe||(R(m.$$.fragment,e),R(F.$$.fragment,e),R(Z.$$.fragment,e),R(E.$$.fragment,e),R(D.$$.fragment,e),R(v.$$.fragment,e),R(O.$$.fragment,e),pe=!0)},o(e){C(m.$$.fragment,e),C(F.$$.fragment,e),C(Z.$$.fragment,e),C(E.$$.fragment,e),C(D.$$.fragment,e),C(v.$$.fragment,e),C(O.$$.fragment,e),pe=!1},d(e){e&&(a(T),a(b),a(f),a(l),a(u),a(S),a($),a(Q),a(M),a(Y),a(U),a(K),a(P),a(X),a(j),a(ee),a(A),a(te),a(B),a(ae),a(N),a(ne),a(H),a(oe),a(re),a(g),a(se),a(ie),a(c),a(le),a(de),a(J)),a(d),k(m,e),k(F,e),k(Z),k(E,e),k(D),k(v),k(O,e)}}}const Je='{"title":"RandLora: Full-rank parameter-efficient fine-tuning of large models","local":"randlora-full-rank-parameter-efficient-fine-tuning-of-large-models","sections":[{"title":"RandLoraConfig","local":"peft.RandLoraConfig","sections":[],"depth":2},{"title":"RandLoraModel","local":"peft.RandLoraModel","sections":[],"depth":2}],"depth":1}';function Ie(I){return Fe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class tt extends Ee{constructor(d){super(),De(this,d,Ie,Ge,He,{})}}export{tt as component};
