SearcharxivSearch

arXiv subjects

Francisco Guerrero

Publications and source records attributed to Francisco Guerrero.

4 recordsLinked to original sources

Prompt engineering and framework: implementation to increase code reliability based guideline for LLMs

In this paper, we propose a novel prompting approach aimed at enhancing the ability of Large Language Models (LLMs) to generate accurate Python code. Specifically, we introduce a prompt template designed to improve the quality and correctness of generated code snippets, enabling them to pass tests and produce reliable results. Through experiments conducted on two state-of-the-art LLMs using the HumanEval dataset, we demonstrate that our approach outperforms widely studied zero-shot and Chain-of-Thought (CoT) methods in terms of the Pass@k metric. Furthermore, our method achieves these improvements with significantly reduced token usage compared to the CoT approach, making it both effective and resource-efficient, thereby lowering the computational demands and improving the eco-footprint of LLM capabilities. These findings highlight the potential of tailored prompting strategies to optimize code generation performance, paving the way for broader applications in AI-driven programming tasks.

cs.SE

KK bar scattering amplitude to one loop in chiral perturbation theory, its unitarization and pion form factors

We have calculated the KK bar --> KK bar scattering amplitude to next to leading order in Chiral Perturbation Theory. Then, making use of a unitarization procedure with one or several coupled channels (ππ, KK bar in our case) we have calculated the ππ--> ππ, ππ--> KK bar and KK bar --> KK bar S and P waves in good agreement with the experiment up to \sqrt{s}= 1.2 GeV. The ππscattering lengths with isospin and spin (I,J) equal to (0,0), (1,1) and (2,0) are also calculated in agreement with experiment and former Chiral Perturbation Theory calculations. Finally we have employed these amplitudes, making use of an Omnes representation, to calculate the scalar and the vector pion form factors, obtaining a good agreement with the available experimental data.

hep-ph

Kaon Polarizabilities in Chiral Perturbation Theory

We study the kaon polarizabilities in the framework of Chiral Perturbation Theory to order $p^4$. For the neutral kaon we find that them vanish and they have the first non-zero contribution to order $p^6$. We also emphasize the theoretical potential of an eventual measuremnet of the kaon polarizabilities, in particular of the neutral kaon ones.

hep-ph