Text Classification
Transformers
ONNX
Safetensors
English
goodjob
bert
job-posts
custom_code
Eval Results (legacy)
Run this model with HF Jobs
Run SpiderHomie/goodjob 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/SpiderHomie/goodjob. 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/SpiderHomie/goodjob 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 SpiderHomie/goodjob with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpiderHomie/goodjob with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SpiderHomie/goodjob", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("SpiderHomie/goodjob", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files9 unmodified lines101112131415161727 unmodified lines4546474849505119 unmodified lines71727374757677787980818283848586879 unmodified lines- multi-head- job-posts- custom_code---# GoodJob: job post classifierA `bert-base-uncased` model with two classification heads that reads27 unmodified linesmodel = AutoModelForSequenceClassification.from_pretrained("SpiderHomie/goodjob",trust_remote_code=True,)# single post -> dict19 unmodified linesRaw access: `out = model(**tokenizer(text, return_tensors="pt"))` gives`out.logits` (type head) and `out.board_logits` (board head).## Important notes- The board head was trained on job posts only. `is_job_board` and `board_p`are `None` when the post is not classified as a job, and should not be trusted there.- For filtering, threshold `p_job` instead of using the argmax if you want totrade precision against recall.- Input is a single post's text only (no author, title or metadata).- `max_length` is 256 tokens; longer posts are truncated.## Training dataLabeled Twitter/X and LinkedIn posts (about 6,000), annotated with the labelscheme above. Near-duplicate posts from bulk feeds were grouped so they do notleak across train/validation splits.9 unmodified lines10111213141516171819202122232425262728293027 unmodified lines5859606162636419 unmodified lines848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431449 unmodified lines- multi-head- job-posts- custom_codemodel-index:- name: goodjobresults:- task:type: text-classificationdataset:name: GoodJob held-out test split (author-grouped)type: privatemetrics:- type: accuracyvalue: 0.872- type: f1name: macro-F1 (type head)value: 0.854---# GoodJob: job post classifierA `bert-base-uncased` model with two classification heads that reads27 unmodified linesmodel = AutoModelForSequenceClassification.from_pretrained("SpiderHomie/goodjob",trust_remote_code=True,)# single post -> dict19 unmodified linesRaw access: `out = model(**tokenizer(text, return_tensors="pt"))` gives`out.logits` (type head) and `out.board_logits` (board head).## EvaluationHeld-out test split of 483 posts. Splits are grouped by author, so no accountappears in more than one of train, validation and test. The checkpoint was chosenon validation; the test split was evaluated after training.**Type head (test)**: accuracy 0.872, macro-F1 0.854| Class | Precision | Recall | F1 | Support ||---|---|---|---|---|| ML Job | 0.812 | 0.852 | 0.832 | 61 || Job | 0.895 | 0.876 | 0.885 | 194 || Other | 0.864 | 0.731 | 0.792 | 78 || Not Job | 0.871 | 0.947 | 0.907 | 150 |Confusion matrix (rows = true, columns = predicted; order: ML Job, Job, Other, Not Job):```[[ 52, 6, 0, 3],[ 3, 170, 8, 13],[ 8, 8, 57, 5],[ 1, 6, 1, 142]]```Validation: accuracy 0.892, macro-F1 0.875.**Board head (test, job posts only)**: macro-F1 0.736 (validation 0.796), on 333posts. This is a weaker secondary head: about one in three regular accounts islabelled as a job board.Per-class numbers rest on small supports (61 ML Job, 78 Other), so differences ofa few points are within noise. [Add bootstrap confidence intervals and a baseline here.]## Important notes- The board head was trained and evaluated on job posts only (posts labelled`Not Job` are excluded from its loss). `is_job_board` and `board_p` are `None`when the post is not classified as a job and should not be trusted there.- For filtering, threshold `p_job` instead of using the argmax if you want totrade precision against recall.- Input is a single post's text only. [Confirm: no author or metadata was used in training.]- `max_length` is 256 tokens; longer posts are truncated.## Limitations- The hardest boundaries are ML Job vs Job, and Other vs Job; expect to review those calls.- Evaluated on one dataset from one collection process (Twitter/X and LinkedInposts gathered with a specific search seed). Performance on other feeds,time periods or platforms is unknown.- Not intended for hiring decisions or for judging individuals or accounts."Job board" is a behavioural label, not an identity.## Training dataLabeled Twitter/X and LinkedIn posts ([N] in total), annotated with the labelscheme above by [who labelled]. The data is not released. Train, validation andtest are split by (platform, author), so the same account never appears in morethan one split.
README.md+65-8