Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,10 @@ tags:
|
|
6 |
|
7 |
## biosyn-sapbert-ncbi-disease
|
8 |
|
9 |
-
Biomedical Entity Mention Linking for diseases
|
|
|
|
|
|
|
10 |
|
11 |
### Demo: How to use in Flair
|
12 |
|
@@ -26,7 +29,7 @@ tagger = Classifier.load("hunflair-disease")
|
|
26 |
tagger.predict(sentence)
|
27 |
|
28 |
# load the linker and dictionary
|
29 |
-
linker = EntityMentionLinker.load("
|
30 |
dictionary = linker.dictionary
|
31 |
|
32 |
# find then candidates for the mentions
|
@@ -48,5 +51,3 @@ linker = EntityMentionLinker.build("dmis-lab/biosyn-biobert-ncbi-disease", dicti
|
|
48 |
```
|
49 |
|
50 |
This will reduce the download requirements, at the cost of computation.
|
51 |
-
|
52 |
-
This EntityMentionLinker uses [https://huggingface.co/dmis-lab/biosyn-sapbert-ncbi-disease](dmis-lab/biosyn-sapbert-ncbi-disease) as embeddings for linking mentions to candidates.
|
|
|
6 |
|
7 |
## biosyn-sapbert-ncbi-disease
|
8 |
|
9 |
+
Biomedical Entity Mention Linking for diseases:
|
10 |
+
|
11 |
+
- Model: [dmis-lab/biosyn-sapbert-ncbi-disease](https://huggingface.co/dmis-lab/biosyn-sapbert-ncbi-disease)
|
12 |
+
- Dictionary: [CTD Diseases](https://ctdbase.org/voc.go?type=disease) (See License)
|
13 |
|
14 |
### Demo: How to use in Flair
|
15 |
|
|
|
29 |
tagger.predict(sentence)
|
30 |
|
31 |
# load the linker and dictionary
|
32 |
+
linker = EntityMentionLinker.load("hunflair/biosyn-sapbert-ncbi-disease")
|
33 |
dictionary = linker.dictionary
|
34 |
|
35 |
# find then candidates for the mentions
|
|
|
51 |
```
|
52 |
|
53 |
This will reduce the download requirements, at the cost of computation.
|
|
|
|