Update README.md
Browse files
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 |
+
|