Few Shot Example

#9
by chaydaroglu - opened

Hi, is it possible to give examples on this model? For instance, I want my model to learn some features to decide if it is true or false.

Llava Hugging Face org

@nielsr is this the correct promt for few shot training? I am providing the required images to processor

prompt = [
"[INST] \nWhat can you infer from the ecg? [/INST] The ECG shows 13 beats with a maximum amplitude of 0.6992553483687857. Beats Description: [Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat] [/INST]",
"[INST] \nWhat can you infer from the ecg? [/INST] The ECG shows 15 beats with a maximum amplitude of 0.20170827356791896. Beats Description: [Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat] [/INST]",
"[INST] \nWhat can you infer from the ecg? [/INST] The ECG shows 7 beats with a maximum amplitude of 0.9278580584124272. Beats Description: [Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat, Normal beat] [/INST]",
"[INST] \nWhat can you infer from the ecg? [/INST] The ECG shows 14 beats with a maximum amplitude of 0.4437582018494217. Beats Description: [Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat, Unclassifiable beat] [/INST]"
]

Sign up or log in to comment