Downloads · 30 days
111
5% of all-time downloads
nestauk/jobbert-base-cased-compdecs
jobbert-base-cased-compdecs is a text classification model from nestauk. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
Nesta, the UK's innovation agency, has been scraping online job adverts since 2021 and building algorithms to extract and structure information as part of the Open Jobs Observatory project.
Downloads · 30 days
111
5% of all-time downloads
All-time downloads
2.5K
Public
Repo size
867 MB
Likes
2
Public
Click a slice to open those files.
.bin433 MB · 100%
From the Hugging Face model README
Nesta, the UK's innovation agency, has been scraping online job adverts since 2021 and building algorithms to extract and structure information as part of the Open Jobs Observatory project.
Although we are unable to share the raw data openly, we aim to open source our models, algorithms and tools so that anyone can use them for their own research and analysis.
This model is a fine-tuned version of jjzha/jobbert-base-cased. JobBERT is a continuously pre-trained bert-base-cased checkpoint on ~3.2M sentences from job postings.
It has been fine tuned with a classification head to binarily classify job advert sentences as being a company description or not.
The model was trained on 486 manually labelled company description sentences and 1000 non company description sentences less than 250 characters in length.
It achieves the following results on a held out test set 147 sentences:
| Label | precision | recall | f1-score | support |
|---|---|---|---|---|
| not company description | 0.930693 | 0.959184 | 0.944724 | 98 |
| company description | 0.913043 | 0.857143 | 0.884211 | 49 |
The code for training the model is in our ojd_daps_language_models repo, a central repository for fine-tuning transformer models on our database of scraped job adverts.
To use the model:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
from transformers import pipeline
model = AutoModelForSequenceClassification.from_pretrained("nestauk/jobbert-base-cased-compdecs")
tokenizer = AutoTokenizer.from_pretrained("nestauk/jobbert-base-cased-compdecs")
comp_classifier = pipeline('text-classification', model=model, tokenizer=tokenizer)
An example use is as follows:
job_sent = "Would you like to join a major manufacturing company?"
comp_classifier(job_sent)
>> [{'label': 'LABEL_1', 'score': 0.9953641891479492}]
The intended use of this model is to extract company descriptions from online job adverts to use in downstream tasks such as mapping to Standardised Industrial Classification (SIC) codes.
The following hyperparameters were used during training:
The fine-tuning metrics are as follows: