feat: Upload fine-tuned medical NER model OpenMed-ZeroShot-NER-BloodCancer-Base-220M
Browse files
README.md
CHANGED
|
@@ -98,7 +98,7 @@ The CLL (Chronic Lymphocytic Leukemia) corpus is a domain-specific biomedical NE
|
|
| 98 |
### Installation
|
| 99 |
|
| 100 |
```bash
|
| 101 |
-
pip install gliner
|
| 102 |
```
|
| 103 |
|
| 104 |
### Usage
|
|
@@ -111,7 +111,7 @@ from transformers import pipeline
|
|
| 111 |
model_name = "OpenMed/OpenMed-ZeroShot-NER-BloodCancer-Base-220M"
|
| 112 |
|
| 113 |
from gliner import GLiNER
|
| 114 |
-
model = GLiNER.from_pretrained(
|
| 115 |
|
| 116 |
# Example usage with default entity types
|
| 117 |
text = "The patient presented with chronic lymphocytic leukemia symptoms."
|
|
|
|
| 98 |
### Installation
|
| 99 |
|
| 100 |
```bash
|
| 101 |
+
pip install -q "gliner[tokenizers]"
|
| 102 |
```
|
| 103 |
|
| 104 |
### Usage
|
|
|
|
| 111 |
model_name = "OpenMed/OpenMed-ZeroShot-NER-BloodCancer-Base-220M"
|
| 112 |
|
| 113 |
from gliner import GLiNER
|
| 114 |
+
model = GLiNER.from_pretrained(model_name)
|
| 115 |
|
| 116 |
# Example usage with default entity types
|
| 117 |
text = "The patient presented with chronic lymphocytic leukemia symptoms."
|