Skip to content

addskj2002/AttentionMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repository for "Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selection" paper

This repository contains the codebase for the experiments done within the paper "Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selection". The library requirements is as followed

torch==2.0.0
numpy==1.24.3
transformers==4.41.2

The real-data folder contains the code for the experiments with the data from the Stanford Large Movie Dataset, CIFAR-10, and CIFAR-100, while synthetic-data contains experiments with randomly (with seeds) generated data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages