misc 0 0 0

OpenStellarTeam/Chinese-SafetyQA

published by @OpenStellarTeam

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2.8K
Last 30 days
251
Likes
10
Size
1.7 MB
Created on HF
2024-12-19
Age
1 years ago

Description

Overview

🌐 Website β€’ πŸ€— Hugging Face β€’ ⏬ Data β€’ πŸ“ƒ Paper β€’ πŸ“Š Leader Board

Chinese SafetyQA is an innovative benchmark designed to evaluate the factuality ability of large language models, specifically

for short-form factual questions in the Chinese safety domain. Here's a detailed breakdown of its key features:

Key Features of Chinese SafetyQA

Chinese: The benchmark is tailored specifically for the Chinese language, ensuring compatibility and relevance for… See the full description on the dataset page: https://huggingface.co/datasets/OpenStellarTeam/Chinese-SafetyQA.

Tags

task_categories:question-answeringlanguage:zhlicense:cc-by-nc-sa-4.0size_categories:1K<n<10Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2412.15265region:usjsoncsv

README current version from Hugging Face


license: cc-by-nc-sa-4.0
task_categories:


Overview

🌐 Website β€’ πŸ€— Hugging Face β€’ ⏬ Data β€’ πŸ“ƒ Paper β€’ πŸ“Š Leader Board

Chinese SafetyQA is an innovative benchmark designed to evaluate the factuality ability of large language models, specifically
for short-form factual questions in the Chinese safety domain. Here's a detailed breakdown of its key features:

Key Features of Chinese SafetyQA

  • Chinese: The benchmark is tailored specifically for the Chinese language, ensuring compatibility and relevance for
    Chinese-speaking users and contexts.
  • Harmless: The questions and answers are designed to avoid harmful content, making the dataset suitable for safe
    and
    ethical use.
  • Diverse: The benchmark encompasses a wide range of topics and subtopics, ensuring comprehensive coverage of the
    safety domain.
  • Easy-to-Evaluate: The answers are straightforward to assess, allowing researchers to quickly and accurately
    determine the performance of language models.
  • Static: The dataset is fixed, allowing for consistent evaluation without dynamic updates that could affect
    reproducibility.
  • Challenging: The questions are designed to push the limits of language models, ensuring that only high-performing
    models can achieve good results.

Topics and Subtopics

  • 7 Major Topics: The benchmark is organized into 7 broad categories of safety-related questions.
  • 27 Secondary Topics: All major topic are further divided into 27 secondary topics, ensuring a wide variety of
    factual questions to test the models' knowledge.
  • 103 Diverse Subtopics: All Secondary Topics are further divided into 103 specific subtopics, ensuring a wide variety of
    factual questions to test the models' knowledge.

Chinese SafetyQA serves as a valuable tool for:

  • Evaluating the factual accuracy of language models in Chinese.
  • Assessing the ability oaf models to provide short, factually correct, and relevant answers in the safety domain.
  • Ensuring that language models meet safety standards while maintaining diverse and challenging benchmarks for
    improvement.

This benchmark is an essential resource for developers and researchers aiming to improve the safety and reliability of
language models.

Please visit our website or check
our paper for more details.


πŸ’« Instroduction

  • Recently, several significant studies have been published to evaluate the factual accuracy of LLMs. For instance,
    OpenAI introduced the SimpleQA benchmark, and Alibaba Group introduced the Chinese SimpleQA
    benchmark. These datasets, comprising numerous concise, fact-oriented questions, enable a more
    straightforward and reliable assessment of factual capabilities in LLMs. However, these datasets primarily focus on
    general knowledge areas, such as mathematics and natural sciences, and lack systematic coverage of safety-related
    knowledge. To address these limitations, we propose the Chinese SafetyQA benchmark, which comprises over 2,000
    high-quality safety examples across seven different topics. As a short-form factuality benchmark, Chinese SafetyQA
    possesses the following essential features:
    • πŸ€„Chinese: The Chinese SafetyQA dataset has been compiled within the Chinese linguistic context, primarily
      encompassing safety-related issues, such as Chinese legal frameworks and ethical standards.
    • πŸ€Harmless: Our dataset focuses exclusively on safety related knowledge. The examples themselves do not contain
      any harmful content.
    • ⚑Diverse: The dataset includes seven primary topics, 27 secondary topics, and 103 fine-grained topics,
      spanning nearly all areas of Chinese safety.
    • πŸ—‚οΈEasy-to-evaluate: We provide data in two different formats: short-form question-answer (QA) and
      multiple-choice questions (MCQ), allowing users to easily test the boundaries of a model’s safety knowledge.
    • πŸ’‘Static: Following prior works, all standard answers provided in our benchmark remain unchanged over time.
    • 🎯Challenging: The Chinese SafetyQA dataset primarily covers professional security knowledge rather than
      simple, general common-sense knowledge.
  • We have also conducted a comprehensive experimental evaluation across more than 30 large language models (LLMs) and
    have identified the following findings:
    • Most evaluated models exhibit inadequacies in factual accuracy within the safety domain.
    • Insufficient safety knowledge introduces potential risks.
    • LLMs contain knowledge errors in their training data and tend to be overconfident.
    • LLMs demonstrate the Tip-of-the-Tongue phenomenon concerning safety knowledge.
    • Retrieval-Augmented Generation (RAG) enhances safety factuality, whereas self-reflection does

πŸ“Š Leaderboard

For More Info: πŸ“Š

βš–οΈ Evals

please visit github page.


Contact

If you are interested in our work, please contact us at [email protected]

Citation

Please cite our paper if you use our dataset.

@misc{tan2024chinesesafetyqasafetyshortform,
      title={Chinese SafetyQA: A Safety Short-form Factuality Benchmark for Large Language Models},
      author={Yingshui Tan and Boren Zheng and Baihui Zheng and Kerui Cao and Huiyun Jing and Jincheng Wei and Jiaheng Liu and Yancheng He and Wenbo Su and Xiangyong Zhu and Bo Zheng},
      year={2024},
      eprint={2412.15265},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.15265},
}

README history 10 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2024-12-23Update README.mddb66ec36.2 KB
    Loading...
  2. 2024-12-23Update README.mdfec15b56.3 KB
    Loading...
  3. 2024-12-20Update README.mda05c0396 KB
    Loading...
  4. 2024-12-20Update README.md28b0e3c6 KB
    Loading...
  5. 2024-12-20Update README.md6250d886 KB
    Loading...
  6. 2024-12-19Update README.md17ef4db5.7 KB
    Loading...
  7. 2024-12-19Update README.md281e5945.6 KB
    Loading...
  8. 2024-12-19Upload chinese_safetyqa.jsonl5edb14336 B
    Loading...
  9. 2024-12-19Upload 2 files33a768e36 B
    Loading...
  10. 2024-12-19initial commit9c013f736 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread Β· 1 open Β· 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2024-12-20[bot] Conversion to Parquetopen1 πŸ’¬#1
    Loading...

Related datasets same stage Β· misc

Read further

Metadata

License
cc-by-nc-sa-4.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("OpenStellarTeam/Chinese-SafetyQA")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenStellarTeam/Chinese-SafetyQA", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/OpenStellarTeam/Chinese-SafetyQA
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration