orkgnlp.clustering.encoders

Common encoders for the clustering services.

Classes

TfidfKmeansEncoder

The TfidfKmeansEncoder encodes the given input to a TF-IDF vector needed to execute a Kmeans onnx model.

TransformerKmeansEncoder

The SciBERTKmeansEncoder encodes the given input to a SciBERT vector needed to execute a Kmeans onnx model.