Skip to content

xukai92/instructlab-poc-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstructLab POC Tutorial

1. SDG preparation

1.1 Get your document ready

Collect the knowledge documents in PDF format that you want to teach your model.

1.2 Prepare your qna.yaml file

You need to prepare a qna.yaml file to describe the types knowledge you want to teach your model.

2. Train the model

You can use the InstructLab Service on IBM Cloud to train your model.

3. Evaluate the model in RAG system

3.1 Serve the trained model

---with your serving method

You need to deploy the trained model, either on the cloud or downloading it and serving it locally.

3.2 Use the trained model to answer questions and run evaluation

---with your favorite RAG system

You can follow this notebook where has a simple RAG with LLM judge evaluation.

  • You don't have to use the RAG system in the notebook---you can use your own RAG system and continue the evaluation with from the section called "Grade responses using Judge Model".
  • Note, it's always important to evaluate the responses manually to make sure the model response and the LLM judge are working as expected.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •