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
*`export-openapi-spec`: This generates an API document for all...
25
28
*`stream`: This groups various stream operations
26
29
*`package`: This groups various package operations
30
+
*`mcp`: Run the MCP server for accessing CMS...
27
31
28
32
## `cms serve`
29
33
@@ -37,14 +41,17 @@ $ cms serve [OPTIONS]
37
41
38
42
**Options**:
39
43
40
-
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner]`: The type of the model to serve [required]
41
-
*`--model-path TEXT`: The file path to the model package
44
+
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner|huggingface_llm]`: The type of the model to serve [required]
45
+
*`--model-path TEXT`: Either the file path to the local model package or the URL to the remote one
42
46
*`--mlflow-model-uri models:/MODEL_NAME/ENV`: The URI of the MLflow model to serve
43
47
*`--host TEXT`: The hostname of the server [default: 127.0.0.1]
44
48
*`--port TEXT`: The port of the server [default: 8000]
45
49
*`--model-name TEXT`: The string representation of the model name
46
50
*`--streamable / --no-streamable`: Serve the streamable endpoints only [default: no-streamable]
47
51
*`--device [default|cpu|cuda|mps]`: The device to serve the model on [default: default]
52
+
*`--llm-engine [CMS|vLLM]`: The engine to use for text generation [default: CMS]
53
+
*`--load-in-4bit / --no-load-in-4bit`: Load the model in 4-bit precision, used by 'huggingface_llm' models [default: no-load-in-4bit]
54
+
*`--load-in-8bit / --no-load-in-8bit`: Load the model in 8-bit precision, used by 'huggingface_llm' models [default: no-load-in-8bit]
48
55
*`--debug / --no-debug`: Run in the debug mode
49
56
*`--help`: Show this message and exit.
50
57
@@ -60,7 +67,7 @@ $ cms train [OPTIONS]
60
67
61
68
**Options**:
62
69
63
-
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner]`: The type of the model to train [required]
70
+
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner|huggingface_llm]`: The type of the model to train [required]
64
71
*`--base-model-path TEXT`: The file path to the base model package to be trained on
65
72
*`--mlflow-model-uri models:/MODEL_NAME/ENV`: The URI of the MLflow model to train
66
73
*`--training-type [supervised|unsupervised|meta_supervised]`: The type of training [required]
@@ -71,6 +78,8 @@ $ cms train [OPTIONS]
71
78
*`--description TEXT`: The description of the training or change logs
72
79
*`--model-name TEXT`: The string representation of the model name
73
80
*`--device [default|cpu|cuda|mps]`: The device to train the model on [default: default]
81
+
*`--load-in-4bit / --no-load-in-4bit`: Load the model in 4-bit precision, used by 'huggingface_llm' models [default: no-load-in-4bit]
82
+
*`--load-in-8bit / --no-load-in-8bit`: Load the model in 8-bit precision, used by 'huggingface_llm' models [default: no-load-in-8bit]
74
83
*`--debug / --no-debug`: Run in the debug mode
75
84
*`--help`: Show this message and exit.
76
85
@@ -86,7 +95,7 @@ $ cms register [OPTIONS]
86
95
87
96
**Options**:
88
97
89
-
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner]`: The type of the model to register [required]
98
+
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner|huggingface_llm]`: The type of the model to register [required]
90
99
*`--model-path TEXT`: The file path to the model package [required]
91
100
*`--model-name TEXT`: The string representation of the registered model [required]
92
101
*`--training-type [supervised|unsupervised|meta_supervised]`: The type of training the model went through
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner]`: The type of the model to serve [required]
120
+
*`--model-type [medcat_snomed|medcat_umls|medcat_icd10|medcat_opcs4|medcat_deid|anoncat|transformers_deid|huggingface_ner|huggingface_llm]`: The type of the model to serve [required]
112
121
*`--add-training-apis / --no-add-training-apis`: Add training APIs to the doc [default: no-add-training-apis]
113
122
*`--add-evaluation-apis / --no-add-evaluation-apis`: Add evaluation APIs to the doc [default: no-add-evaluation-apis]
114
123
*`--add-previews-apis / --no-add-previews-apis`: Add preview APIs to the doc [default: no-add-previews-apis]
0 commit comments