<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Developing ai agents that extract metadata using the rag method with fine-tuned large language models

dc.contributor.authorAlhasan, Tamam
dc.date.accessioned2026-07-01T06:54:47Z
dc.date.issued2025
dc.description.abstractThis study develops an artificial intelligence agent that uses Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) techniques to automatically extract and analyze metadata from text documents. During the preprocessing stage, Natural Language Processing (NLP) methods were used to extract text from over 10,000 PDF documents collected from various sources, and metadata fields were manually annotated to create a comprehensive dataset. Initially, RAG-based methods and Hugging Face models were tested; however, issues such as inconsistent formatting and irrelevant content generation were observed. As a result, the Mistral-7B-Instruct-v0.3 model was fine-tuned, improving metadata extraction accuracy to 91.0%. The results indicate that the fine-tuned LLM-based approach offers greater reliability and precision compared to RAG-based methods. Bu çalışma, metin belgelerinden üst verilerin otomatik olarak çıkarılması ve analizi için büyük dil modelleri (LLM) ve Geri Getirme Destekli Üretim (RAG) yöntemlerini kullanan bir yapay zekâ aracısı geliştirmektedir. Ön işleme sürecinde, doğal dil işleme (NLP) teknikleri kullanılarak çeşitli kaynaklardan erişilen 10.000'den fazla PDF dokümandan metin çıkarımı yapılmış ve üst veri alanları manuel olarak belirlenerek kapsamlı bir veri seti oluşturulmuştur. Başlangıçta RAG yöntemleri ve Hugging Face modelleri test edilmiş; ancak tutarsız çıktı formatları ve bağlam dışı bilgi üretimi gibi sınırlamalar gözlemlenmiştir. Bu nedenle, Mistral-7B-Instruct-v0.3 modeli ince ayar tekniğiyle eğitilmiş ve üst veri çıkarma doğruluğu %91,0 seviyesine yükseltilmiştir. Sonuçlar, ince ayarlanmış LLM tabanlı yaklaşımın RAG yöntemlerine kıyasla daha güvenilir ve hassas olduğunu ortaya koymaktadır.
dc.identifier.urihttp://hdl.handle.net/20.500.12575/93832
dc.language.isoen
dc.publisherAnkara Üniversitesi
dc.rightsopenAccess
dc.subjectNLP
dc.subjectRAG
dc.subjectMetadata
dc.subjectLLM
dc.subjectExtraction
dc.subjectFine-tuning
dc.subjectÜst veri
dc.subjectÇıkarım
dc.subjectİnce Ayar
dc.titleDeveloping ai agents that extract metadata using the rag method with fine-tuned large language models
dc.title.alternativeİnce ayar yapılmış büyük dil modellerini kullanarak, rag yöntemiyle metaveri çıkaran yapay zekâ ajanları geliştirmek
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
10760542.pdf
Size:
1.04 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: