-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
55 lines (31 loc) · 1.69 KB
/
README.txt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
========================================================================================
Project : Anlysing performance of Bag-of-Word related features over Hindi Language for
Fake News detections. Sequential Models like LSTM and BERT is developed for fake news
detection for Hindi Language.
========================================================================================
FILES:
BERT.py
requirement.txt
final-datasets(folder for datasets)
INSTRUCTION----
REQUIREMENT: Refer requirement.txt file and install the modules if not already installed.
DATASET: Save all the data set(csv files) in a folder named "final-datasets" in the same folder.
TO RUN:
BERT-
Following are the instruction needed to be followed on all the datasets
1. Install the dependencies provided in the requirement file.
To run .py(python file) : open cmd and move to the current directory using cd.
Execute the following command
python BERT.py
After EXECUTION:
1. Enter the name of the dataset for which you want to run the model for. first for train then for test. eg, "bbc_ner_train.csv".
2. After feature extraction, model training and prediction, accuracy, class wise F-score and macro-average will be printed on the terminal.
LSTM-
Following are the instruction needed to be followed on all the datasets
1. Install the dependencies provided in the requirement file.
2. To run .py(python file) : open cmd and move to the current directory using cd.
Execute the following command
python LSTM.py
After EXECUTION:
1. Enter the name of the dataset for which you want to run the model for. first for train then for test. eg, "bbc_ner_train.csv".
2. Trained model will be generated.