transformers pytorch bart text2text-generation autotrain_compatible endpoints_compatible region:us
---
{}
---
## 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 leonardi.henry@gmail.com

```python
cause_effect = pipeline("summarization", model="taskload/bart-cause-effect")
output = cause_effect("text: "+event, max_length=300, min_length=30, do_sample=False)
```