{
"input": [
{
"id": "cde2f5cb",
"content": "Here are some examples of named entity recognition:\n\nInput:\nMorning 5km run with {{USERNAME}} for breast cancer awareness # pinkoctober # breastcancerawareness # zalorafit # zalorafitxbnwrc @ The Central Park , Desa Parkcity {{URL}}\n\nOutput:\n ... [TRUNCATED] ... it 's been an amazing experience . Afro paper : the rolling stone project and I do n't think you know Popin boyz are projects that 's gonna shake the industry . Do n't sleep on {{USERNAME}} {{USERNAME}} {{USERNAME}} Watch out for these guys\n"
}
],
"target": "<response>Hanging out with the # <group>Popinboyz</group> and it 's been an amazing experience . <creative_work>Afro paper</creative_work> : <creative_work>the rolling stone project</creative_work> and I do n't think you know <group>Popin boyz</group> are projects that 's gonna shake the industry . Do n't sleep on {{USERNAME}} {{USERNAME}} {{USERNAME}} Watch out for these guys</response>",
"id": 0,
"group_id": 0,
"metadata": {
"tokens": [
"Hanging",
"out",
"with",
"the",
"#",
"Popinboyz",
"and",
"it",
"'s",
"been",
"an",
"amazing",
"experience",
".",
"Afro",
"paper",
":",
"the",
"rolling",
"stone",
"project",
"and",
"I",
"do",
"n't",
"think",
"you",
"know",
"Popin",
"boyz",
"are",
"projects",
"that",
"'s",
"gonna",
"shake",
"the",
"industry",
".",
"Do",
"n't",
"sleep",
"on",
"{{USERNAME}}",
"{{USERNAME}}",
"{{USERNAME}}",
"Watch",
"out",
"for",
"these",
"guys"
],
"ner_tags": [
"O",
"O",
"O",
"O",
"O",
"B-GROUP",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-CREATIVE_WORK",
"I-CREATIVE_WORK",
"O",
"B-CREATIVE_WORK",
"I-CREATIVE_WORK",
"I-CREATIVE_WORK",
"I-CREATIVE_WORK",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-GROUP",
"I-GROUP",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
]
}
}
注:部分内容因展示需要已被截断。
提示模板
提示模板:
You are a named entity recognition system that identifies the following entity types:
{entities}
Process the provided text and mark all named entities with XML-style tags.
For example:
<person>John Smith</person> works at <organization>Google</organization> in <location>Mountain View</location>.
Available entity tags: {entity_list}
INSTRUCTIONS:
1. Wrap your entire response in <response>...</response> tags.
2. Inside these tags, include the original text with entity tags inserted.
3. Do not change the original text in any way (preserve spacing, punctuation, case, etc.).
4. Tag ALL entities you can identify using the exact tag names provided.
5. Do not include explanations, just the tagged text.
6. If entity spans overlap, choose the most specific entity type.
7. Ensure every opening tag has a matching closing tag.
Text to process:
{text}
少样本(Few-shot)模板
Here are some examples of named entity recognition:
{fewshot}
You are a named entity recognition system that identifies the following entity types:
{entities}
Process the provided text and mark all named entities with XML-style tags.
For example:
<person>John Smith</person> works at <organization>Google</organization> in <location>Mountain View</location>.
Available entity tags: {entity_list}
INSTRUCTIONS:
1. Wrap your entire response in <response>...</response> tags.
2. Inside these tags, include the original text with entity tags inserted.
3. Do not change the original text in any way (preserve spacing, punctuation, case, etc.).
4. Tag ALL entities you can identify using the exact tag names provided.
5. Do not include explanations, just the tagged text.
6. If entity spans overlap, choose the most specific entity type.
7. Ensure every opening tag has a matching closing tag.
Text to process:
{text}