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
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.