You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/config.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ class Settings(BaseSettings): # type: ignore
34
34
TRAINING_METRICS_LOGGING_INTERVAL: int=5# the number of steps after which training metrics will be collected
35
35
TRAINING_SAFE_MODEL_SERIALISATION: str="false"# if "true", serialise the trained model using safe tensors
36
36
TRAINING_CACHE_DIR: str=os.path.join(os.path.abspath(os.path.dirname(__file__)), "cms_cache") # the directory to cache the intermediate files created during training
37
+
TRAINING_HF_TAGGING_SCHEME: str="flat"# the tagging scheme during the Hugging Face NER model training, either "flat", "iob" or "iobes"
37
38
HF_PIPELINE_AGGREGATION_STRATEGY: str="simple"# the strategy used for aggregating the predictions of the Hugging Face NER model
38
39
LOG_PER_CONCEPT_ACCURACIES: str="false"# if "true", per-concept accuracies will be exposed to the metrics scrapper. Switch this on with caution due to the potentially high number of concepts
39
40
MEDCAT2_MAPPED_ONTOLOGIES: str=""# the comma-separated names of ontologies for MedCAT2 to map to
0 commit comments