blaze999 commited on
Commit
39f2f45
1 Parent(s): e752c31

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -59,7 +59,7 @@ The following hyperparameters were used during training:
59
  ```python
60
  # Use a pipeline as a high-level helper
61
  from transformers import pipeline
62
- pipe = pipeline("token-classification", model="Clinical-AI-Apollo/Medical-NER", aggregation_strategy='simple')
63
  result = pipe('45 year old woman diagnosed with CAD')
64
 
65
 
@@ -67,8 +67,8 @@ result = pipe('45 year old woman diagnosed with CAD')
67
  # Load model directly
68
  from transformers import AutoTokenizer, AutoModelForTokenClassification
69
 
70
- tokenizer = AutoTokenizer.from_pretrained("Clinical-AI-Apollo/Medical-NER")
71
- model = AutoModelForTokenClassification.from_pretrained("Clinical-AI-Apollo/Medical-NER")
72
  ```
73
 
74
  ### Training results
 
59
  ```python
60
  # Use a pipeline as a high-level helper
61
  from transformers import pipeline
62
+ pipe = pipeline("token-classification", model="blaze999/clinical-ner", aggregation_strategy='simple')
63
  result = pipe('45 year old woman diagnosed with CAD')
64
 
65
 
 
67
  # Load model directly
68
  from transformers import AutoTokenizer, AutoModelForTokenClassification
69
 
70
+ tokenizer = AutoTokenizer.from_pretrained("blaze999/clinical-ner")
71
+ model = AutoModelForTokenClassification.from_pretrained("blaze999/clinical-ner")
72
  ```
73
 
74
  ### Training results