ai-agent

Baidu Relation Extraction

Extract relationships with Baidu's 2020 language tech.
66 stars7 forksJupyter NotebookGuide quality 8/10Updated 9/21/2020100% free · open source
What it does

This tool extracts relationships from Chinese text based on the 2020 Baidu Language and Intelligent Technology Competition Relation Extraction task.

When to use it
  • When you need to identify relationships between entities in Chinese text data
  • For natural language processing tasks that require understanding entity relationships in Chinese
  • To improve the accuracy of your Chinese text analysis models with relation extraction capabilities
Ready-to-paste prompt
Run `python run.py --task REL --do_eval --do_lower_case --data_dir ./data --bert_model bert-base-chinese --output_dir ./outputs --input_text '中国的首都是北京。'` to extract relationships from the input text
Heads up: Make sure you have the correct version of Python (3.8 or later) and the necessary Chinese language processing libraries installed, as the model relies on these to function correctly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

⚡ Runs out of the box

A prompt/skill package — nothing to install beyond adding it to your AI tool.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/baidu-2020-language-and-intelligent-technology-competition && curl -fsSL https://workflowstacks.com/api/skills/baidu-2020-language-and-intelligent-technology-competition/claude-skill -o ~/.claude/skills/baidu-2020-language-and-intelligent-technology-competition/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Baidu Relation Extraction works
Codeflow
Free to inspect

Baidu Relation Extraction is mostly documents (5 doc files, 5 small scripts) — something you read, not something you run. There is nothing to install. Last commit 73 months ago, no license file.

Size
Mostly documents
5 documents · 5 small scripts · 2 min skim
Setup
Nothing to install
A course / notebook collection. Read it; run cells if you like.
Runs on
Nowhere — you read it
A reading resource, not a program.
Jupyter Notebook 92%Python 8%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
What's in each folder
rel_extract/dataset/Data files10 files
rel_extract/.ipynb_checkpoints/Tool / agent settings9 files
READMEHas testsDocumentedNo licenseLast update 73 mo ago
Quick Actions
Details
Creator
aker218
Language
Jupyter Notebook
Category
ai-agent
Published
6/28/2020

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.