> For the complete documentation index, see [llms.txt](https://docs.datasaur.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasaur.ai/assisted-labeling/ml-assisted-labeling/fewnerd.md).

# FewNERD

{% hint style="info" %}
**Supported labeling types**: Span labeling.
{% endhint %}

Datasaur's implementation of FewNERD (Few-shot Named Entity Recognition Dataset) represents a significant advancement in fine-grained entity recognition capability. This state-of-the-art model delivers unprecedented granularity in entity classification, enabling more precise document understanding and information extraction than traditional NER systems. The model is sourced from [SpanMarker-BERT-Base-FewNERD-Fine-Super](https://huggingface.co/tomaarsen/span-marker-bert-base-fewnerd-fine-super).

<figure><img src="/files/fHBoInP1qqlJoSN3qfut" alt="Image of ML Assisted with FewNERD"><figcaption></figcaption></figure>

This provider supports span labeling for named entity recognition (NER) tasks.

You can download the FewNERD label set below:

{% file src="/files/VywvthCTL3Vk4DNksvFv" %}

### **Model details**

* Built on SpanMarker, a specialized span-based approach to NER that outperforms traditional token classification methods.
* FewNERD provides a unique combination of **66 fine-grained entity types** organized within a **hierarchical structure** of **8 coarse-grained types**.
* This allows for more precise entity identification, distinguishing between general categories such as people and places, and more specific subtypes such as musicians, companies, and medical conditions.
* The model is optimized for NER tasks, making it particularly effective for structured information extraction.
* Hosted locally within the Datasaur Intelligence container for consistent performance and data security.

### Usage

* This provider supports span labeling tasks for named entity recognition (NER) models.
* It allows for fine-grained classification of entities within a text, offering more detailed insights compared to traditional NER approaches.
* The hierarchical entity structure improves classification accuracy and contextual understanding.
* Here are some examples of labels from the FewNERD label set:

<table><thead><tr><th width="300.9453125">Label</th><th>Examples</th></tr></thead><tbody><tr><td>art-broadcastprogram</td><td>"Street Cents", "Corazones", "The Gale Storm Show : Oh , Susanna"</td></tr><tr><td>art-film</td><td>"Bosch", "L'Atlantide", "Shawshank Redemption"</td></tr><tr><td>art-music</td><td>"Atkinson , Danko and Ford ( with Brockie and Hilton )", "Champion Lover", "Hollywood Studio Symphony"</td></tr><tr><td>art-other</td><td>"Aphrodite of Milos", "Venus de Milo", "The Today Show"</td></tr><tr><td>art-painting</td><td>"Production/Reproduction", "Touit", "Cofiwch Dryweryn"</td></tr><tr><td>art-writtenart</td><td>"Imelda de ' Lambertazzi", "Time", "The Seven Year Itch"</td></tr><tr><td>building-airport</td><td>"Luton Airport", "Newark Liberty International Airport", "Sheremetyevo International Airport"</td></tr><tr><td>building-hospital</td><td>"Hokkaido University Hospital", "Yeungnam University Hospital", "Memorial Sloan-Kettering Cancer Center"</td></tr><tr><td>building-hotel</td><td>"The Standard Hotel", "Radisson Blu Sea Plaza Hotel", "Flamingo Hotel"</td></tr><tr><td>building-library</td><td>"British Library", "Berlin State Library", "Bayerische Staatsbibliothek"</td></tr><tr><td>building-other</td><td>"Communiplex", "Alpha Recording Studios", "Henry Ford Museum"</td></tr><tr><td>building-restaurant</td><td>"Fatburger", "Carnegie Deli", "Trumbull"</td></tr><tr><td>building-sportsfacility</td><td>"Glenn Warner Soccer Facility", "Boston Garden", "Sports Center"</td></tr><tr><td>building-theater</td><td>"Pittsburgh Civic Light Opera", "Sanders Theatre", "National Paris Opera"</td></tr><tr><td>event-attack/battle/war/militaryconflict</td><td>"Easter Offensive", "Vietnam War", "Jurist"</td></tr><tr><td>event-disaster</td><td>"the 1912 North Mount Lyell Disaster", "1693 Sicily earthquake", "1990s North Korean famine"</td></tr><tr><td>event-election</td><td>"March 1898 elections", "1982 Mitcham and Morden by-election", "Elections to the European Parliament"</td></tr><tr><td>event-other</td><td>"Eastwood Scoring Stage", "Union for a Popular Movement", "Masaryk Democratic Movement"</td></tr><tr><td>event-protest</td><td>"French Revolution", "Russian Revolution", "Iranian Constitutional Revolution"</td></tr><tr><td>event-sportsevent</td><td>"National Champions", "World Cup", "Stanley Cup"</td></tr><tr><td>location-GPE</td><td>"Mediterranean Basin", "the Republic of Croatia", "Croatian"</td></tr><tr><td>location-bodiesofwater</td><td>"Atatürk Dam Lake", "Norfolk coast", "Arthur Kill"</td></tr><tr><td>location-island</td><td>"Laccadives", "Staten Island", "new Samsat district"</td></tr><tr><td>location-mountain</td><td>"Salamander Glacier", "Miteirya Ridge", "Ruweisat Ridge"</td></tr><tr><td>location-other</td><td>"Northern City Line", "Victoria line", "Cartuther"</td></tr><tr><td>location-park</td><td>"Gramercy Park", "Painted Desert Community Complex Historic District", "Shenandoah National Park"</td></tr><tr><td>location-road/railway/highway/transit</td><td>"Friern Barnet Road", "Newark-Elizabeth Rail Link", "NJT"</td></tr><tr><td>organization-company</td><td>"Dixy Chicken", "Texas Chicken", "Church 's Chicken"</td></tr><tr><td>organization-education</td><td>"MIT", "Belfast Royal Academy and the Ulster College of Physical Education", "Barnard College"</td></tr><tr><td>organization-government/governmentagency</td><td>"Congregazione dei Nobili", "Diet", "Supreme Court"</td></tr><tr><td>organization-media/newspaper</td><td>"TimeOut Melbourne", "Clash", "Al Jazeera"</td></tr><tr><td>organization-other</td><td>"Defence Sector C", "IAEA", "4th Army"</td></tr><tr><td>organization-politicalparty</td><td>"Shimpotō", "Al Wafa ' Islamic", "Kenseitō"</td></tr><tr><td>organization-religion</td><td>"Jewish", "Christian", "UPCUSA"</td></tr><tr><td>organization-showorganization</td><td>"Lizzy", "Bochumer Symphoniker", "Mr. Mister"</td></tr><tr><td>organization-sportsleague</td><td>"China League One", "First Division", "NHL"</td></tr><tr><td>organization-sportsteam</td><td>"Tottenham", "Arsenal", "Luc Alphand Aventures"</td></tr><tr><td>other-astronomything</td><td>"Zodiac", "Algol", "`` Caput Larvae ''"</td></tr><tr><td>other-award</td><td>"GCON", "Order of the Republic of Guinea and Nigeria", "Grand Commander of the Order of the Niger"</td></tr><tr><td>other-biologything</td><td>"N-terminal lipid", "BAR", "Amphiphysin"</td></tr><tr><td>other-chemicalthing</td><td>"uranium", "carbon dioxide", "sulfur"</td></tr><tr><td>other-currency</td><td>"$", "Travancore Rupee", "lac crore"</td></tr><tr><td>other-disease</td><td>"French Dysentery Epidemic of 1779", "hypothyroidism", "bladder cancer"</td></tr><tr><td>other-educationaldegree</td><td>"Master", "Bachelor", "BSc ( Hons ) in physics"</td></tr><tr><td>other-god</td><td>"El", "Fujin", "Raijin"</td></tr><tr><td>other-language</td><td>"Breton-speaking", "English", "Latin"</td></tr><tr><td>other-law</td><td>"Thirty Years ' Peace", "Leahy–Smith America Invents Act ( AIA", "United States Freedom Support Act"</td></tr><tr><td>other-livingthing</td><td>"insects", "monkeys", "patchouli"</td></tr><tr><td>other-medical</td><td>"Pediatrics", "amitriptyline", "pediatrician"</td></tr><tr><td>person-actor</td><td>"Ellaline Terriss", "Tchéky Karyo", "Edmund Payne"</td></tr><tr><td>person-artist/author</td><td>"George Axelrod", "Gaetano Donizett", "Hicks"</td></tr><tr><td>person-athlete</td><td>"Jaguar", "Neville", "Tozawa"</td></tr><tr><td>person-director</td><td>"Bob Swaim", "Richard Quine", "Frank Darabont"</td></tr><tr><td>person-other</td><td>"Richard Benson", "Holden", "Campbell"</td></tr><tr><td>person-politician</td><td>"William", "Rivière", "Emeric"</td></tr><tr><td>person-scholar</td><td>"Stedman", "Wurdack", "Stalmine"</td></tr><tr><td>person-soldier</td><td>"Helmuth Weidling", "Krukenberg", "Joachim Ziegler"</td></tr><tr><td>product-airplane</td><td>"Luton", "Spey-equipped FGR.2s", "EC135T2 CPDS"</td></tr><tr><td>product-car</td><td>"100EX", "Corvettes - GT1 C6R", "Phantom"</td></tr><tr><td>product-food</td><td>"red grape", "yakiniku", "V. labrusca"</td></tr><tr><td>product-game</td><td>"Airforce Delta", "Hardcore RPG", "Splinter Cell"</td></tr><tr><td>product-other</td><td>"Fairbottom Bobs", "X11", "PDP-1"</td></tr><tr><td>product-ship</td><td>"Congress", "Essex", "HMS `` Chinkara ''"</td></tr><tr><td>product-software</td><td>"AmiPDF", "Apdf", "Wikipedia"</td></tr><tr><td>product-train</td><td>"High Speed Trains", "55022", "Royal Scots Grey"</td></tr><tr><td>product-weapon</td><td>"AR-15 's", "ZU-23-2M Wróbel", "ZU-23-2MR Wróbel II"</td></tr></tbody></table>
