Skip to content

Latest commit

 

History

History
 
 

localized_llms

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Localized D-Bot

We record the diagnosis processes of D-Bot(GPT-4), and fine-tune LLMs to simulate the corresponding D-Bot(GPT-4) response (after cleaned). We fine-tune three localized LLMs, i.e., Llama 2-13B, CodeLlama-13B, Baichuan2-13B.

🗺 Demo

A demo of comparing diagnosis performance of D-Bot(GPT-4) and our Localized D-Bot:

🕹 QuickStart

(optional) Step 1: Download Pretrained Model Parameters:

You may also require to replace the ``load'' argument in inference.py with your download path, e.g.,

class DiagBaichuan2Args(BaseModel):
    load: str = Field(default="curtis-sun/diag-baichuan2")

Step 2: Configure Agents Equipped with localized LLM, e.g., rename config_diag-baichuan2-4bit.yaml as config.yaml.

Then run the project the same as with OpenAI APIs.