HTTP API - option to load a model after training
See original GitHub issueDescription of Problem: Prior to v1.0 a model would be loaded after training it, and automatically used for parsing unless otherwise specified. Now I would have to: POST /model/train
PUT /model
It would be nice to be able to do this with one API call as before.
Overview of the Solution: I suggest adding an request body parameter to POST /model/train
which would load the new model after training.
This could be a boolean named load.
Definition of Done:
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Deploying a Machine Learning Model as a REST API
Once you have built your model and REST API and finished testing locally, you can deploy your API just as you would any...
Read more >Turning Machine Learning Models into APIs with Python Flask
Learn to how to make an API interface for your machine learning model in Python using Flask. Follow our step-by-step tutorial with code...
Read more >How to Save and Load Your Keras Deep Learning Model
Keras provides the ability to describe any model using JSON format with a to_json() function. This can be saved to a file and...
Read more >Save and load Keras models | TensorFlow Core
When saving the model and its layers, the SavedModel format stores the class name, call function, losses, and weights (and the config, if ......
Read more >How to Train a Machine Learning Model as a REST API and ...
This guide helps you build a custom machine learning model from scratch. You'll train it and make it a Rest API with the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @erohmensing Here is my PR #8538 . Have added a request param - load_model to the existing /model/train API. If this param is set to true, the trained model is loaded to the agent. please review and suggest improvements if any. Thanks 😃
➤ Maxime Verger commented:
💡 Heads up! We’re moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS.
From now on, this Jira board is the place where you can browse (without an account) and create issues (you’ll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue!
➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569.