CoolFace
Modelpublic

LPDoctor/en_core_web_sm_job_related

sourceHugging Facemitupdated 3y agoView on Hugging Face
2likes7downloads
Model Card

Custom spaCy NER Model for "Profession," "Facility," and "Experience" Entities

Overview

This spaCy-based Named Entity Recognition (NER) model has been custom-trained to recognize and classify entities related to "profession," "facility," and "experience." It is designed to enhance your text analysis capabilities by identifying these specific entity types in unstructured text data.

Key Features

Custom-trained for high accuracy in recognizing "profession," "facility," and "experience" entities. Suitable for various professional info streams tasks, such as information extraction, content categorization, and more. Currently Focus on the job seekers fields, can be easily integrated into your existing spaCy-based NLP pipelines.

Usage

Installation
You can install the custom spaCy NER model using pip:
bash
git lfs install
git clone https://huggingface.co/LPDoctor/en_core_web_sm_job_related
Example Usage

Here's how you can use the model for entity recognition in Python:

python

import spacy

# Load the custom spaCy NER model
nlp = spacy.load("en_core_web_sm_job")

# Process your text
text = "HR Specialist needed at Google, Dallas, TX, with expertise in employee relations and a minimum of 4 years of HR experience."
doc = nlp(text)

# Extract named entities
for ent in doc.ents:
    print(f"Entity: {ent.text}, Type: {ent.label_}")
Entity Types

The model recognizes the following entity types:

  • —PROFESSION: Represents professions or job titles.
  • —FACILITY: Denotes facilities, buildings, or locations.
  • —EXPERIENCE: Identifies mentions of work experience, durations, or qualifications.
FeatureDescription
Nameen_core_web_sm_job
Version3.7.0
spaCy>=3.7.0,<3.8.0
Default Pipelinetok2vec, tagger, parser, attribute_ruler, lemmatizer, ner
Componentstok2vec, tagger, parser, senter, attribute_ruler, lemmatizer, ner
Vectors0 keys, 0 unique vectors (0 dimensions)
SourcesOntoNotes 5 (Ralph Weischedel, Martha Palmer, Mitchell Marcus, Eduard Hovy, Sameer Pradhan, Lance Ramshaw, Nianwen Xue, Ann Taylor, Jeff Kaufman, Michelle Franchini, Mohammed El-Bachouti, Robert Belvin, Ann Houston)<br />ClearNLP Constituent-to-Dependency Conversion (Emory University)<br />WordNet 3.0 (Princeton University)
LicenseMIT

Label Scheme

<details>

<summary>View label scheme (116 labels for 3 components)</summary>

ComponentLabels
`tagger`$, '', ,, -LRB-, -RRB-, ., :, ADD, AFX, CC, CD, DT, EX, FW, HYPH, IN, JJ, JJR, JJS, LS, MD, NFP, NN, NNP, NNPS, NNS, PDT, POS, PRP, PRP$, RB, RBR, RBS, RP, SYM, TO, UH, VB, VBD, VBG, VBN, VBP, VBZ, WDT, WP, WP$, WRB, XX, _SP, ````
`parser`ROOT, acl, acomp, advcl, advmod, agent, amod, appos, attr, aux, auxpass, case, cc, ccomp, compound, conj, csubj, csubjpass, dative, dep, det, dobj, expl, intj, mark, meta, neg, nmod, npadvmod, nsubj, nsubjpass, nummod, oprd, parataxis, pcomp, pobj, poss, preconj, predet, prep, prt, punct, quantmod, relcl, xcomp
`ner`CARDINAL, DATE, EVENT, EXPERIENCE, FAC, FACILITY, GPE, LANGUAGE, LAW, LOC, MONEY, NORP, ORDINAL, ORG, PERCENT, PERSON, PRODUCT, PROFESSION, QUANTITY, TIME, WORK_OF_ART

</details>

Accuracy

TypeScore
TOKEN_P78.59
TOKEN_R63.58
TOKEN_F70.57
CUSTOM_TAG_ACC71.98