Views
No views yet
ai-classifier-small-v4 is a binary sequence classification model fine-tuned to identify artificial intelligence (AI) related statements, requirements, and skills within job postings. This version (v4) represents a significant upgrade over previous iterations, having been further fine-tuned and validated using data sourced across two distinct job postings corpora, to ensure greater domain generalizability.text-classification pipeline.1from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
2
3model_name = "loyoladatamining/ai-classifier-small-v4"
4model = AutoModelForSequenceClassification.from_pretrained(model_name)
5tokenizer = AutoTokenizer.from_pretrained(model_name, max_length=128, truncation=True)
6
7# Create text classification pipeline
8nlp = pipeline(
9 "text-classification",
10 model=model,
11 tokenizer=tokenizer,
12 max_length=128,
13 truncation=True
14)
15
16# Inference
17text = "Experience building large language models (LLMs) or deploying machine learning pipelines is required."
18result = nlp(text)
19print(result)1[
2 {
3 "label": "LABEL_1",
4 "score": 0.9842
5 }
6]LABEL_0: The text does not contain statements or requirements related to AI.LABEL_1: The text contains explicitly AI-related statements, technologies, or job requirements.ai-classifier-small-v3.1), using the loyoladatamining/usajobs_validation dataset.
This newer version demonstrates significantly better performance on the AI statement classification portion:| Model | Accuracy | F-1 |
|---|---|---|
| ai-classifier-small-v3.1 | 0.6375 | 0.6780 |
| ai-classifier-small-v4 | 0.9339 | 0.9343 |
@article{meisenbacher2025extracting,
title={Extracting O* NET Features from the NLx Corpus to Build Public Use Aggregate Labor Market Data},
author={Meisenbacher, Stephen and Nestorov, Svetlozar and Norlander, Peter},
year={2025}
}