Marzu39 commited on
Commit
ba6e49a
·
verified ·
1 Parent(s): 3212b3a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -12,6 +12,12 @@ tags:
12
  - bert
13
  ---
14
 
 
 
 
 
 
 
15
  #### Summary
16
 
17
  Sentiment classification based on Transformers is a topic that has recently been widely studied in
 
12
  - bert
13
  ---
14
 
15
+ # Load model directly
16
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
17
+
18
+ tokenizer = AutoTokenizer.from_pretrained("Marzu39/bert-turkish-text-classification")
19
+ model = AutoModelForSequenceClassification.from_pretrained("Marzu39/bert-turkish-text-classification")
20
+
21
  #### Summary
22
 
23
  Sentiment classification based on Transformers is a topic that has recently been widely studied in