Skip to content

Commit

Permalink
Deployed 1ebc7d7 to master with MkDocs 1.6.1 and mike 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Nov 15, 2024
1 parent 3b3f599 commit add6205
Show file tree
Hide file tree
Showing 101 changed files with 303 additions and 303 deletions.
6 changes: 3 additions & 3 deletions master/assets/overrides/partials/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css"
data-theme="https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css"
data-lang="en"
crossorigin="anonymous"
async>
Expand All @@ -25,8 +25,8 @@ <h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate"
? "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_dark.css"
: "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css"
? "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_dark.css"
: "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css"

// Instruct Giscus to set theme
giscus.setAttribute("data-theme", theme)
Expand Down
6 changes: 3 additions & 3 deletions master/concepts/inference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@

<span class="c1"># Accumulate in chunks of fragments, in the case of parquet datasets</span>
<span class="n">lengths</span> <span class="o">=</span> <span class="n">data</span><span class="o">.</span><span class="n"><html><head></head><body><a class="discrete-link" href="#edsnlp.core.stream.Stream.map_batches">map_batches</a></body></html></span><span class="p">(</span><span class="nb">len</span><span class="p">,</span> <span class="n">batch_size</span><span class="o">=</span><span class="s2">"fragments"</span><span class="p">)</span>
</code></pre></div> <p>Note that these batch functions are only available under specific conditions:</p> <ul> <li>either <code>backend="simple"</code> or <code>deterministic=True</code> (default) if <code>backend="multiprocessing"</code>, otherwise elements might be processed out of order</li> <li>if every op before was elementwise (e.g. <code>map()</code>, <code>map_gpu()</code>, <code>map_pipeline()</code> and no generator function), or <code>sentinel_mode</code> was explicitly set to <code>"split"</code> in <code>map_batches()</code>, otherwise the sentinel are dropped by default when the user requires batching.</li> </ul> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</code></pre></div> <p>Note that these batch functions are only available under specific conditions:</p> <ul> <li>either <code>backend="simple"</code> or <code>deterministic=True</code> (default) if <code>backend="multiprocessing"</code>, otherwise elements might be processed out of order</li> <li>if every op before was elementwise (e.g. <code>map()</code>, <code>map_gpu()</code>, <code>map_pipeline()</code> and no generator function), or <code>sentinel_mode</code> was explicitly set to <code>"split"</code> in <code>map_batches()</code>, otherwise the sentinel are dropped by default when the user requires batching.</li> </ul> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</script> <script>
var giscus = document.querySelector("script[src*=giscus]")

// Set palette on initial load
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate"
? "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_dark.css"
: "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css"
? "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_dark.css"
: "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css"

// Instruct Giscus to set theme
giscus.setAttribute("data-theme", theme)
Expand Down
6 changes: 3 additions & 3 deletions master/concepts/pipeline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@
<span class="n">description</span><span class="o">=</span><span class="s2">"A short description of your package"</span><span class="p">,</span>
<span class="p">),</span>
<span class="p">)</span>
</code></pre></div> <p>This will create a wheel file in the root_dir/dist folder, which you can share and install with pip.</p> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</code></pre></div> <p>This will create a wheel file in the root_dir/dist folder, which you can share and install with pip.</p> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</script> <script>
var giscus = document.querySelector("script[src*=giscus]")

// Set palette on initial load
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate"
? "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_dark.css"
: "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css"
? "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_dark.css"
: "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css"

// Instruct Giscus to set theme
giscus.setAttribute("data-theme", theme)
Expand Down
6 changes: 3 additions & 3 deletions master/concepts/torch-component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,16 @@
<span class="sd"> """</span>
<span class="o">...</span>
<span class="k">return</span> <span class="n">docs</span>
</code></pre></div> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</code></pre></div> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</script> <script>
var giscus = document.querySelector("script[src*=giscus]")

// Set palette on initial load
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate"
? "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_dark.css"
: "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css"
? "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_dark.css"
: "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css"

// Instruct Giscus to set theme
giscus.setAttribute("data-theme", theme)
Expand Down
6 changes: 3 additions & 3 deletions master/data/converters/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,16 @@
<span class="w"> </span><span class="nt">"certainty"</span><span class="p">:</span><span class="w"> </span><span class="s2">"probable"</span>
<span class="w"> </span><span class="err">...</span>
<span class="p">}</span>
</code></pre></div> <div class="doc doc-object doc-class"> <div class="doc doc-contents first"> <h4 id="edsnlp.data.converters.EntsDoc2DictConverter--parameters">Parameters</h4> <table> <thead> <tr> <th><b>PARAMETER</b></th> <th><b>DESCRIPTION</b></th> </tr> </thead> <tbody> <tr> <td><code>span_getter</code></td> <td class="doc-param-details"> <p>The span getter to use when getting the spans from the documents. Defaults to getting the spans in the <code>ents</code> attribute.</p> <p> <span class="doc-param-annotation"> <b>TYPE:</b> <code><a class="autorefs autorefs-internal" href="../../reference/edsnlp/utils/span_getters/#edsnlp.utils.span_getters.SpanGetterArg" title="edsnlp.utils.span_getters.SpanGetterArg">SpanGetterArg</a></code> </span> <span class="doc-param-default"> <b>DEFAULT:</b> <code>{'ents': True}</code> </span> </p> </td> </tr> <tr> <td><code>doc_attributes</code></td> <td class="doc-param-details"> <p>Mapping from Doc extensions to JSON attributes (can be a list too). By default, no doc attribute is exported, except <code>note_id</code>.</p> <p> <span class="doc-param-annotation"> <b>TYPE:</b> <code><a class="autorefs autorefs-internal" href="../../reference/edsnlp/data/converters/#edsnlp.data.converters.AttributesMappingArg" title="edsnlp.data.converters.AttributesMappingArg">AttributesMappingArg</a></code> </span> <span class="doc-param-default"> <b>DEFAULT:</b> <code>{}</code> </span> </p> </td> </tr> <tr> <td><code>span_attributes</code></td> <td class="doc-param-details"> <p>Mapping from Span extensions to JSON attributes (can be a list too). By default, no attribute is exported.</p> <p> <span class="doc-param-annotation"> <b>TYPE:</b> <code><a class="autorefs autorefs-internal" href="../../reference/edsnlp/data/converters/#edsnlp.data.converters.AttributesMappingArg" title="edsnlp.data.converters.AttributesMappingArg">AttributesMappingArg</a></code> </span> <span class="doc-param-default"> <b>DEFAULT:</b> <code>{}</code> </span> </p> </td> </tr> </tbody> </table> <div class="doc doc-children"> </div> </div> </div> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</code></pre></div> <div class="doc doc-object doc-class"> <div class="doc doc-contents first"> <h4 id="edsnlp.data.converters.EntsDoc2DictConverter--parameters">Parameters</h4> <table> <thead> <tr> <th><b>PARAMETER</b></th> <th><b>DESCRIPTION</b></th> </tr> </thead> <tbody> <tr> <td><code>span_getter</code></td> <td class="doc-param-details"> <p>The span getter to use when getting the spans from the documents. Defaults to getting the spans in the <code>ents</code> attribute.</p> <p> <span class="doc-param-annotation"> <b>TYPE:</b> <code><a class="autorefs autorefs-internal" href="../../reference/edsnlp/utils/span_getters/#edsnlp.utils.span_getters.SpanGetterArg" title="edsnlp.utils.span_getters.SpanGetterArg">SpanGetterArg</a></code> </span> <span class="doc-param-default"> <b>DEFAULT:</b> <code>{'ents': True}</code> </span> </p> </td> </tr> <tr> <td><code>doc_attributes</code></td> <td class="doc-param-details"> <p>Mapping from Doc extensions to JSON attributes (can be a list too). By default, no doc attribute is exported, except <code>note_id</code>.</p> <p> <span class="doc-param-annotation"> <b>TYPE:</b> <code><a class="autorefs autorefs-internal" href="../../reference/edsnlp/data/converters/#edsnlp.data.converters.AttributesMappingArg" title="edsnlp.data.converters.AttributesMappingArg">AttributesMappingArg</a></code> </span> <span class="doc-param-default"> <b>DEFAULT:</b> <code>{}</code> </span> </p> </td> </tr> <tr> <td><code>span_attributes</code></td> <td class="doc-param-details"> <p>Mapping from Span extensions to JSON attributes (can be a list too). By default, no attribute is exported.</p> <p> <span class="doc-param-annotation"> <b>TYPE:</b> <code><a class="autorefs autorefs-internal" href="../../reference/edsnlp/data/converters/#edsnlp.data.converters.AttributesMappingArg" title="edsnlp.data.converters.AttributesMappingArg">AttributesMappingArg</a></code> </span> <span class="doc-param-default"> <b>DEFAULT:</b> <code>{}</code> </span> </p> </td> </tr> </tbody> </table> <div class="doc doc-children"> </div> </div> </div> <div class="footnote"><hr/><ol></ol></div> <h2 id="__comments">Comments</h2> <script async="" crossorigin="anonymous" data-category="Announcements" data-category-id="DIC_kwDOG97JnM4CkS1h" data-emit-metadata="0" data-input-position="bottom" data-lang="en" data-mapping="title" data-reactions-enabled="1" data-repo="aphp/edsnlp" data-repo-id="R_kgDOG97JnA" data-strict="0" data-theme="https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css" loading="lazy" src="https://giscus.app/client.js">
</script> <script>
var giscus = document.querySelector("script[src*=giscus]")

// Set palette on initial load
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate"
? "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_dark.css"
: "http://macbook-pro-5.sap.aphp.fr:8000/assets/stylesheets/giscus_light.css"
? "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_dark.css"
: "https://aphp.github.io/edsnlp/master/assets/stylesheets/giscus_light.css"

// Instruct Giscus to set theme
giscus.setAttribute("data-theme", theme)
Expand Down
Loading

0 comments on commit add6205

Please sign in to comment.