File size: 379 Bytes
2b61cf9 d03eced d17a5b2 |
1 2 3 4 5 6 7 |
## Bart for Cause-Effect Extraction
This model was created using by Taskload, a group led by Henry Leonardi for automating information extraction. To get involved contact me at [email protected]
```python
cause_effect = pipeline("summarization", model="taskload/bart-cause-effect")
output = cause_effect("text: "+event, max_length=300, min_length=30, do_sample=False)
``` |