-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Add Serde to CountVectorizer, to export and import it #291
Comments
I don't think |
Sure !
Then, you can import the model and use it, like this :
This really works with ease (with the SVM-model), but the way I find out that a model doesn't support serde serialization is by trying to pass it to the
|
I just cloned your repository with the addition of serde support, thank you very much!
But the following error occurs :
Maybe Im testing it wrong? If so, any other idea on how to test it without merging to the master branch? |
Did you enable the |
I just tested with the |
I just tested adding the |
Hello again!
I'm trying to make a project trying to compile a Machine Learning model to WASM and be able to put it in a browser using a UI framework, you can see the repository here.
I think it would be very useful if it were easier to export and import already trained models (like joblib with Sklearn) since it would open up a world of possibilities to be able to "embed" machine learning models anywhere!
I have been investigating a bit about how serde and ciborium work, I have managed to export one or another model but it has been very difficult for me. I'd like to help lymph models do this, but my knowledge of Rust is minimal.
Especially if someone could help me tell me how I can export a count vectorizer for my project I would greatly appreciate it.
The text was updated successfully, but these errors were encountered: