Create README.md
Browse files
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)
|