Run this model with HF Jobs
Run hadifar/eventclassifier 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/eventclassifier. 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/eventclassifier 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/eventclassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadifar/eventclassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hadifar/eventclassifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hadifar/eventclassifier") model = AutoModelForSequenceClassification.from_pretrained("hadifar/eventclassifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload RobertaForSequenceClassification
Browse filesFiles changed (2)
- config.json+3-1
- pytorch_model.bin+2-2
24 unmodified lines2526272828293031322 unmodified lines3536373839404124 unmodified lines "11": "Company_Other", "12": "Regulation", "13": "Company_Finance", "14": "Tech_Adaptation" "14": "Tech_Adaptation", "15": "Company_Patent" }, "initializer_range": 0.02, "intermediate_size": 3072,2 unmodified lines "Company_Finance": 13, "Company_Invest": 1, "Company_Other": 11, "Company_Patent": 15, "Contract": 2, "Economic_Trend": 10, "Government_Invest": 3,12323version https://git-lfs.github.com/spec/v1oid sha256:b9fde9b3e3b2263d76d66661c1dae258892af1537c3f788812ece3220b676198size 498699253oid sha256:99c83f30331c36846f7d384ecc908429915ac14d5983eb523b59fa81d2ec32a9size 498702325config.json+3-1
pytorch_model.bin+2-2