From the course: AI Toolkit Essentials for Visual Studio Code

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Testing your fine-tuned model

Testing your fine-tuned model

- [Instructor] When the fine tuning process is over, we do have a way to test the models. And they also provide scripts that will show us the code needed to run the fine tune model in a Python environment. And we can find these scripts in the inference folder. And we'll close these up here. And here's the inference folder. There are scripts for two hosting environments that they give us, console and gradio. The console version is exactly as it sounds. It allows us to start a console command and it then allows us to send prompts and receive responses in the terminal. Unfortunately, both of these packages require some extra PIP installations to be made. And we're going to use gradio because it allows us to adjust some of the models parameters interactively. So the package we need to install is sse-starlette, and this package implements the server-side event standards and is used to send information to the browser without refreshing the page. And so we're going to go and install it now…

Contents