Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,5 +29,7 @@ def summarize():
|
|
29 |
|
30 |
model_inputs["labels"] = labels["input_ids"]
|
31 |
return model_inputs
|
32 |
-
|
33 |
-
|
|
|
|
|
|
29 |
|
30 |
model_inputs["labels"] = labels["input_ids"]
|
31 |
return model_inputs
|
32 |
+
|
33 |
+
tokenized_billsum = billsum.map(preprocess_function, batched=True)
|
34 |
+
|
35 |
+
return tokenized_billsum
|