Sakil commited on
Commit
ba39f10
1 Parent(s): bed7d0f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -0
README.md CHANGED
@@ -13,3 +13,8 @@ widget:
13
 
14
  - I have used IMDB movie review dataset to create custom model by using DistilBertForSequenceClassification.
15
 
 
 
 
 
 
 
13
 
14
  - I have used IMDB movie review dataset to create custom model by using DistilBertForSequenceClassification.
15
 
16
+ from transformers import DistilBertForSequenceClassification, Trainer, TrainingArguments
17
+
18
+ model = DistilBertForSequenceClassification.from_pretrained("Sakil/imdbsentdistilbertmodel")
19
+ tokenizer = tokenizer.from_pretrained("Sakil/imdbsentdistilbertmodel")
20
+