Run this model with HF Jobs
Run hadifar/eventextraction on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/hadifar/eventextraction. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/hadifar/eventextraction on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hadifar/eventextraction") model = AutoModelForSeq2SeqLM.from_pretrained("hadifar/eventextraction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse filesFiles changed (2)
6 unmodified lines789101112136 unmodified lines"stride": 0},"padding": {"strategy": "BatchLongest","direction": "Right","pad_to_multiple_of": null,"pad_id": 0,6 unmodified lines7891011121314156 unmodified lines"stride": 0},"padding": {"strategy": {"Fixed": 512},"direction": "Right","pad_to_multiple_of": null,"pad_id": 0,
100 unmodified lines101102103104105106107108109110111100 unmodified lines"<extra_id_98>","<extra_id_99>"],"eos_token": "</s>","extra_ids": 100,"model_max_length": 512,"pad_token": "<pad>","special_tokens_map_file": null,"tokenizer_class": "T5Tokenizer","unk_token": "<unk>"}100 unmodified lines101102103104105106107108109110111100 unmodified lines"<extra_id_98>","<extra_id_99>"],"clean_up_tokenization_spaces": true,"eos_token": "</s>","extra_ids": 100,"model_max_length": 512,"pad_token": "<pad>","tokenizer_class": "T5Tokenizer","unk_token": "<unk>"}
tokenizer.json+3-1
tokenizer_config.json+1-1