question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTP API - option to load a model after training

See original GitHub issue

Description 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:open
  • Created 4 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
dingusagarcommented, Apr 24, 2021

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 😃

0reactions
sync-by-unito[bot]commented, Dec 19, 2022

➤ 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found