File size: 500 Bytes
5c7dc76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
license: cc-by-3.0
datasets:
- stanfordnlp/imdb
language:
- en
metrics:
- accuracy
---

model structure:

Input Text
   |
Custom Tokenizer (Text -> Tokens)
   |
Padding (Equal Length Sequences)
   |
Embedding Layer (Tokens -> Dense Vectors)
   |
LSTM Layer (Capture Sequential Patterns)
   |
Attention Mechanism (Focus on Important Tokens)
   |
Dense Layer (Fully Connected)
   |
Softmax Activation (Output: Positive or Negative Sentiment)


it archieved 95.71% accuracy on the dataset provided