Closed alibabadoufu closed 3 months ago
Could you provide the exact configuration? In which mode did you try to run the code?
Could you provide the exact configuration? In which mode did you try to run the code?
Hi, I am using huggingfacepipeline.
Referring to the screenshot below, the all_results doesn't contain the key "samples"
When working with huggingfacepipeline you should change the meta prompts to the completion format in the config_default file (the default meta prompts are using openAI functions):
meta_prompts:
folder: 'prompts/meta_prompts_completion'
Output of the sample_batches doesn't have the sample keys
Reference: https://github.com/Eladlev/AutoPrompt/blob/c640cc0108e78601b474b380462a1a6274318fcc/optimization_pipeline.py#L192C25-L192C32