Update model.py
Browse files
model.py
CHANGED
@@ -7,7 +7,7 @@ class SentimentClassifier(nn.Module) :
|
|
7 |
|
8 |
super(SentimentClassifier, self).__init__()
|
9 |
|
10 |
-
self.BERT = BertModel.from_pretrained(
|
11 |
self.dropout = nn.Dropout(p=0.3)
|
12 |
self.fc = nn.Linear(self.BERT.config.hidden_size, n_classes)
|
13 |
|
|
|
7 |
|
8 |
super(SentimentClassifier, self).__init__()
|
9 |
|
10 |
+
self.BERT = BertModel.from_pretrained("bert-base-cased")
|
11 |
self.dropout = nn.Dropout(p=0.3)
|
12 |
self.fc = nn.Linear(self.BERT.config.hidden_size, n_classes)
|
13 |
|