Crawling individual hiring posts on X/LinkedIn with BERT instead of an LLM A BERT-based classifier named good_job, published on Hugging Face under the account SpiderHomie, identifies job opportunities in social media posts by sorting them into four classes: ML Job, Job, Other, and Not Job. Evaluated on a held-out test set of 823 posts split by author to prevent account leakage, good_job reached 89.91% accuracy and a 0.874 macro-F1, with recall of 98.12% on Not Job, 89.36% on ML Job, 87.57% on Job, and 84.71% on Other. The model ran CPU inference at roughly 39 posts per second with 6 threads and batch size 32, measured on forward-pass time without quantization. good job is a BERT-based classifier that identifies job opportunities from social media posts. The project is built around a simple problem: social media contains a lot of useful opportunities, but finding them programmatically is difficult. Posts are often repeated, written in different formats, published by job boards, or mixed with completely unrelated content. But training a classifier on raw social media data comes with its own problems. Before working on the model, I needed to make sure the dataset was useful, sufficiently varied, and split in a way that wouldn't give misleading evaluation results. This project is divided into two main parts: preparing the dataset and training the classifier. Link to Hugging Face: https://huggingface.co/SpiderHomie/goodjob https://huggingface.co/SpiderHomie/goodjob The model predicts the type of a post using four classes. | Label | Meaning | |---|---| | ML Job | Machine learning and AI-related jobs, including engineering and research roles | | Job | Software-related paid work, including engineering jobs, freelance work, and software services | | Other | Paid work that isn't directly software-related, such as data annotation, RLHF, and evaluator work | | Not Job | Everything else | The model uses a BERT encoder with a single four-class classification head. It also derives a binary is job prediction from the four-class output, where anything other than Not Job is considered a potential opportunity. Raw social media posts | v Dataset preparation | v Text cleaning | v Similarity-based cleanup | v Author-grouped splitting | v Training dataset | v BERT encoder | v Four-class classification | +---------+---------+ | | | v v v ML Job Job Other | v Not Job The dataset preparation stage focuses on removing redundant content, preserving useful examples, preventing author leakage, and handling class imbalance. The classifier stage focuses on learning the relationship between post content and opportunity categories. The model was evaluated on a held-out test set of 823 posts, with data splits grouped by author to prevent the same account from appearing in multiple splits. | Metric | Test performance | |---|---| | Accuracy | 89.91% | | Macro-F1 | 0.874 | | Test samples | 823 | The model achieved 98.12% recall on the Not Job class, while maintaining 89.36% recall on ML Job , 87.57% on Job , and 84.71% on Other . CPU inference was benchmarked at approximately 39 posts/second with 6 threads and batch size 32, measuring model forward-pass time without quantization. The implementation and reasoning are explained in two separate documents. Explains how I turn raw social media posts into a usable training dataset. It covers text normalization, why I chose MiniLM and TF-IDF for similarity detection, why I use a graph instead of deleting posts based on a simple threshold, how I decide which posts to keep, and why the dataset is split by author. It also explains how I handle class imbalance without artificially changing the validation and test distributions. Explains the model architecture and how it is trained. It covers the BERT encoder, the four-class classification head, training objectives, imbalance handling, optimization, evaluation, and inference. I didn't want to build a model that performs well only because it has seen the same announcements or authors during training. A large dataset doesn't necessarily mean a diverse dataset. Repeated posts can make the training set look bigger without providing much additional information. That's why dataset preparation is an important part of this project, rather than just a preprocessing step. The goal is to train a classifier that learns from useful and varied examples and can make predictions on posts it hasn't seen before.