# FewRel

A Large-Scale Few-Shot Relation Extraction Dataset

Canonical page: https://www.reposhelf.co.uk/projects/github/thunlp/fewrel.html

- Project ID: thunlp/FewRel
- Source: GitHub
- Original project: https://github.com/thunlp/FewRel
- Description attribution: project author metadata
- Categories: Education
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-23T13:30:02.141Z
- Demo page loaded: 2026-11-16T13:59:39.424Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> FewRel is a large-scale few-shot relation extraction dataset, which contains more than one hundred relations and tens of thousands of annotated instances cross different domains. Our dataset is presented in our EMNLP 2018 paper FewRel: A Large-Scale Few-Shot Relation Classification Dataset with State-of-the-Art Evaluation and a following-up version is presented in our EMNLP 2019 paper FewRel 2.0: Towards More Challenging Few-Shot Relation Classification.

> Based on our dataset and designed few-shot settings, we have two different benchmarks:

- FewRel 1.0: This is the first one to incorporate few-shot learning with relation extraction, where your model need to handle both the few-shot challenge and extracting entity relations from plain text. This benchmark…
- FewRel 2.0: We found out that there are two long-neglected aspects in previous few-shot research: \(1\) How well models can transfer across different domains. \(2\) Can few-shot models detect instances belonging to none of…

## Author-documented requirements and audience

> FewRel is a large-scale few-shot relation extraction dataset, which contains more than one hundred relations and tens of thousands of annotated instances cross different domains. Our dataset is presented in our EMNLP 2018 paper FewRel: A Large-Scale Few-Shot Relation Classification Dataset with State-of-the-Art Evaluation and a following-up version is presented in our EMNLP 2019 paper FewRel 2.0: Towards More Challenging Few-Shot Relation Classification.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/thunlp/FewRel/blob/master/readme.md

Extraction checked: 2026-10-12T13:37:45.333Z

Last recorded source update: 2022-05-04T14:41:14.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=thunlp%2FFewRel). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
