HFMRE
HFMRE: Constructing Huffman Tree in Bags to Find Excellent Instances for Distantly Supervised Relation Extraction
Install / Use
/learn @shaocong-qy/HFMREREADME
HFMRE: Constructing Huffman Tree in Bags to Find Excellent Instances for Distantly Supervised Relation Extraction
Reqirements
torch==1.6.0
nltk==3.6.2
numpy==1.19.5
scikit-learn==0.24.2
scipy==1.5.4
sentencepiece==0.1.95
transformers==3.0.2
tokenizers==0.8.1rc1
gdown==4.2.0
Datasets:
download_nyt10.sh
download_nyt10m.sh
download_wiki20m.sh
Train:
train_nyt10d.sh
train_nyt10m.sh
train_wiki20m.sh
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
