baayematar
commited on
Commit
•
5148901
1
Parent(s):
be47325
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
1 |
+
# Load model directly
|
2 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
+
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("baayematar/bert-french")
|
5 |
+
model = AutoModelForSequenceClassification.from_pretrained("baayematar/bert-french")
|