Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.25 KB

File metadata and controls

16 lines (13 loc) · 1.25 KB

Learning to Learn with Contrastive Meta-Objective

Code implementation for paper Learning to Learn with Contrastive Meta-Objective (NeurIPS 2025 Oral) (https://arxiv.org/abs/2410.05975)

Few-Shot Image Classification:

optimization-based/metric-based:

amortization-based:

In-Context Learning:

  • get public code "in-context-learning" (https://github.com/dtsip/in-context-learning)
  • copy "icl/ctrain.py" and "icl/ceval.py" to "in-context-learning/src/", and copy "icl/ceval.py" to "in-context-learning/src/conf/";
  • refer to the corresponding instructions in "in-context-learning" and run python ctrain.py --config conf/ctoy.yaml for training ConML-ICL, and python ceval.py for testing.