jkefeli commited on
Commit
4a61605
1 Parent(s): d1652af

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ To use the model, add the following from the transformers package:
2
+
3
+ (1) Tokenizer:
4
+
5
+ tokenizer = AutoTokenizer.from_pretrained("yikuan8/Clinical-BigBird")
6
+
7
+ (2) Model type:
8
+
9
+ #M in [0,1]
10
+
11
+ num_classes = 2
12
+
13
+ model = BigBirdForSequenceClassification.from_pretrained(directory, num_labels=num_classes)