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

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

Loading...
Thumbnail Image

Date

Journal Title

Journal ISSN

Volume Title

Publisher

Ankara Üniversitesi

DOI

Abstract

This 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.

Description

Citation

Endorsement

Review

Supplemented By

Referenced By

Rights and licensing

openAccess
Google Scholar
Scholar'da Ara ↗
Bu yayında DOI yok — Altmetric/Dimensions/PlumX/BIP! rozetleri DOI gerektirir.