ganeshkonapalli commited on
Commit
f48a4cb
·
verified ·
1 Parent(s): 7df1470

Upload config.py

Browse files
Files changed (1) hide show
  1. config.py +21 -0
config.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ import os
3
+
4
+ DATA_PATH = '/app/synthetic_transactions_samples_5000.csv'
5
+ TOKENIZER_PATH = './tokenizer/'
6
+ LABEL_ENCODERS_PATH = './label_encoders.pkl'
7
+ MODEL_SAVE_DIR = './saved_models/'
8
+ PREDICTIONS_SAVE_DIR = './predictions/'
9
+
10
+ TEXT_COLUMN = "Sanction_Context"
11
+ LABEL_COLUMNS = [
12
+ "Red_Flag_Reason",
13
+ "Maker_Action",
14
+ "Escalation_Level",
15
+ "Risk_Category",
16
+ "Risk_Drivers",
17
+ "Investigation_Outcome"
18
+ ]
19
+ MAX_LEN = 128
20
+ DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
21
+ ROBERTA_MODEL_NAME = 'roberta-base'