Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
60 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

llmNER: (Zero|Few)-Shot Named Entity Recognition, Exploiting the Power of Large Language Models (2406.04528v1)

Published 6 Jun 2024 in cs.CL

Abstract: LLMs allow us to generate high-quality human-like text. One interesting task in NLP is named entity recognition (NER), which seeks to detect mentions of relevant information in documents. This paper presents LLMNER, a Python library for implementing zero-shot and few-shot NER with LLMs; by providing an easy-to-use interface, LLMNER can compose prompts, query the model, and parse the completion returned by the LLM. Also, the library enables the user to perform prompt engineering efficiently by providing a simple interface to test multiple variables. We validated our software on two NER tasks to show the library's flexibility. LLMNER aims to push the boundaries of in-context learning research by removing the barrier of the prompting and parsing steps.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Fabián Villena (4 papers)
  2. Luis Miranda (3 papers)
  3. Claudio Aracena (1 paper)
Citations (2)
X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets