REDN
Downstream Model Design of Pre-trained Language Model for Relation Extraction Task
Install / Use
/learn @slczgwh/REDNREADME
REDN
This is the prototype code for Relation Extraction Downstream Network of pre-trained language model, supporting our paper Downstream Model Design of Pre-trained Language Model for Relation Extraction Task.
Part of this code are revised based on OPENNRE.
Datasets
You can get Datasets from OPENNRE and WebNLG 2.0
Getting Start
Set your own paths in example/configs.py, including pre-trained model path, root path of data and output name. Run example/redn_trainer.py with args dataset and mode. dataset can be nyt10, semeval or webnlg. mode can be t for training and e for evaluation. For example ,to train SemEval, try
python redn_trainer semeval t
Another Branch
We establish a new branch based on Allennlp . It will be more friendly and powerful while using in real projects, though developers should spend sometime to write dataset-readers.
Logs
If you are not able to run these codes, you can also check all the logs in ./logs.
Related Skills
diffs
337.1kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
1.8kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
ui-ux-pro-max-skill
51.5kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
