You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -761,20 +760,6 @@ <h1>Source code for torchtune.modules.peft._utils</h1><div class="highlight"><pr
761
760
<spanclass="k">raise</span><spanclass="ne">AssertionError</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"Missing LoRA key </span><spanclass="si">{</span><spanclass="n">k</span><spanclass="si">}</span><spanclass="s2"> from adapter state dict"</span><spanclass="p">)</span>
<spanclass="n">msg</span><spanclass="o">=</span><spanclass="s2">"load_dora_magnitudes will be deprecated in 0.6.0. Please use DoRALinear.initialize_dora_magnitude instead."</span>
<dt>Let’s modify <codeclass="docutils literal notranslate"><spanclass="pre">custom_generation_config.yaml</span></code> to include the following changes. Again, you only need</dt><dd><p>to replace two fields: <codeclass="docutils literal notranslate"><spanclass="pre">output_dir</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">checkpoint_files</span></code></p>
<spanclass="nt">temperature</span><spanclass="p">:</span><spanclass="w"></span><spanclass="l l-Scalar l-Scalar-Plain">0.6</span><spanclass="w"></span><spanclass="c1"># 0.8 and 0.6 are popular values to try</span>
@@ -760,7 +762,7 @@ <h3>Generate some output<a class="headerlink" href="#generate-some-output" title
760
762
<codeclass="docutils literal notranslate"><spanclass="pre">temperature=0.8</span></code>. These parameters control how the probabilities for
761
763
sampling are computed. We recommend inspecting the model with these before playing around with
762
764
these parameters.</p>
763
-
<divclass="highlight-text notranslate"><divclass="highlight"><pre><span></span>$ tune run generate --config ./custom_generation_config.yaml prompt="tell me a joke. "
765
+
<divclass="highlight-text notranslate"><divclass="highlight"><pre><span></span>$ tune run generate --config ./custom_generation_config.yaml prompt.user="Tell me a joke. "
0 commit comments