VicunaNER: Zero/Few-shot Named Entity Recognition using Vicuna

Bin Ji
5/5/2023
cs.CL

No official code found. Best implementation: IBM/zshot (401 stars, MIT, PyTorch, last commit 2025-09-17).

Abstract

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 and non-reproducible problems. In this paper, we propose VicunaNER, a zero/few-shot NER framework based on the newly released open-source LLM -- Vicuna. VicunaNER is a two-phase framework, where each phase leverages multi-turn dialogues with Vicuna to recognize entities from texts. We name the second phase as Re-Recognition, which recognizes those entities not recognized in the first phase (a.k.a. Recognition). Moreover, we set entity correctness check dialogues in each phase to filter out wrong entities. We evaluate VicunaNER's zero-shot capacity on 10 datasets crossing 5 domains and few-shot capacity on Few-NERD. Experimental results demonstrate that VicunaNER achieves superior performance in both shot settings. Additionally, we conduct comprehensive investigations on Vicuna from multiple perspectives.

View on arXivView PDF

Code Implementations(1)

IBM/zshotCommunity73%
PyTorchMIT

Zero and Few shot named entity & relationships recognition

40127PythonFeb 11, 20221 years agoMIT
aideep-learningfew-shotfew-shot-learningmachine-learning+14 more

Similar Papers

Cite this paper

@article{ji2023vicunaner,
  title  = {VicunaNER: Zero/Few-shot Named Entity Recognition using Vicuna},
  author = {Bin Ji},
  year   = {2023},
  eprint = {2305.03253},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.03253v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.03253.svg)](https://codeofpaper.com/paper/2305.03253)

Discussion