We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef4d618 commit af57c40Copy full SHA for af57c40
1 file changed
model2vec/quantization.py
@@ -36,7 +36,7 @@ def quantize_embeddings(embeddings: np.ndarray, quantize_to: DType) -> np.ndarra
36
37
38
def quantize_and_reduce_dim(
39
- embeddings: np.ndarray, quantize_to: DType | str | None, dimensionality: int | None
+ embeddings: np.ndarray, quantize_to: str | DType | None, dimensionality: int | None
40
) -> np.ndarray:
41
"""
42
Quantize embeddings to a datatype and reduce dimensionality.
0 commit comments