Skip to content

Commit 18234e8

Browse files
author
Quarto GHA Workflow Runner
committed
Built site for gh-pages
1 parent 55c32e4 commit 18234e8

16 files changed

Lines changed: 500 additions & 507 deletions

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9fb35dd7
1+
e810ecfe

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ <h3 class="anchored" data-anchor-id="remote-llms">Remote LLMs</h3>
478478
<span id="cb11-6"><a href="#cb11-6" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; </span></span>
479479
<span id="cb11-7"><a href="#cb11-7" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; ── mall session object </span></span>
480480
<span id="cb11-8"><a href="#cb11-8" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; Backend: ellmerLLM session: model:gpt-4.1R session:</span></span>
481-
<span id="cb11-9"><a href="#cb11-9" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; cache_folder:/var/folders/y_/f_0cx_291nl0s8h26t4jg6ch0000gp/T//RtmpBMwtSu/_mall_cache41d836dbb0bd</span></span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
481+
<span id="cb11-9"><a href="#cb11-9" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; cache_folder:/var/folders/y_/f_0cx_291nl0s8h26t4jg6ch0000gp/T//Rtmp3QBP0k/_mall_cacheba32194ad73e</span></span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
482482
</div></li>
483483
</ul>
484484
<p><strong>Set a default LLM for your R session</strong></p>
@@ -605,7 +605,7 @@ <h3 class="anchored" data-anchor-id="sentiment">Sentiment</h3>
605605
</tr>
606606
<tr class="odd">
607607
<td>"Not sure how to feel about my new washing machine. Great color, but hard to figure"</td>
608-
<td>"positive"</td>
608+
<td>"negative"</td>
609609
</tr>
610610
</tbody>
611611
</table>
@@ -652,15 +652,15 @@ <h3 class="anchored" data-anchor-id="summarize">Summarize</h3>
652652
<tbody>
653653
<tr class="odd">
654654
<td>"This has been the best TV I've ever used. Great screen, and sound."</td>
655-
<td>"best tv i've ever had"</td>
655+
<td>"most recommended tv on market"</td>
656656
</tr>
657657
<tr class="even">
658658
<td>"I regret buying this laptop. It is too slow and the keyboard is too noisy"</td>
659-
<td>"it's not the best purchase"</td>
659+
<td>"laptop purchase was not good"</td>
660660
</tr>
661661
<tr class="odd">
662662
<td>"Not sure how to feel about my new washing machine. Great color, but hard to figure"</td>
663-
<td>"uncertain about its features"</td>
663+
<td>"having mixed emotions about it"</td>
664664
</tr>
665665
</tbody>
666666
</table>
@@ -872,15 +872,15 @@ <h3 class="anchored" data-anchor-id="translate">Translate</h3>
872872
<tbody>
873873
<tr class="odd">
874874
<td>"This has been the best TV I've ever used. Great screen, and sound."</td>
875-
<td>"Esta ha sido la mejor televisión que he utilizado hasta ahora. Gran pantalla y sonido."</td>
875+
<td>"Esta ha sido la mejor TV que he utilizado. Gran pantalla y sonido."</td>
876876
</tr>
877877
<tr class="even">
878878
<td>"I regret buying this laptop. It is too slow and the keyboard is too noisy"</td>
879-
<td>"Me arrepiento de comprar este portátil. Es demasiado lento y la tecla es muy ruidosa."</td>
879+
<td>"Lo lamento comprar este portátil. Está demasiado lento y la tecla de envío es demasiado ruidosa."</td>
880880
</tr>
881881
<tr class="odd">
882882
<td>"Not sure how to feel about my new washing machine. Great color, but hard to figure"</td>
883-
<td>"No estoy seguro de como me siento con mi nueva lavadora. Gran color, pero muy difícil de entender"</td>
883+
<td>"No estoy seguro de cómo me siento sobre mi nueva lavadora. Una gran coloración, pero difícil de ente…</td>
884884
</tr>
885885
</tbody>
886886
</table>
@@ -1084,7 +1084,7 @@ <h2 class="anchored" data-anchor-id="vector-functions">Vector functions</h2>
10841084
</div>
10851085
<div class="cell">
10861086
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb43"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb43-1"><a href="#cb43-1" aria-hidden="true" tabindex="-1"></a>llm.translate([<span class="st">"Este es el mejor dia!"</span>], <span class="st">"english"</span>)</span>
1087-
<span id="cb43-2"><a href="#cb43-2" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; ["It's my favorite day!"]</span></span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
1087+
<span id="cb43-2"><a href="#cb43-2" aria-hidden="true" tabindex="-1"></a><span class="co">#&gt; ['This is the best day!']</span></span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
10881088
</div>
10891089
<p>For more information visit the reference page: <a href="./reference/LLMVec.html">LLMVec</a></p>
10901090
</div>

reference/LlmVec.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -383,13 +383,13 @@ <h1 class="title">LLMVec</h1>
383383

384384
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>LLMVec(backend<span class="op">=</span><span class="st">''</span>, model<span class="op">=</span><span class="st">''</span>, _cache<span class="op">=</span><span class="st">'_mall_cache'</span>, <span class="op">**</span>kwargs)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
385385
<p>Class that adds ability to use an LLM to run batch predictions</p>
386-
<div id="10cc4851" class="cell" data-execution_count="1">
386+
<div id="f1427384" class="cell" data-execution_count="1">
387387
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> chatlas <span class="im">import</span> ChatOllama</span>
388388
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> mall <span class="im">import</span> LLMVec</span>
389389
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a></span>
390390
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a>chat <span class="op">=</span> ChatOllama(model <span class="op">=</span> <span class="st">"llama3.2"</span>)</span>
391391
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a></span>
392-
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a>llm <span class="op">=</span> LLMVec(chat) </span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
392+
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a>llm <span class="op">=</span> LLMVec(chat)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
393393
</div>
394394
<section id="methods" class="level2">
395395
<h2 class="anchored" data-anchor-id="methods">Methods</h2>
@@ -476,7 +476,7 @@ <h4 class="doc-section doc-section-parameters anchored" data-anchor-id="paramete
476476
</section>
477477
<section id="examples" class="level4 doc-section doc-section-examples">
478478
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples">Examples</h4>
479-
<div id="4ba7e38f" class="cell" data-execution_count="2">
479+
<div id="0b5c8664" class="cell" data-execution_count="2">
480480
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a>llm.classify([<span class="st">'this is important!'</span>, <span class="st">'there is no rush'</span>], [<span class="st">'urgent'</span>, <span class="st">'not urgent'</span>])</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
481481
<div class="cell-output cell-output-display" data-execution_count="2">
482482
<pre><code>['urgent', None]</code></pre>
@@ -567,10 +567,10 @@ <h4 class="doc-section doc-section-parameters anchored" data-anchor-id="paramete
567567
</section>
568568
<section id="examples-1" class="level4 doc-section doc-section-examples">
569569
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-1">Examples</h4>
570-
<div id="20409930" class="cell" data-execution_count="3">
570+
<div id="577fc783" class="cell" data-execution_count="3">
571571
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb8"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a>llm.extract([<span class="st">'bob smith, 123 3rd street'</span>], labels<span class="op">=</span>[<span class="st">'name'</span>, <span class="st">'address'</span>])</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
572572
<div class="cell-output cell-output-display" data-execution_count="3">
573-
<pre><code>['| bob smith | 123 3rd street |']</code></pre>
573+
<pre><code>['bob smith | 123 third street']</code></pre>
574574
</div>
575575
</div>
576576
</section>
@@ -620,7 +620,7 @@ <h4 class="doc-section doc-section-parameters anchored" data-anchor-id="paramete
620620
</section>
621621
<section id="examples-2" class="level4 doc-section doc-section-examples">
622622
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-2">Examples</h4>
623-
<div id="5e8c79bf" class="cell" data-execution_count="4">
623+
<div id="0e43aa9f" class="cell" data-execution_count="4">
624624
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb11"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a>llm.sentiment([<span class="st">'I am happy'</span>, <span class="st">'I am sad'</span>])</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
625625
<div class="cell-output cell-output-display" data-execution_count="4">
626626
<pre><code>['positive', 'negative']</code></pre>
@@ -673,10 +673,10 @@ <h4 class="doc-section doc-section-parameters anchored" data-anchor-id="paramete
673673
</section>
674674
<section id="examples-3" class="level4 doc-section doc-section-examples">
675675
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-3">Examples</h4>
676-
<div id="8193f782" class="cell" data-execution_count="5">
676+
<div id="5be673d7" class="cell" data-execution_count="5">
677677
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb14"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb14-1"><a href="#cb14-1" aria-hidden="true" tabindex="-1"></a>llm.summarize([<span class="st">'This has been the best TV Ive ever used. Great screen, and sound.'</span>], max_words <span class="op">=</span> <span class="dv">5</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
678678
<div class="cell-output cell-output-display" data-execution_count="5">
679-
<pre><code>['this tv has exceeded expectations']</code></pre>
679+
<pre><code>['best tv buying experience ever']</code></pre>
680680
</div>
681681
</div>
682682
</section>
@@ -726,10 +726,10 @@ <h4 class="doc-section doc-section-parameters anchored" data-anchor-id="paramete
726726
</section>
727727
<section id="examples-4" class="level4 doc-section doc-section-examples">
728728
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-4">Examples</h4>
729-
<div id="d10ccd11" class="cell" data-execution_count="6">
729+
<div id="8a22516d" class="cell" data-execution_count="6">
730730
<div class="code-copy-outer-scaffold"><div class="sourceCode cell-code" id="cb17"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb17-1"><a href="#cb17-1" aria-hidden="true" tabindex="-1"></a>llm.translate([<span class="st">'This has been the best TV Ive ever used. Great screen, and sound.'</span>], language <span class="op">=</span> <span class="st">'spanish'</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
731731
<div class="cell-output cell-output-display" data-execution_count="6">
732-
<pre><code>['Esto ha sido la mejor televisión que he tenido, gran pantalla y sonido.']</code></pre>
732+
<pre><code>['Esta ha sido la mejor TV que he utilizado. Gran pantalla y sonido.']</code></pre>
733733
</div>
734734
</div>
735735
</section>

0 commit comments

Comments
 (0)