Git Product home page Git Product logo

fovea-transformer's Introduction

Fovea-Transformer

This is the official Pytorch implementation of paper Fovea Transformer: Efficient Long-Context Modeling with Structured Fine-to-Coarse Attention

Install

For all the dependencies.

transformers==4.27.3
deepspeed==0.9.4
datasets==2.19.1
evaluate==0.4.0
accelerate==0.19.0
jax==0.4.10
jaxlib==0.4.10
flax==0.6.10
rouge-score==0.1.2

To run summarization tasks including Multi-News, Pubmed and WCEP-10.

sh scripts/submit.sh

If you find the code and paper helpful, pelase kindly cite our work.

@inproceedings{he2024fovea,
  title={Fovea Transformer: Efficient Long-Context Modeling with Structured Fine-To-Coarse Attention},
  author={He, Ziwei and Yuan, Jian and Zhou, Le and Leng, Jingwen and Jiang, Bo},
  booktitle={ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={12261--12265},
  year={2024},
  organization={IEEE}
}

fovea-transformer's People

Contributors

ziweihe avatar

Stargazers

 avatar Jeff Carpenter 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.