Back to search

ITESO

Enhancing LLM Performance in Specialized Spanish Domains Using RAG and PEFT QLoRA

Abstract

dc:description.abstract

This project explores improving the performance of large language models (LLMs) in Spanish legal domains by combining Retrieval-Augmented Generation (RAG) with Parameter-Efficient Fine-Tuning (PEFT) using the QLoRA technique. Four experiments were conducted to evaluate zero-shot performance across open-ended, closed-ended, and summarization tasks. These included a vanilla baseline, a RAG-enhanced version, and two fine-tuned models (with and without RAG). The training and retrieval data were synthetically generated through a cloud-based, serverless ETL process aligned with medallion architecture principles. Experiments focused on the Ley de Impuesto sobre la Renta 2024. Evaluation used BERTScore, ROUGE, and BLEU metrics to assess semantic similarity, n-gram overlap, and linguistic precision.

Degree

thesis:*
Grantor dc:publisher
ITESO
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Badillo-Rangel, Erick
Advisor dc:contributor.advisor
  • Escobar-Vega, Luis M.

Subjects

dc:subject × 5

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Citation
Badillo-Rangel, E. (2024). Enhancing LLM performance in Specialized Spanish Domains using RAG and PEFT QLoRA. Trabajo de obtención de grado, Maestría en Sistemas Computacionales. Tlaquepaque, Jalisco: ITESO.

Chain of custody

source
Harvested from
ITESO
Base URL
rei.iteso.mx/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Badillo-Rangel, Erick. Enhancing LLM Performance in Specialized Spanish Domains Using RAG and PEFT QLoRA. ITESO, 2024. https://hdl.handle.net/11117/11630