baayematar commited on
Commit
5148901
1 Parent(s): be47325

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -1,3 +1,5 @@
1
- ---
2
- license: afl-3.0
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")