Skip to content

Commit af57c40

Browse files
committed
fix typing
1 parent ef4d618 commit af57c40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

model2vec/quantization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def quantize_embeddings(embeddings: np.ndarray, quantize_to: DType) -> np.ndarra
3636

3737

3838
def quantize_and_reduce_dim(
39-
embeddings: np.ndarray, quantize_to: DType | str | None, dimensionality: int | None
39+
embeddings: np.ndarray, quantize_to: str | DType | None, dimensionality: int | None
4040
) -> np.ndarray:
4141
"""
4242
Quantize embeddings to a datatype and reduce dimensionality.

0 commit comments

Comments
 (0)