Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aCampello committed Feb 5, 2021
1 parent 2e5f235 commit 5958de3
Show file tree
Hide file tree
Showing 17 changed files with 1,218 additions and 39 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/examples.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.datasets.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.io.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.metrics.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.ml.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.spacy.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/wellcomeml.viz.doctree
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/_build/html/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h2>Bert and Scibert Vectorisers<a class="headerlink" href="#bert-and-scibert-ve
<div class="section" id="bert-and-scibert-classifiers">
<h2>Bert and Scibert Classifiers<a class="headerlink" href="#bert-and-scibert-classifiers" title="Permalink to this headline"></a></h2>
<p>The same way as the bert vectorisers, one can use a wrapper to train a text classifier using bert or scibert as base,
using a <code class="xref py py-class docutils literal notranslate"><span class="pre">BertClassifier</span></code></p>
using a <a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.bert_classifier" title="wellcomeml.ml.bert_classifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">BertClassifier</span></code></a></p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>

<span class="kn">from</span> <span class="nn">wellcomeml.ml</span> <span class="kn">import</span> <span class="n">BertClassifier</span>
Expand Down Expand Up @@ -259,7 +259,7 @@ <h2>Train a Spacy NER model<a class="headerlink" href="#train-a-spacy-ner-model"
</div>
<div class="section" id="entity-linking">
<h2>Entity Linking<a class="headerlink" href="#entity-linking" title="Permalink to this headline"></a></h2>
<p>Link sentences to the most similar document in a corpus using <code class="xref py py-class docutils literal notranslate"><span class="pre">SimilarityEntityLinker</span></code>.</p>
<p>Link sentences to the most similar document in a corpus using <a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.similarity_entity_linking" title="wellcomeml.ml.similarity_entity_linking"><code class="xref py py-class docutils literal notranslate"><span class="pre">SimilarityEntityLinker</span></code></a>.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">wellcomeml.ml</span> <span class="kn">import</span> <span class="n">SimilarityEntityLinker</span>

<span class="n">entities_kb</span> <span class="o">=</span> <span class="p">{</span>
Expand Down
325 changes: 304 additions & 21 deletions docs/_build/html/genindex.html

Large diffs are not rendered by default.

Binary file modified docs/_build/html/objects.inv
Binary file not shown.
10 changes: 10 additions & 0 deletions docs/_build/html/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ <h1>Python Module Index</h1>
<td>&#160;&#160;&#160;
<a href="wellcomeml.ml.html#module-wellcomeml.ml.attention"><code class="xref">wellcomeml.ml.attention</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="wellcomeml.ml.html#module-wellcomeml.ml.bert_classifier"><code class="xref">wellcomeml.ml.bert_classifier</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
Expand Down Expand Up @@ -297,6 +302,11 @@ <h1>Python Module Index</h1>
<td>&#160;&#160;&#160;
<a href="wellcomeml.ml.html#module-wellcomeml.ml.sent2vec_vectorizer"><code class="xref">wellcomeml.ml.sent2vec_vectorizer</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="wellcomeml.ml.html#module-wellcomeml.ml.similarity_entity_linking"><code class="xref">wellcomeml.ml.similarity_entity_linking</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/_build/html/wellcomeml.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to thi
<li class="toctree-l1"><a class="reference internal" href="wellcomeml.ml.html">wellcomeml.ml package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.attention">wellcomeml.ml.attention module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#wellcomeml-ml-bert-classifier-module">wellcomeml.ml.bert_classifier module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.bert_classifier">wellcomeml.ml.bert_classifier module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.bert_semantic_equivalence">wellcomeml.ml.bert_semantic_equivalence module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.bert_vectorizer">wellcomeml.ml.bert_vectorizer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.bilstm">wellcomeml.ml.bilstm module</a></li>
Expand All @@ -217,7 +217,7 @@ <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to thi
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.keras_utils">wellcomeml.ml.keras_utils module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.keras_vectorizer">wellcomeml.ml.keras_vectorizer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.sent2vec_vectorizer">wellcomeml.ml.sent2vec_vectorizer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#wellcomeml-ml-similarity-entity-linking-module">wellcomeml.ml.similarity_entity_linking module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.similarity_entity_linking">wellcomeml.ml.similarity_entity_linking module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.spacy_classifier">wellcomeml.ml.spacy_classifier module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.spacy_entity_linking">wellcomeml.ml.spacy_entity_linking module</a></li>
<li class="toctree-l2"><a class="reference internal" href="wellcomeml.ml.html#module-wellcomeml.ml.spacy_knowledge_base">wellcomeml.ml.spacy_knowledge_base module</a></li>
Expand Down
Loading

0 comments on commit 5958de3

Please sign in to comment.