-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env
More file actions
86 lines (58 loc) · 2.67 KB
/
.env
File metadata and controls
86 lines (58 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# The full path to the model file
BASE_MODEL_FULL_PATH=${MODEL_PACKAGE_FULL_PATH}
# The device literal, either "default", "cpu[:X]", "cuda[:X]" or "mps[:X]"
DEVICE=default
# If "true", include the text of the entity in the NER output
INCLUDE_SPAN_TEXT=false
# If "true", merge adjacent entities of the same type into one span
CONCAT_SIMILAR_ENTITIES=true
# If "true", enable the APIs for model training
ENABLE_TRAINING_APIS=true
# If "true", disable the API for unsupervised training
DISABLE_UNSUPERVISED_TRAINING=false
# If "true", disable the API for metacat training
DISABLE_METACAT_TRAINING=false
# If "true", enable the APIs for evaluating the model being served
ENABLE_EVALUATION_APIS=true
# If "true", enable the APIs for previewing the NER output
ENABLE_PREVIEWS_APIS=true
# The mlflow tracking URI
MLFLOW_TRACKING_URI=file:/tmp/mlruns
# If "true", replace the running model with the newly trained one
REDEPLOY_TRAINED_MODEL=false
# If "true", newly trained models won't be saved but training metrics will be collected
SKIP_SAVE_MODEL=false
# If "true", newly trained models won't be saved but training metrics will be collected
SKIP_SAVE_TRAINING_DATASET=true
# The timeout in seconds on the WebSocket connection being idle
WS_IDLE_TIMEOUT_SECONDS=60
# The comma-separated TUIs used for filtering and if set to "", all TUIs are whitelisted
TYPE_UNIQUE_ID_WHITELIST=
# The rate limit on the /process* route
PROCESS_RATE_LIMIT=180/minute
# The rate limit on the /process_bulk* route
PROCESS_BULK_RATE_LIMIT=90/minute
# If "true", enable user authentication on API access
AUTH_USER_ENABLED=false
# The JWT secret and will be ignored if AUTH_USER_ENABLED is not "true"
AUTH_JWT_SECRET=
# The seconds after which the JWT will expire
AUTH_ACCESS_TOKEN_EXPIRE_SECONDS=3600
# The URL of the authentication database
AUTH_DATABASE_URL=sqlite+aiosqlite:///./cms-users.db
# If set, enable the logging on system metrics and set the interval in seconds
SYSTEM_METRICS_LOGGING_INTERVAL_SECONDS=30
# The comma-separated concept IDs used for filtering annotations of interest
TRAINING_CONCEPT_ID_WHITELIST=
# If "true", serialise the trained model using safe tensors
TRAINING_SAFE_MODEL_SERIALISATION=false
# The strategy used for aggregating the predictions of the Hugging Face NER model
HF_PIPELINE_AGGREGATION_STRATEGY=simple
# The tagging scheme during the Hugging Face NER model training, either "flat", "iob" or "iobes"
TRAINING_HF_TAGGING_SCHEME=flat
# The comma-separated names of ontologies for MedCAT2 to map to
MEDCAT2_MAPPED_ONTOLOGIES=opcs4,icd10
# If "true", attempt to use SPDA attention for Hugging Face LLM loading
ENABLE_SPDA_ATTN=true
# If "true", the debug mode is switched on
DEBUG=false