Skip to content

Code for paper "Generalization of Transformers with In-Context Learning: An Empirical Study"

Notifications You must be signed in to change notification settings

UbeCc/Generalization-of-Transformers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generalization of Transformers with In-Context Learning: An Empirical Study

Generalization of Transformers with In-Context Learning: An Empirical Study [ICLR 2025]

Xingxuan Zhang, Haoran Wang, Jiansheng Li, Yuan Xue, Shikai Guan, Renzhe Xu, Hao Zou, Han Yu, Peng Cui

📝 Paper

The code repository contains code for all of our main experiments.

  • embed-level function fitting
  • token-level function fitting
  • translation task
  • api-calling task

As each task can be split into preprocess, train and evaluation clearly, you can read the comments of the corresponding source code to get usage.

For submodules, you can use git submodule update --init to get them.

Thanks for those repos:

About

Code for paper "Generalization of Transformers with In-Context Learning: An Empirical Study"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published