Monday, 19 August 2024

Save Model and Reuse

 

In Python we have an option to save the Model as a file and Reuse it. There are 2 libraries available to save the Models.

1. Pickle

2. Joblib


Please follow the below code to save the Model that demonstrates the usage of above mentioned 2 libraries and loading back the Model from file

https://github.com/LeelaPrasadG/AILearning/blob/main/ML/3_SaveModel/Savemodel_PickleandJoblib.ipynb


No comments:

Post a Comment

Building a ReAct Agent with LangGraph & LangSmith

In this post, I walk through building a ReAct (Reasoning + Acting) agent using LangGraph and Groq's openai/gpt-oss-120b model, where the...