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 RobertaForTokenClassification
Browse filesFiles changed (2)
- config.json+13-5
- pytorch_model.bin+2-2
12234456711 unmodified lines1920212222232425262728293031323334353637383940413542434445464 unmodified lines5152534654555657{ "_name_or_path": "roberta/", "_name_or_path": "model/bea_classifier", "architectures": [ "RobertaForSequenceClassification" "RobertaForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0,11 unmodified lines "5": "New_Product", "6": "Other", "7": "Partnership", "8": "Sell" "8": "Sell", "9": "Supply_Environment", "10": "Economic_Trend", "11": "Regulation", "12": "Company_Other" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Acquisition": 0, "Company_Invest": 1, "Company_Other": 12, "Contract": 2, "Economic_Trend": 10, "Government_Invest": 3, "Market_Outlook": 4, "New_Product": 5, "Other": 6, "Partnership": 7, "Regulation": 11, "Sell": 8 "Sell": 8, "Supply_Environment": 9 }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514,4 unmodified lines "position_embedding_type": "absolute", "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.27.1", "transformers_version": "4.30.2", "type_vocab_size": 1, "use_cache": true, "vocab_size": 5026512323version https://git-lfs.github.com/spec/v1oid sha256:6b0594d706307f744e184aedee76db16514f425c0ceace4d68923cb578d7e50esize 498680757oid sha256:d73a6348c6ab3c5be6b5b280fd270547e63b262b1df6f638adffd403e285af15size 496330093config.json+13-5
pytorch_model.bin+2-2