Comments (5)
Maybe we could update the docs to say "making sure your Decoder has rel_pos_bias
or rotary_pos_emb
set to True
"
from x-transformers.
the reason why i want to use rotary_pos_emb
is mainly so i can use flash attention. But also because it claims to be better than relative positional bias.
from x-transformers.
@pfeatherstone yup! rotary positions are compatible with transformer-xl
from x-transformers.
and yea, i find it better than t5 pos bias
from x-transformers.
@lucidrains Thank you! Just wanted to check. Wasn't sure if there would be a discontinuity in the embeddings when routing mems
to the next iteration
from x-transformers.
Related Issues (20)
- Using Rotary Positional Encoding with Continuous Wrapper HOT 1
- Do you consider adding rwkv HOT 1
- Question: masking in token shifting HOT 1
- [Bug] ContinuousTransformerWrapper - return_mems doens't work HOT 1
- rotary embedding issues when training in mixed precision HOT 2
- Masking for prepend_embeds HOT 7
- ONNX export failed HOT 14
- Bert token type embedding HOT 2
- Simplifying Transformer Blocks (https://arxiv.org/abs/2311.01906) HOT 9
- Support for NormSoftmax HOT 16
- Question: num_memory_tokens > 0 and return_mems = True HOT 3
- "Stabilizing Transformer Training by Preventing Attention Entropy Collapse" improvement to ViT HOT 1
- how to set inputs to the right shape HOT 1
- kv cache breaks generation HOT 5
- Question: How to load model trained on earlier version of x-transformers HOT 3
- Enhancement: Multi Input/Output transformers HOT 1
- XL-recurrence with RotaryEmbedding and mems not working correctly. HOT 34
- Removed biases breaks pre-trained models HOT 5
- Seq len missing in rotary embedding HOT 3
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 x-transformers.