Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
62ce5f5
1
Parent(s):
cb1227c
Update train_model.py
Browse files
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 =
|
11 |
-
eval_df =
|
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')
|