Vasilii Sevostianov commited on
Commit
0a5097b
1 Parent(s): f8b5747
Files changed (3) hide show
  1. data/empty.py +0 -0
  2. models/empty.py +0 -0
  3. pages/imdb.py +19 -0
data/empty.py ADDED
File without changes
models/empty.py ADDED
File without changes
pages/imdb.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import numpy as np
3
+ import pandas as pd
4
+
5
+ import matplotlib.pyplot as plt
6
+
7
+ import re
8
+ import string
9
+ from collections import Counter
10
+ from nltk.corpus import stopwords
11
+ stop_words = set(stopwords.words('english'))
12
+
13
+ from sklearn.model_selection import train_test_split
14
+
15
+ import torch
16
+ from torch.utils.data import DataLoader, TensorDataset
17
+ import torch.nn as nn
18
+ import torchutils as tu
19
+ from torchmetrics.classification import BinaryAccuracy