Skip to content

Commit 0a02455

Browse files
authored
CU-8699m7j2f Add RelCAT tutorials (#20)
* CU-8699m7j2f: Update requirements to latest version * CU-8699m7j2f: Update install targets in notebooks to latest * CU-8699m7j2f: Add RelCAT tutorials * CU-8699m7j2f: Add RelCAT tutorials to workflow
1 parent 6465e90 commit 0a02455

File tree

7 files changed

+9347
-4
lines changed

7 files changed

+9347
-4
lines changed

.github/workflows/medcat-v2-tutorials_main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
matrix:
4848
part: [
4949
./notebooks/introductory/migration/*.ipynb,
50+
./notebooks/introductory/relcat/*.ipynb,
5051
./notebooks/advanced/*.ipynb,
5152
]
5253

@@ -66,4 +67,4 @@ jobs:
6667
- name: Smoke test tutorial
6768
run: |
6869
pytest --collect-only --nbmake ${{ matrix.part }}
69-
pytest --nbmake -n=auto --nbmake-kernel=smoketests --nbmake-timeout=1800 ${{ matrix.part }}
70+
pytest --nbmake -n=auto --nbmake-kernel=smoketests --nbmake-timeout=1800 ${{ matrix.part }}

medcat-v2-tutorials/notebooks/introductory/meta/1._Add_a_MetaCat_to_a_Model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
}
7777
],
7878
"source": [
79-
"! pip install \"medcat[meta-cat] @ git+https://github.com/CogStack/cogstack-nlp@medcat/v0.10.0#subdirectory=medcat-v2\" # NOTE: VERSION-STRING"
79+
"! pip install \"medcat[meta-cat] @ git+https://github.com/CogStack/cogstack-nlp@medcat/v0.11.2#subdirectory=medcat-v2\" # NOTE: VERSION-STRING"
8080
]
8181
},
8282
{

medcat-v2-tutorials/notebooks/introductory/migration/1._Migrate_v1_model_to_v2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
}
132132
],
133133
"source": [
134-
"! pip install \"medcat[meta-cat,spacy,deid] @ git+https://github.com/CogStack/cogstack-nlp@medcat/v0.10.0#subdirectory=medcat-v2\""
134+
"! pip install \"medcat[meta-cat,spacy,deid] @ git+https://github.com/CogStack/cogstack-nlp@medcat/v0.11.2#subdirectory=medcat-v2\""
135135
]
136136
},
137137
{

medcat-v2-tutorials/notebooks/introductory/relcat/1._Supervised_Training_Relation_Extraction.ipynb

Lines changed: 889 additions & 0 deletions
Large diffs are not rendered by default.

medcat-v2-tutorials/notebooks/introductory/relcat/2._Infering_relations_from_annotations_with_Relation_toolkit.ipynb

Lines changed: 1353 additions & 0 deletions
Large diffs are not rendered by default.

medcat-v2-tutorials/notebooks/introductory/relcat/data/rel_cat_ADE_V2.tsv

Lines changed: 7100 additions & 0 deletions
Large diffs are not rendered by default.

medcat-v2-tutorials/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
medcat @ git+https://github.com/CogStack/cogstack-nlp@medcat/v0.10.0#subdirectory=medcat-v2
1+
medcat @ git+https://github.com/CogStack/cogstack-nlp@medcat/v0.11.2#subdirectory=medcat-v2
22
ipykernel
33
pytest-xdist~=3.6.0
44
nbmake<1.6

0 commit comments

Comments
 (0)