templates.CustomSVMSequenceTemplateSchema
- class templates.CustomSVMSequenceTemplateSchema(*args, **kwargs)
Custom SMV Sequence Template
Parameters
Parameters
Name Type Default Info model_path strPath to trained binary SVM model. feature_field strField containing embeddings. feature_span_field strField containing spans that map to embeddings. min_distance floatMinimum distance. model_name strSVM model name. - static artifact_config_keys()
The names of the fields in the template schema pydantic model that represent paths to files or directories that contain data which back the LF template. For example, paths to a dictionary on disk that’s used within an LF.
Return type
Return type
List[str]
artifact\_config\_keys
artifact_config_keys