GithubHelp home page GithubHelp logo

zejiangh / meta-learning-the-difference Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38.25 MB

PyTorch implementation of the paper "Meta-Learning the Difference: Preparing Large Language Models for Efficient Adaptation" (TACL).

License: Apache License 2.0

Shell 0.55% Python 66.86% Jupyter Notebook 31.90% Perl 0.68%

meta-learning-the-difference's Introduction

Meta-Learning the Difference (TACL)

This is the code for the paper Meta-Learning the Difference: Preparing Large Language Models for Efficient Adaptation by Zejiang Hou, Julian Salazar, George Polovets, and Sun-Yuan Kung. The paper has been accpeted to Transactions of the Association for Computational Linguistics (TACL).

It is released under the Apache 2.0 license.

Library

Our dynamic low-rank task-adaptive reparameterization (TARP) and model structure (TAMS) primitives are implemented as a Python library.

	pip install -e .

The initial commit includes this README and the original codebases we build upon, listed below. Later commits isolate our contributions and demonstrate how the library is used, e.g., TARP and TAMS in a meta-learning the difference loop on top of a HuggingFace Transformers model.

dialogue_personalization/ reproduces our work on Persona-Chat. It is based on https://github.com/HLTCHKUST/PAML (MIT license) which was released with the paper "Personalizing Dialogue Agents via Meta-Learning" by Zhaojiang Lin*, Andrea Madotto*, Chien-Sheng Wu, Pascale Fung at ACL 2019.

abstractive_summarization/ reproduces our work on AdaptSum. It is based on https://github.com/TysonYu/AdaptSum (CC BY 4.0 license) which was released with the paper "AdaptSum: Towards Low-Resource Domain Adaptation for Abstractive Summarization" by Tiezheng Yu*, Zihan Liu*, Pascale Fung at NAACL-HLT 2021.

low_rank_comparisons/ reproduces comparisons with other efficient adaptation papers. It is based on https://github.com/microsoft/LoRA/tree/snapshot-9-15-2021 (MIT license) which was released with the preprint "LoRA: Low-Rank Adaptation of Large Language Models" by Edward J. Hu*, Yelong Shen*, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Weizhu Chen.

meta-learning-the-difference's People

Contributors

zejiangh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.