llmNER: (Zero|Few)-Shot Named Entity Recognition, Exploiting the Power of Large Language Models
Large language models (LLMs) allow us to generate high-quality human-like text. One interesting task in natural language processing (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.
Code (0)
등록된 구현이 없습니다.
Tasks
few-shot-nerFew-shot NERIn-Context Learningnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NERPrompt EngineeringMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
A Unified Biomedical Named Entity Recognition Framework with Large Language Models
Accurate recognition of biomedical named entities is critical for medical information extraction and knowledge discovery. However, existing methods often struggle with nested entities, entity boundary ambiguity, and cros…
Zero-shot GeneralizationInformation ExtractionContrastive LearningText GenerationLeveraging Type Descriptions for Zero-shot Named Entity Recognition and Classification
A common issue in real-world applications of named entity recognition and classification (NERC) is the absence of annotated data for the target entity classes during training. Zero-shot learning approaches address this i…
Machine Reading Comprehensionnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+6Label Embedding for Zero-shot Fine-grained Named Entity Typing
Named entity typing is the task of detecting the types of a named entity in context. For instance, given {``}Eric is giving a presentation{''}, our goal is to infer that {`}Eric{'} is a speaker or a presenter and a perso…
Entity LinkingEntity TypingNamed Entity Recognition (NER)Question Answering+2Learning from Language Description: Low-shot Named Entity Recognition via Decomposed Framework
In this work, we study the problem of named entity recognition (NER) in a low resource scenario, focusing on few-shot and zero-shot settings. Built upon large-scale pre-trained language models, we propose a novel NER fra…
Few-Shot Learningnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+2VicunaNER: Zero/Few-shot Named Entity Recognition using Vicuna
Large Language Models (LLMs, e.g., ChatGPT) have shown impressive zero- and few-shot capabilities in Named Entity Recognition (NER). However, these models can only be accessed via online APIs, which may cause data leak a…
few-shot-nerFew-shot NERnamed-entity-recognitionNamed Entity Recognition+2