Deployed 041eefc with MkDocs version: 1.3.0

This commit is contained in:
2022-07-13 18:25:37 +00:00
parent 664786d231
commit 27a5cb14bf
35 changed files with 121 additions and 111 deletions

View file

@ -408,7 +408,7 @@
<li class="md-nav__item">
<a href="../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>
@ -746,7 +746,7 @@
<h1 id="summarising-scientific-publications-from-a-tech-transfer-perspective">Summarising scientific publications from a tech-transfer perspective<a class="headerlink" href="#summarising-scientific-publications-from-a-tech-transfer-perspective" title="Permanent link">#</a></h1>
<p>This example shows how <code>great-ai</code> is used in practice at ScoutinScience. </p>
<div style="display: flex; justify-content: center;">
<p><a class="md-button md-button--primary" href="/docs/examples/scibert"><span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 2v2h1v14a4 4 0 0 0 4 4 4 4 0 0 0 4-4V4h1V2H7m4 14c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1m2-4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1m1-5h-4V4h4v3Z"/></svg></span> Check out the code</a></p>
<p><a class="md-button md-button--primary" href="https://github.com/schmelczer/great-ai/tree/main/docs/examples/scibert"><span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 2v2h1v14a4 4 0 0 0 4 4 4 4 0 0 0 4-4V4h1V2H7m4 14c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1m2-4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1m1-5h-4V4h4v3Z"/></svg></span> Check out the code</a></p>
</div>
<hr>

View file

@ -3,5 +3,5 @@
This example shows how `great-ai` is used in practice at ScoutinScience.
<div style="display: flex; justify-content: center;" markdown>
[:material-test-tube: Check out the code](/docs/examples/scibert){ .md-button .md-button--primary }
[:material-test-tube: Check out the code](https://github.com/schmelczer/great-ai/tree/main/docs/examples/scibert){ .md-button .md-button--primary }
</div>

View file

@ -403,7 +403,7 @@
<li class="md-nav__item">
<a href="../../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>

View file

@ -403,7 +403,7 @@
<li class="md-nav__item">
<a href="../../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>

View file

@ -403,7 +403,7 @@
<li class="md-nav__item">
<a href="../../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>

View file

@ -408,7 +408,7 @@
<li class="md-nav__item">
<a href="../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>

View file

@ -408,7 +408,7 @@
<li class="md-nav__item">
<a href="../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>

View file

@ -62,7 +62,7 @@
"\n",
"@GreatAI.create\n",
"@use_model(\"small-domain-prediction\", version=\"latest\")\n",
"@parameter(\"target_confidence\", validator=lambda c: 0 <= c <= 100)\n",
"@parameter(\"target_confidence\", validate=lambda c: 0 <= c <= 100)\n",
"def predict_domain(\n",
" text: str, model: Pipeline, target_confidence: int = 50\n",
") -> MultiLabelClassificationOutput:\n",

View file

@ -408,7 +408,7 @@
<li class="md-nav__item">
<a href="../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>
@ -1892,7 +1892,7 @@ Licensed under the Apache License, Version 2.0.
<span class="nd">@GreatAI</span><span class="o">.</span><span class="n">create</span>
<span class="nd">@use_model</span><span class="p">(</span><span class="s2">&quot;small-domain-prediction&quot;</span><span class="p">,</span> <span class="n">version</span><span class="o">=</span><span class="s2">&quot;latest&quot;</span><span class="p">)</span>
<span class="nd">@parameter</span><span class="p">(</span><span class="s2">&quot;target_confidence&quot;</span><span class="p">,</span> <span class="n">validator</span><span class="o">=</span><span class="k">lambda</span> <span class="n">c</span><span class="p">:</span> <span class="mi">0</span> <span class="o">&lt;=</span> <span class="n">c</span> <span class="o">&lt;=</span> <span class="mi">100</span><span class="p">)</span>
<span class="nd">@parameter</span><span class="p">(</span><span class="s2">&quot;target_confidence&quot;</span><span class="p">,</span> <span class="n">validate</span><span class="o">=</span><span class="k">lambda</span> <span class="n">c</span><span class="p">:</span> <span class="mi">0</span> <span class="o">&lt;=</span> <span class="n">c</span> <span class="o">&lt;=</span> <span class="mi">100</span><span class="p">)</span>
<span class="k">def</span> <span class="nf">predict_domain</span><span class="p">(</span>
<span class="n">text</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">model</span><span class="p">:</span> <span class="n">Pipeline</span><span class="p">,</span> <span class="n">target_confidence</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="mi">50</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">MultiLabelClassificationOutput</span><span class="p">:</span>
@ -1962,7 +1962,7 @@ from great_ai import (
@GreatAI.create
@use_model("small-domain-prediction", version="latest")
@parameter("target_confidence", validator=lambda c: 0 <= c <= 100)
@parameter("target_confidence", validate=lambda c: 0 <= c <= 100)
def predict_domain(
text: str, model: Pipeline, target_confidence: int = 50
) -> MultiLabelClassificationOutput:
@ -2255,7 +2255,7 @@ class="
<small>
Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">July 12, 2022</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">July 13, 2022</span>
</small>

View file

@ -408,7 +408,7 @@
<li class="md-nav__item">
<a href="../../../how-to-guides/use-service/" class="md-nav__link">
How to deploy a GreatAI service
How to perform prediction with GreatAI
</a>
</li>