Closed tristan279 closed 2 days ago
i finetuned miniCPM-v-2_6 with this dataset format:
"id":str(i), "image":{"<image_upper>":f"path_upper","<image_lower>":f"path_lower"}, "conversations": [{"role": "user", "content": f"<image_upper><image_lower>{prompt}"},{"role":"assistant","content":text}]
how do i invoke the model with the exact same prompt, using transformers library? prompt format was not given in the finetuning example
https://modelbest.feishu.cn/wiki/HvfLwYzlIihqzXkmeCdczs6onmd?from=from_copylink,please check this blog
i finetuned miniCPM-v-2_6 with this dataset format:
"id":str(i), "image":{"<image_upper>":f"path_upper","<image_lower>":f"path_lower"}, "conversations": [{"role": "user", "content": f"<image_upper><image_lower>{prompt}"},{"role":"assistant","content":text}]
how do i invoke the model with the exact same prompt, using transformers library? prompt format was not given in the finetuning example