Zero-Shot Learners for Natural Language Understanding via a Unified Multiple Choice Perspective

Ping Yang, Junjie Wang, Ruyi Gan, Xinyu Zhu, Lin Zhang +4 more
10/16/2022
cs.CL

Official code: IDEA-CCNL/Fengshenbang-LM (4,116 stars, Python, Apache-2.0, PyTorch, last commit 2024-08-13).

Abstract

We propose a new paradigm for zero-shot learners that is format agnostic, i.e., it is compatible with any format and applicable to a list of language tasks, such as text classification, commonsense reasoning, coreference resolution, and sentiment analysis. Zero-shot learning aims to train a model on a given task such that it can address new learning tasks without any additional training.

Show full abstract

Our approach converts zero-shot learning into multiple-choice tasks, avoiding problems in commonly used large-scale generative models such as FLAN. It not only adds generalization ability to models but also significantly reduces the number of parameters. Our method shares the merits of efficient training and deployment. Our approach shows state-of-the-art performance on several benchmarks and produces satisfactory results on tasks such as natural language inference and text classification. Our model achieves this success with only 235M parameters, which is substantially smaller than state-of-the-art models with billions of parameters. The code and pre-trained models are available at https://github.com/IDEA-CCNL/Fengshenbang-LM .

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Fengshenbang-LM(封神榜大模型)是IDEA研究院认知计算与自然语言研究中心主导的大模型开源体系,成为中文AIGC和认知智能的基础设施。

4,116370Python, ShellOct 28, 20212 years agoApache-2.0
aigcchinese-nlpdistributed-trainingmultimodalpretrained-models+2 more

Similar Papers

Cite this paper

@article{yang2022zeroshot,
  title  = {Zero-Shot Learners for Natural Language Understanding via a Unified Multiple Choice Perspective},
  author = {Ping Yang and Junjie Wang and Ruyi Gan and Xinyu Zhu and Lin Zhang and Ziwei Wu and Xinyu Gao and Jiaxing Zhang and Tetsuya Sakai},
  year   = {2022},
  eprint = {2210.08590},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08590}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.08590.svg)](https://codeofpaper.com/paper/2210.08590)

Discussion