Gagan Bhatia commited on
Commit
62ce5f5
1 Parent(s): cb1227c

Update train_model.py

Browse files
Files changed (1) hide show
  1. src/models/train_model.py +2 -2
src/models/train_model.py CHANGED
@@ -7,8 +7,8 @@ def train_model():
7
  Train the model
8
  """
9
  # Load the data
10
- train_df = make_dataset(split = 'train')
11
- eval_df = make_dataset(split = 'test')
12
 
13
  model = Summarization()
14
  model.from_pretrained('t5-base')
 
7
  Train the model
8
  """
9
  # Load the data
10
+ train_df = pd.read_csv('../../data/processed/train.csv')
11
+ eval_df = pd.read_csv('../../data/processed/validation.csv')
12
 
13
  model = Summarization()
14
  model.from_pretrained('t5-base')