epfLLM / meditron

Meditron is a suite of open-source medical Large Language Models (LLMs).

Home Page:https://huggingface.co/epfl-llm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with using model

dishantsingla opened this issue · comments

Trying the prompt give in the paper but the model just repeats the question without any helpful answers. I am prompting it wrong?

image

Hi there! Thank you for reaching out to us.

The above prompt template was used for the versions of Meditron finetuned for specific tasks. The models we uploaded to Huggingface are pretrained Meditron models without any task-specific finetuning.

For prompting the pretrained models, we recommend following the "one-shot" conversation template of FastChat. Here is an example template we used to collect the generations in our qualitative analysis (Appendix E.1):
Screenshot 2023-12-02 at 18 41 06
You can adjust the system message, the one-shot example, and any other decoding parameters to improve the generation.

We hope that this help answer your questions. Looking forward to hearing more feedback!