Evaluation of Few-Shot Learning for Classification Tasks in the Polish Language
Not on the map. Why?
Abstract (arXiv)
We introduce a few-shot benchmark consisting of 7 different classification tasks native to the Polish language. We conducted an empirical comparison with 0 and 16 shots between fine-tuning, linear probing, SetFit, and in-context learning (ICL) using various pre-trained commercial and open-source models. Our findings reveal that ICL achieves the best performance, with commercial models like GPT-3.5 and GPT-4 attaining the best performance. However, there remains a significant 14 percentage points gap between our best few-shot learning score and the performance of HerBERT-large fine-tuned on the entire training dataset. Among the techniques, SetFit emerges as the second-best approach, closely followed by linear probing. We observed the worst and most unstable performance with non-linear head fine-tuning. Results for ICL indicate that continual pre-training of models like Mistral-7b or Llama-2-13b on Polish corpora is beneficial. This is confirmed by the improved performances of Bielik-7b and Trurl-13b, respectively. To further support experiments in few-shot learning for Polish, we are releasing handcrafted templates for the ICL.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 43 of its 66 references that are in the map. First posted on arXiv 27 Apr 2024.
Builds on
43 of 66 references.
References · 43
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
31 more
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2020XCOPA: A Multilingual Dataset for Causal Commonsense Reasoningcited by 330
- 2023The Belebele Benchmark: a Parallel Reading Comprehension Dataset in 122 Language Variantscited by 300
- 2023MEGA: Multilingual Evaluation of Generative AIcited by 291
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
- 2023ChatGPT Beyond English: Towards a Comprehensive Evaluation of Large Language Models in Multilingual Learningcited by 203
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
- 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
- 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
- 2023Don't Trust ChatGPT when Your Question is not in English: A Study of Multilingual Abilities and Types of LLMscited by 103
- 2020Translation Artifacts in Cross-lingual Transfer Learningcited by 95
- 2024LLaMA Beyond English: An Empirical Study on Language Capability Transfercited by 94
- 2023Do Multilingual Language Models Think Better in English?cited by 87
- 2023Extrapolating Large Language Models to Non-English by Aligning Languagescited by 69
- 2021FLEX: Unifying Evaluation for Few-Shot NLPcited by 67
- 2023Monolingual or Multilingual Instruction Tuning: Which Makes a Better Alpacacited by 60
- 2020KLEJ: Comprehensive Benchmark for Polish Language Understandingcited by 51
- 2021RAFT: A Real-World Few-Shot Text Classification Benchmarkcited by 44
- 2022PERFECT: Prompt-free and Efficient Few-shot Learning with Language Modelscited by 40
- 2023Direct Preference-based Policy Optimization without Reward Modelingcited by 36
- 2023LLaMAntino: LLaMA 2 Models for Effective Text Generation in Italian Languagecited by 24
- 2022This is the way: designing and compiling LEPISZCZE, a comprehensive NLP benchmark for Polishcited by 13
- 2023Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Datacited by 13
- 2023Automated Few-shot Classification with Instruction-Finetuned Language Modelscited by 9
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025PL-Guard: Benchmarking Language Model Safety for Polishcited by 2
- 2025PL-Guard: Benchmarking Language Model Safety for Polish19 Jun 2025