GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JetRunner/SuperICL: Code for "Small Models are Valuable Plug-ins for Large Language Models"

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
api_config_example.py
api_config_example.py
 
 
requirements.txt
requirements.txt
 
 
run_glue.py
run_glue.py
 
 
run_xnli.py
run_xnli.py
 
 
templates.py
templates.py
 
 
utils.py
utils.py
 
 

Repository files navigation

Super In-Context Learning (SuperICL)

Code for "Small Models are Valuable Plug-ins for Large Language Models".

supericl_workflow

How to Run Code

Setup

Install Requirements

pip install -r requirements.txt

Add OpenAI API Key

cp api_config_example.py api_config.py
vi api_config.py

GLUE

python run_glue.py \
--model_path roberta-large-mnli \
--model_name RoBERTa-Large \
--dataset mnli-m \
--explanation  # Include this to enable explanation for overrides

For all supported tasks, see here.

For the complete set of parameters, see the code here.

XNLI

python run_xnli.py \
--model_path /path/to/model \
--model_name XLM-V \
--lang en,ar,bg,de,el,es,fr,hi,ru,sw,th,tr,ur,vi,zh 

For the complete set of parameters, see the code here.

Citation

@article{xu2023small,
  title={Small Models are Valuable Plug-ins for Large Language Models},
  author={Canwen Xu and Yichong Xu and Shuohang Wang and Yang Liu and Chenguang Zhu and Julian McAuley},
  journal={arXiv preprint arXiv:2305.08848},
  year={2023}
}

About

Code for "Small Models are Valuable Plug-ins for Large Language Models"

arxiv.org/abs/2305.08848

Resources

Readme
Apache-2.0 license
Activity

Stars

132 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.