MaziyarPanahi commited on
Commit
f12495b
·
verified ·
1 Parent(s): aa7ee2d

feat: Upload fine-tuned medical NER model OpenMed-ZeroShot-NER-BloodCancer-Base-220M

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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==0.2.21
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("OpenMed-ZeroShot-NER-BloodCancer-Base-220M")
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."