Views
No views yet
skill-classifier-base-v2 is a lightweight, efficient binary sequence classification model designed for sentence-level skill statement classification. It detects whether a specific sentence mentions a skill that might be required on the job. It is build on top of the compact prajjwal1/bert-small model.text-classification pipeline.1from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
2
3model_name = "loyoladatamining/skill-classifier-base-v2"
4model = AutoModelForSequenceClassification.from_pretrained(model_name)
5tokenizer = AutoTokenizer.from_pretrained(model_name, max_length=64, truncation=True)
6
7# Create text classification pipeline
8nlp = pipeline(
9 "text-classification",
10 model=model,
11 tokenizer=tokenizer,
12 max_length=64,
13 truncation=True
14)
15
16# Inference
17text = "Proficient in Python programming, SQL databases, and cloud infrastructure management."
18result = nlp(text)
19print(result)1[
2 {
3 "label": "LABEL_1",
4 "score": 0.9912
5 }
6]LABEL_0: The text does not contain any skill statements.LABEL_1: The text contains a skill statement or skill language.skill-classifier-base-v2 was evaluated against its previous iteration (skill-classifier-base) using the loyoladatamining/usajobs_validation dataset.| Model | Accuracy | F-1 |
|---|---|---|
| skill-classifier-base | 0.8335 | 0.8437 |
| skill-classifier-base-v2 | 0.9748 | 0.9749 |
@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}
}