Views
No views yet
title_value is a fine-tuned sequence classification model adapted for value extraction (regression) on job posting titles.
In particular, this model maps job title strings to a single, real-valued numerical score reflecting the structural/hierarchical seniority of the job role.pipeline API, you must set function_to_apply="none".
This ensures the raw numerical logit output is returned rather than passing through an activation function like softmax or sigmoid.1from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
2
3model_name = "loyoladatamining/title_value"
4
5# Explicitly load as a regression model with 1 output label
6model = AutoModelForSequenceClassification.from_pretrained(
7 model_name,
8 num_labels=1,
9 problem_type="regression"
10)
11tokenizer = AutoTokenizer.from_pretrained(model_name)
12
13# Create text classification pipeline
14nlp = pipeline(
15 "text-classification",
16 model=model,
17 tokenizer=tokenizer,
18 function_to_apply="none"
19)
20
21# Inference
22title = "Senior Cloud Infrastructure Architect"
23result = nlp(title)
24print(result)1[
2 {
3 "label": "LABEL_0",
4 "score": 2.172
5 }
6]@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}
}