MaziyarPanahi commited on
Commit
1e3eae0
·
verified ·
1 Parent(s): d8b4bd0

feat: Upload fine-tuned medical NER model OpenMed-ZeroShot-NER-Anatomy-Large-459M

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -97,7 +97,7 @@ The Anatomy corpus is a specialized biomedical NER dataset designed for recogniz
97
  ### Installation
98
 
99
  ```bash
100
- pip install gliner==0.2.21
101
  ```
102
 
103
  ### Usage
@@ -110,7 +110,7 @@ from transformers import pipeline
110
  model_name = "OpenMed/OpenMed-ZeroShot-NER-Anatomy-Large-459M"
111
 
112
  from gliner import GLiNER
113
- model = GLiNER.from_pretrained("OpenMed-ZeroShot-NER-Anatomy-Large-459M")
114
 
115
  # Example usage with default entity types
116
  text = "The patient complained of pain in the left ventricle region."
 
97
  ### Installation
98
 
99
  ```bash
100
+ pip install -q "gliner[tokenizers]"
101
  ```
102
 
103
  ### Usage
 
110
  model_name = "OpenMed/OpenMed-ZeroShot-NER-Anatomy-Large-459M"
111
 
112
  from gliner import GLiNER
113
+ model = GLiNER.from_pretrained(model_name)
114
 
115
  # Example usage with default entity types
116
  text = "The patient complained of pain in the left ventricle region."