Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency: TransformerBaseClassification.embed() returns np.float32 while SetFitClassification returns np.float64 #48

Open
chschroeder opened this issue Oct 13, 2023 · 0 comments
Labels
good first issue Good for newcomers improvement Improve existing functionality or code.

Comments

@chschroeder
Copy link
Contributor

chschroeder commented Oct 13, 2023

Desired Solution

Clearly specify the EmbeddingMixin and make all implementations behave consistently. All returned embeddings should be np.float32.

This fits in well with the ongoing typing efforts.

@chschroeder chschroeder added the improvement Improve existing functionality or code. label Oct 13, 2023
@chschroeder chschroeder added this to the small-text-2.0.0 milestone Feb 4, 2024
@chschroeder chschroeder added the good first issue Good for newcomers label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Improve existing functionality or code.
Projects
None yet
Development

No branches or pull requests

1 participant