NLP-Legal-Texts / util /configuration.py
Daniel Steinigen
add demonstrator
a50f42c
raw history blame
No virus
313 Bytes
from pydantic import BaseModel
class InferenceConfiguration(BaseModel):
model_path_keyfigure: str = "danielsteinigen/KeyFiTax"
spacy_model: str = "de_core_news_sm"
transformer_model: str = "xlm-roberta-large"
merge_entities: bool = True
split_len: int = 200
extract_relations: bool = True