dummy-ner / dummy_ner /__init__.py
percevalw's picture
Upload folder using huggingface_hub
c79c37b verified
raw
history blame
447 Bytes
# -----------------------------------------
# This section was autogenerated by edsnlp
# -----------------------------------------
import edsnlp
from pathlib import Path
from typing import Optional, Dict, Any
__version__ = None
def load(
overrides: Optional[Dict[str, Any]] = None,
) -> edsnlp.Pipeline:
artifacts_path = Path(__file__).parent / "artifacts"
model = edsnlp.load(artifacts_path, overrides=overrides)
return model