templates.CustomSVMSequenceTemplateSchema
- class templates.CustomSVMSequenceTemplateSchema(*args, **kwargs)
Custom SMV Sequence Template
Parameters
Parameters
Name Type Default Info model_path str
Path to trained binary SVM model. feature_field str
Field containing embeddings. feature_span_field str
Field containing spans that map to embeddings. min_distance float
Minimum distance. model_name str
SVM 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