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)
103 unmodified lines104105106107108109110111112103 unmodified lines"clean_up_tokenization_spaces": true,"eos_token": "</s>","extra_ids": 100,"model_max_length": 1000000000000000019884624838656,"pad_token": "<pad>","sp_model_kwargs": {},"tokenizer_class": "T5Tokenizer","unk_token": "<unk>"}103 unmodified lines104105106107108109110111103 unmodified lines"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
tokenizer_config.json+1-2