{"id":{"repo_id":"iteso","oai_identifier":"oai:rei.iteso.mx:11117/11630"},"canonical_url":"https://search.ndltd.org/etd/iteso/oai:rei.iteso.mx:11117/11630","repository":{"repo_id":"iteso","name":"ITESO","base_url":"https://rei.iteso.mx/server/oai/request"},"display":{"title":"Enhancing LLM Performance in Specialized Spanish Domains Using RAG and PEFT QLoRA","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Badillo-Rangel, Erick"],"institution":"ITESO","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Escobar-Vega, Luis M."],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024-11","date_published":"2024-11","updated_at":"2026-11-26T14:19:41Z","subjects":["RAG","Large Language Models","LLM","ETL","PEFT"],"languages":["eng"],"rights":[],"rights_urls":["https://creativecommons.org/licenses/by-nc-nd/4.0/deed.es"],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["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."],"render_values":[{"text":"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.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/11117/11630","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/11117/11630","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiteso%3Aoai%3Arei.iteso.mx%3A11117%2F11630","prefix":"oai_dc"},"source_record":{"url":"https://rei.iteso.mx/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arei.iteso.mx%3A11117%2F11630","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Escobar-Vega, Luis M."]},{"key":"dc:creator","label":"Author","values":["Badillo-Rangel, Erick"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-06-25T19:56:05Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-06-25T19:56:05Z"]},{"key":"dc:date.issued","label":"Date","values":["2024-11"]},{"key":"dc:publisher","label":"Institution","values":["ITESO"]},{"key":"dc:type","label":"Dc Type","values":["info:eu-repo/semantics/masterThesis"]},{"key":"dc:type.version","label":"Dc Type Version","values":["info:eu-repo/semantics/acceptedVersion"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["RAG","Large Language Models","LLM","ETL","PEFT"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://creativecommons.org/licenses/by-nc-nd/4.0/deed.es"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["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."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/11117/11630"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.sponsorship","label":"Dc Description Sponsorship","values":["ITESO, A. C."]},{"key":"dc:title","label":"Title","values":["Enhancing LLM Performance in Specialized Spanish Domains Using RAG and PEFT QLoRA"]},{"key":"dc:title.alternative","label":"Alternative Title","values":["Mejora del rendimiento de los LLM en dominios especializados en español utilizando RAG y PEFT QLoRA"]}]}],"canonical_facts":{"dc:contributor.advisor":["Escobar-Vega, Luis M."],"dc:creator":["Badillo-Rangel, Erick"],"dc:date.accessioned":["2025-06-25T19:56:05Z"],"dc:date.available":["2025-06-25T19:56:05Z"],"dc:date.issued":["2024-11"],"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."],"dc:description.sponsorship":["ITESO, A. C."],"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."],"dc:identifier.uri":["https://hdl.handle.net/11117/11630"],"dc:language.iso":["eng"],"dc:publisher":["ITESO"],"dc:rights.uri":["https://creativecommons.org/licenses/by-nc-nd/4.0/deed.es"],"dc:subject":["RAG","Large Language Models","LLM","ETL","PEFT"],"dc:title":["Enhancing LLM Performance in Specialized Spanish Domains Using RAG and PEFT QLoRA"],"dc:title.alternative":["Mejora del rendimiento de los LLM en dominios especializados en español utilizando RAG y PEFT QLoRA"],"dc:type":["info:eu-repo/semantics/masterThesis"],"dc:type.version":["info:eu-repo/semantics/acceptedVersion"]},"updated_at":"2026-11-26T14:19:41Z"}