Closed sefeoglu closed 2 weeks ago
Hi, Please check api is False or not after the 2nd presentation. It is not working only for local zero-shot prompting. It should be :
if api: if api_type == 'llama': response = zero_shot_prompting_llama(llama_api, example, context_type, prompt_template) elif api_type == 'groq': response = zero_shot_prompting_groq(groq_client, example, context_type, prompt_template, model_id) else: response = zero_shot_prompting_local(model, tokenizer, example, context_type, prompt_template)
https://github.com/nikolas-rauscher/ARDI-Scholarly-QALD/blob/ed64b7195ed755b09b3f4c7410014a8f18013020/src/models/zero_shot_prompting_pipeline.py#L270-L275
Hi, Please check api is False or not after the 2nd presentation. It is not working only for local zero-shot prompting. It should be :
https://github.com/nikolas-rauscher/ARDI-Scholarly-QALD/blob/ed64b7195ed755b09b3f4c7410014a8f18013020/src/models/zero_shot_prompting_pipeline.py#L270-L275