You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do note that **this installs only the core MedCAT v2**.
51
50
**It does not necessary dependencies for `spacy`-based tokenizing or MetaCATs or DeID**.
52
51
However, all of those are supported as well.
53
52
You can install them as follows:
54
53
```
55
-
pip install "medcat[spacy] @ git+https://github.com/CogStack/cogstack-nlp.git@refs/tags/medcat/v0.10.0#subdirectory=medcat-v2" # for spacy-based tokenizer
56
-
pip install "medcat[meta-cat] @ git+https://github.com/CogStack/cogstack-nlp.git@refs/tags/medcat/v0.10.0#subdirectory=medcat-v2" # for MetaCAT
57
-
pip install "medcat[deid] @ git+https://github.com/CogStack/cogstack-nlp.git@refs/tags/medcat/v0.10.0#subdirectory=medcat-v2" # for DeID models
58
-
pip install "medcat[spacy,meta-cat,deid,rel-cat,dict-ner] @ git+https://github.com/CogStack/cogstack-nlp.git@refs/tags/medcat/v0.10.0#subdirectory=medcat-v2" # for all of the sbove
54
+
pip install medcat[spacy]~=2.0.0b # for spacy-based tokenizer
55
+
pip install medcat[meta-cat]~=2.0.0b # for MetaCAT
56
+
pip install medcat[deid]~=2.0.0b # for DeID models
57
+
pip install medcat[spacy,meta-cat,deid,rel-cat,dict-ner]~=2.0.0b # for all of the above
59
58
```
60
59
61
60
PS:
62
61
For in the above example, we're installing the MedCAT v2 BETA version of `v0.8.0`.
63
62
The README is unlikely to change after every new release.
64
63
If another version is available / required, substitute the version tag as appropriate.
65
64
66
-
<!--
67
-
To install the latest version of MedCAT run the following command:
68
-
```
69
-
pip install medcat
70
-
```
71
-
Normal installations of MedCAT will install torch-gpu and all relevant dependancies (such as CUDA). This can require as much as 10 GB more disk space, which isn't required for CPU only usage.
72
-
73
-
To install the latest version of MedCAT without torch GPU support run the following command:
Copy file name to clipboardExpand all lines: medcat-v2/docs/main.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,15 @@ Some guides on how to use MedCAT v2 are available at [MedCAT Tutorials](https://
44
44
## Install using PIP (Requires Python 3.9+)
45
45
Installation instructions are to follow upon a release of this version on PyPI.
46
46
Though installation is likely to be simply `pip install "medcat>=2.0"` at that time.
47
-
<!-- 0. Upgrade pip `pip install --upgrade pip`
48
-
1. Install MedCAT
49
-
- For macOS/linux: `pip install --upgrade medcat`
50
-
- For Windows (see [PyTorch documentation](https://pytorch.org/get-started/previous-versions/)): `pip install --upgrade medcat -f https://download.pytorch.org/whl/torch_stable.html` -->
47
+
Currently the installation for the 2.0 beta release is simply:
48
+
```
49
+
pip install medcat~=2.0.0b
50
+
```
51
+
Though note the extras you might need (e.g `spacy`, `meta-cat`, `rel-cat`, `deid`).
52
+
If you need them, they need to be specified in brackets, e.g:
0 commit comments