language:en license:apache-2.0 size_categories:100K<n<1M format:json modality:text library:datasets library:pandas library:mlcroissant library:polars region:us
---
language:
- en
license: apache-2.0
---
# Introduction

This is a dataset to make llms learn how to extend triples by given a entity and a text.

Every single unit has three lines: instruction, input, and output:

- instruction: the fix content is "Given an entity and a text, extract triples from the text and return the triples associated with the entity." Attention, when finetune the llms, we suggest you to add one or more shot behind the prompt!
- input: format (text) + (entity), note that entity is randomly sample from the text.
- output: triples which entity is in triple as a head or tail node.