Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
958d7ab
1
Parent(s):
e0e7978
Update evaluate_model.py
Browse files
src/models/evaluate_model.py
CHANGED
@@ -15,7 +15,6 @@ def evaluate_model():
|
|
15 |
|
16 |
test_df = pd.read_csv("data/processed/test.csv")[:25]
|
17 |
model = Summarization()
|
18 |
-
results = model.evaluate(test_df=test_df, metrics=params['metric'])
|
19 |
model.load_model(model_type=params["model_type"], model_dir=params["model_dir"])
|
20 |
|
21 |
with open('reports/metrics.txt', 'w') as fp:
|
|
|
15 |
|
16 |
test_df = pd.read_csv("data/processed/test.csv")[:25]
|
17 |
model = Summarization()
|
|
|
18 |
model.load_model(model_type=params["model_type"], model_dir=params["model_dir"])
|
19 |
|
20 |
with open('reports/metrics.txt', 'w') as fp:
|