跳到正文
arXiv (AI + Vision + Imaging)· Vijayasri Iyer, Cristiano De Nobili, Mubashir Hussain Shah, S\'ebastien Brati\`eres·· 1 天前AI 评分18

Trallie:用LLM将自由格式文本转为结构化数据的开源框架

Trallie: from Free-Form Text to Structured Data with LLMs

AI 导读

Trallie是开源框架,利用LLM从自然语言来源做信息抽取,无需大量标注数据或领域训练,支持零样本与少样本提示。它可解析HTML、PDF、TXT、JSON等格式,并能从文档集合自动归纳schema供用户细化。在FDA 510(k)文档及SWDE电影与大学网站上用开放权重LLM评测,提供目标属性时优于此前系统,自动发现属性时具竞争力。

正文 · 原文

arXiv:2611.30773v1 Announce Type: new Abstract: Trallie is an open-source framework that leverages large language models (LLMs) to perform information extraction (IE) from natural language sources with or without user guidance. Unlike conventional approaches that rely on extensive labeled datasets or domain-specific training, Trallie enables the conversion of unstructured data into structured formats with minimal or no representative examples. The framework is designed with three key objectives: (i) reducing manual annotation by harnessing prompt-based zero-shot and few-shot capabilities of modern LLMs, (ii) flexibly parsing diverse document formats (i.e., HTML, PDF, TXT, and JSON), and (iii) improving accessibility for non-expert users by automatically inducing schemas from document collections, which can then be refined for extraction. We evaluate Trallie with open-weight LLMs on FDA 510(k) documents and on movie and university websites from SWDE. It outperforms previously reported systems when the target attributes are provided for text extraction and is competitive when it must discover attributes for the schema automatically. The project is available at https://github.com/PiSchool/trallie

来源:arXiv (AI + Vision + Imaging) · arxiv.org