Comments (2)
Hello! Thanks for your interests in our work!
Basically, the difference in rotating angles determines the "attention distance" between two tokens. For example, in original RoPE encoding, every token at position
Going back to our work, we want to let "global branch" tokens be exactly
Does this make sense to you? Feel free to follow up if I missed anything!
from lm-infinite.
Truly helpful explanations, thanks!
from lm-infinite.
Related Issues (9)
- GPTNeoX or Transformers support? HOT 2
- How to Inferance? HOT 1
- limited_distance_forward() got an unexpected keyword argument 'padding_mask' HOT 1
- Should the llama model be fine-tuned? HOT 1
- Some errors. HOT 1
- TypeError: attn_forward_factory() missing 5 required positional arguments: 'top_k_attention', 'top_k_insert_at', 'top_k_from_layer', 'top_k_to_layer', and 'layer_i' HOT 4
- Improve GPU memory usage but slower inference speed?
- kv_seq_len bug?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lm-infinite.