Skip to content

Commit

Permalink
CU-8695vnd6h: Update installs in notebooks to medcat 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-r committed Sep 18, 2024
1 parent 5ae3ed7 commit 2a03854
Show file tree
Hide file tree
Showing 18 changed files with 25,054 additions and 28,341 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13095,7 +13095,7 @@ <h1 id="MedCAT-tutorial---logging-with-MedCAT">MedCAT tutorial - logging with Me
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Install medcat</span>
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.12.0
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.13.0
<span class="k">try</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">medcat.cat</span> <span class="kn">import</span> <span class="n">CAT</span>
<span class="k">except</span><span class="p">:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"outputs": [],
"source": [
"# Install medcat\n",
"! pip install medcat~=1.12.0\n",
"! pip install medcat~=1.13.0\n",
"try:\n",
" from medcat.cat import CAT\n",
"except:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13099,7 +13099,7 @@ <h3 id="First-we-need-to-install-MedCAT">First we need to install MedCAT<a class
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Install MedCAT</span>
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.12.0
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.13.0
<span class="c1"># Get the scispacy model</span>
<span class="o">!</span> python -m spacy download en_core_web_md
<span class="k">try</span><span class="p">:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
],
"source": [
"# Install MedCAT\n",
"! pip install medcat~=1.12.0\n",
"! pip install medcat~=1.13.0\n",
"# Get the scispacy model\n",
"! python -m spacy download en_core_web_md\n",
"try:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13092,7 +13092,7 @@ <h1 id="Now-let's-start-extracting-concepts-from-unstructured-text!">Now let's s
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Install medcat</span>
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.12.0
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.13.0
<span class="c1"># install seaborn</span>
<span class="o">!</span> pip install seaborn
<span class="k">try</span><span class="p">:</span>
Expand Down Expand Up @@ -14706,10 +14706,10 @@ <h2 id="Use-Multiprocessing">Use Multiprocessing<a class="anchor-link" href="#Us



<div id="32ee3419-be25-428c-a2b3-2371035ddec6"></div>
<div id="8d4dc075-1e4a-4520-bc59-043368d5e637"></div>
<div class="output_subarea output_widget_view ">
<script type="text/javascript">
var element = $('#32ee3419-be25-428c-a2b3-2371035ddec6');
var element = $('#8d4dc075-1e4a-4520-bc59-043368d5e637');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "05b18c97da9d4d05b9280df006a5fb82", "version_major": 2, "version_minor": 0}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
],
"source": [
"# Install medcat\n",
"! pip install medcat~=1.12.0\n",
"! pip install medcat~=1.13.0\n",
"# install seaborn\n",
"! pip install seaborn\n",
"try:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13092,7 +13092,7 @@ <h1 id="Now-let's-look-at-ways-to-optimise-the-model-for-our-specific-use-case">
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Install medcat</span>
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.12.0
<span class="o">!</span> pip install medcat~<span class="o">=</span><span class="m">1</span>.13.0
<span class="k">try</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">medcat.cat</span> <span class="kn">import</span> <span class="n">CAT</span>
<span class="k">except</span><span class="p">:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
],
"source": [
"# Install medcat\n",
"! pip install medcat~=1.12.0\n",
"! pip install medcat~=1.13.0\n",
"try:\n",
" from medcat.cat import CAT\n",
"except:\n",
Expand Down
Loading

0 comments on commit 2a03854

Please sign in to comment.