jkefeli commited on
Commit
26f7f25
·
1 Parent(s): f886c5a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ To use the model, add the following from the transformers package:
2
+
3
+ (1) ClinicalBERT tokenizer:
4
+
5
+ tokenizer = AutoTokenizer.from_pretrained("emilyalsentzer/Bio_ClinicalBERT")
6
+
7
+ (2) Model type:
8
+
9
+ model = BertForSequenceClassification.from_pretrained(checkpoint_directory, num_labels=3)