feat(medcat-tutorials): Add bulk inference tutorial - #594
Merged
Conversation
| - 2. Unsupervised training on model: introductory/basic/2._Unsupervised_training_on_model.ipynb | ||
| - 3. Supervised training on model: introductory/basic/3._Supervised_training_on_model.ipynb | ||
| - 4. Evaluating performance on dataset: introductory/basic/4._Evaluating_performance_on_dataset.ipynb | ||
| - 5. Running models on large datasets: 5._Running_model_on_large_datasets.ipynb |
Collaborator
There was a problem hiding this comment.
Suggested change
| - 5. Running models on large datasets: 5._Running_model_on_large_datasets.ipynb | |
| - 5. Running models on large datasets: introductory/basic/5._Running_model_on_large_datasets.ipynb |
Missing the path here?
Collaborator
There was a problem hiding this comment.
Yep needs the path I think. RTD page breaks on it https://cogstack-platform-toolkit--594.org.readthedocs.build/projects/nlp/en/594/medcat-tutorials/5._Running_model_on_large_datasets.ipynb
Collaborator
Author
There was a problem hiding this comment.
Yep - thought I was following whaat was already there, but clearly not.
| "source": [ | ||
| "## Loading model pack\n", | ||
| "\n", | ||
| "We can reuse a model pack we created in earlier parts for the purposes of the tutorial." |
Collaborator
There was a problem hiding this comment.
I think you've decided to download the med mentions in the end - would reword this accordingly as you're not using a model pack created earlier anymore
Collaborator
Author
There was a problem hiding this comment.
Yeah - thanks.
I didn't think the earlier models would really be useful examples for filtering.
…del_on_large_datasets.ipynb Co-authored-by: Alistair Hendrickson <alistair@cogstack.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a bulk inference tutorial. It goes over filtering as well as multiprocessing. It also tried to note as many of the relevant caveats as possible.
The notebook is best viewed here:
https://github.com/CogStack/cogstack-nlp/blob/feat/medcat-tutorials/add-bulk-inference-tutorial/medcat-v2-tutorials/notebooks/introductory/basic/5._Running_model_on_large_datasets.ipynb
PS:
Also added 4th part to workflow (it had been omitted for some reason).