Instructions to use hadifar/eventextraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadifar/eventextraction with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hadifar/eventextraction") model = AutoModelForSeq2SeqLM.from_pretrained("hadifar/eventextraction") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse filesExtract event information from text "A terrorist attack occurred on İstiklal Avenue in the Beyoğlu district of Istanbul, Turkey, on 13 November 2022, killing 6 people and injur-ing 81 others"