Unified framework for structured knowledge grounding research
Top 58.1% on sourcepulse
UnifiedSKG provides a unified framework for structured knowledge grounding (SKG) tasks, enabling multi-task learning and systematic research. It targets researchers and practitioners in NLP who work with knowledge bases, databases, and semantic parsing, offering a standardized approach to diverse SKG problems.
How It Works
The framework unifies 21 SKG tasks into a text-to-text format, leveraging large language models like T5. This approach allows for a single model to handle heterogeneous SKG tasks, promoting research beyond single-task or domain-specific limitations. It facilitates multi-task learning, particularly with prefix-tuning, and serves as a challenging benchmark for few-shot and zero-shot learning scenarios.
Quick Start & Requirements
git clone --recurse-submodules
) and create a Conda environment using py3.7pytorch1.8.yaml
. Install PyTorch with CUDA 11.1 support (pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
) and the datasets
library (pip install datasets==1.14.0
).Highlighted Details
Maintenance & Community
The project is associated with EMNLP 2022 (oral). Contributions via pull requests are welcomed.
Licensing & Compatibility
The repository includes third-party code, and specific licensing details for the core framework are not explicitly stated in the README, but it is presented as an open-source research project.
Limitations & Caveats
The provided environment setup specifies PyTorch 1.8.0 with CUDA 11.1, which may be outdated. The README mentions experimental code for combined prefix-tuning that did not outperform simpler methods but is open-sourced for future exploration.
1 year ago
1 day