HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Crosslingual Generalization through Multitask Finetuning

Crosslingual Generalization through Multitask Finetuning

Abstract

Multitask prompted finetuning (MTF) has been shown to help large language models generalize to new tasks in a zero-shot setting, but so far explorations of MTF have focused on English data and models. We apply MTF to the pretrained multilingual BLOOM and mT5 model families to produce finetuned variants called BLOOMZ and mT0. We find finetuning large multilingual language models on English tasks with English prompts allows for task generalization to non-English languages that appear only in the pretraining corpus. Finetuning on multilingual tasks with English prompts further improves performance on English and non-English tasks leading to various state-of-the-art zero-shot results. We also investigate finetuning on multilingual tasks with prompts that have been machine-translated from English to match the language of each dataset. We find training on these machine-translated prompts leads to better performance on human-written prompts in the respective languages. Surprisingly, we find models are capable of zero-shot generalization to tasks in languages they have never intentionally seen. We conjecture that the models are learning higher-level capabilities that are both task- and language-agnostic. In addition, we introduce xP3, a composite of supervised datasets in 46 languages with English and machine-translated prompts. Our code, datasets and models are freely available at https://github.com/bigscience-workshop/xmtf.

Code Repositories

bigscience-workshop/xmtf
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
coreference-resolution-on-xwinograd-enBLOOMZ
Accuracy: 69.08
coreference-resolution-on-xwinograd-enmT0-13B
Accuracy: 81.29
coreference-resolution-on-xwinograd-frmT0-13B
Accuracy: 78.31
coreference-resolution-on-xwinograd-frBLOOMZ
Accuracy: 68.67
cross-lingual-transfer-on-xcopamT0-13B
Accuracy: 84.45
cross-lingual-transfer-on-xcopaBLOOMZ
Accuracy: 75.5
question-answering-on-storyclozeBLOOMZ
Accuracy: 96.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Crosslingual Generalization through Multitask Finetuning | Papers | HyperAI