Spaces:
Runtime error
Runtime error
fixes
Browse files- src/models/model.py +1 -0
src/models/model.py
CHANGED
@@ -479,6 +479,7 @@ class Summarization:
|
|
479 |
references = test_df['output_text'][:5]
|
480 |
|
481 |
predictions = [self.predict(x) for x in input_text]
|
|
|
482 |
|
483 |
results = metric.compute(predictions=predictions, references=references)
|
484 |
'''
|
|
|
479 |
references = test_df['output_text'][:5]
|
480 |
|
481 |
predictions = [self.predict(x) for x in input_text]
|
482 |
+
print(type(predictions),type(references))
|
483 |
|
484 |
results = metric.compute(predictions=predictions, references=references)
|
485 |
'''
|