File size: 994 Bytes
26b46c0
 
fc743ec
 
 
 
 
26b46c0
d069798
fc743ec
 
b5c1274
5dc088a
b5c1274
5b28de0
041c287
1776656
7068ade
 
 
 
79e9216
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
license: llama2
datasets:
- Universal-NER/Pile-NER-type
language:
- en
pipeline_tag: text-generation
---

# SLIMER: Show Less Instruct More Entity Recognition

SLIMER is an instruction-tuned LLaMA-2-7B model for zero-shot NER.

Instructed on a reduced number of samples, it is designed to tackle never-seen-before Named Entity tags by leveraging a prompt enriched with a DEFINITION and GUIDELINES for the NE to be extracted.

<img src="https://huggingface.co/expertai/SLIMER/resolve/main/SLIMER_instruction_prompt.png" width="200">

Currently existing LLMs for NER fine-tune on an extensive number of entity classes (around 13K) and assess zero-shot NER capabilities on Out-Of-Distribution input domains.
SLIMER performs comparably to these state-of-the-art approaches on OOD input domains, while being trained only a reduced number of samples and a set of NE tags that overlap in lesser degree with test set.

<img src="https://huggingface.co/expertai/SLIMER/resolve/main/OOD_evals.png">