Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ This model is implemented as part of the KeyCARE library. Install first the keyc
|
|
| 44 |
python -m pip install keycare
|
| 45 |
```
|
| 46 |
|
| 47 |
-
You can then run the KeyCARE pipeline that uses the
|
| 48 |
|
| 49 |
```python
|
| 50 |
from keycare install RelExtractor.RelExtractor
|
|
@@ -55,12 +55,12 @@ relextractor = RelExtractor()
|
|
| 55 |
source = ["cáncer", "enfermedad de pulmón", "mastectomía radical izquierda", "laparoscopia"]
|
| 56 |
target = ["cáncer de mama", "enfermedad pulmonar", "mastectomía", "Streptococus pneumoniae"]
|
| 57 |
relextractor(source, target)
|
| 58 |
-
# You can also access the class storing the
|
| 59 |
relator = relextractor.relation_method
|
| 60 |
```
|
| 61 |
|
| 62 |
## Training
|
| 63 |
-
The model has been trained using the hirerarchical structure of [SNOMED-CT](https://www.snomed.org/) mapped to the medical terms present in [UMLS](https://www.nlm.nih.gov/research/umls/index.html).
|
| 64 |
|
| 65 |
## Evaluation
|
| 66 |
To be published
|
|
|
|
| 44 |
python -m pip install keycare
|
| 45 |
```
|
| 46 |
|
| 47 |
+
You can then run the KeyCARE pipeline that uses the Transformer model:
|
| 48 |
|
| 49 |
```python
|
| 50 |
from keycare install RelExtractor.RelExtractor
|
|
|
|
| 55 |
source = ["cáncer", "enfermedad de pulmón", "mastectomía radical izquierda", "laparoscopia"]
|
| 56 |
target = ["cáncer de mama", "enfermedad pulmonar", "mastectomía", "Streptococus pneumoniae"]
|
| 57 |
relextractor(source, target)
|
| 58 |
+
# You can also access the class storing the Transformer model
|
| 59 |
relator = relextractor.relation_method
|
| 60 |
```
|
| 61 |
|
| 62 |
## Training
|
| 63 |
+
The used pre-trained model is SapBERT-from-roberta-base-biomedical-clinical-es from the BSC-NLP4BIA reserch group. The model has been trained using the hirerarchical structure of [SNOMED-CT](https://www.snomed.org/) mapped to the medical terms present in [UMLS](https://www.nlm.nih.gov/research/umls/index.html).
|
| 64 |
|
| 65 |
## Evaluation
|
| 66 |
To be published
|