Edit model card

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Extraction of Formal Educational Requirements from Online Job Advertisements

Usage

from huggingface_hub import snapshot_download
import sys

# download snapshot of model
path = snapshot_download(
    cache_dir="tmp/",
    repo_id="bertelsmannstift/oja_education_extraction",
    revision="main",
    token=HF_TOKEN,
)

# Add pipeline module to path and import 
sys.path.append(path)
from pipeline import PipelineWrapper

# Init model
pipeline = PipelineWrapper(path=path)

# Predictions
queries = [{"posting_id": "123",
         "full_text": "Wir sind Firma XYZ. Wir suchen einen Data Scientist. Sie haben Mathematik, Politikwissenschaften oder ein vergleichbares Fach studiert.",
         "candidate_description": None,
         "job_description": None}]

result = pipeline(queries)

Downloads last month
0
Inference Examples
Inference API (serverless) is not available, repository is disabled.