|
--- |
|
license: apache-2.0 |
|
--- |
|
|
|
# HuggingBench-Classification |
|
|
|
This dataset contains Task Classification test collection in HuggingBench for paper "Benchmarking Recommendation, Classification, and Tracing Based on Hugging Face Knowledge Graph". |
|
|
|
## Dataset Details |
|
|
|
- `classification.zip` contains training/validation/test set files and task-to-id file for multi-label classification. |
|
- `huggingface_xxx.pt` is graph data file in the format required by [CogDL](https://github.com/THUDM/CogDL). `xxx` indicates the type of node feature initialization. |
|
|
|
## Uses |
|
|
|
<!-- Address questions around how the dataset is intended to be used. --> |
|
We use [CogDL](https://github.com/THUDM/CogDL) to implemen baselines for task classification. |
|
- Install [CogDL](https://github.com/THUDM/CogDL). |
|
``` |
|
pip install cogdl |
|
``` |
|
- Download data in [HuggingBench-Classification](https://huggingface.co/datasets/cqsss/HuggingBench-Classification) to `task_classification/data/`. |
|
- Run `./task_classification/tune_huggingface.py` from [Github](https://github.com/nju-websoft/HuggingBench). |