4 ms·
Transformers like Llama use rotary embeddings which are applied in every single attention layer https://github.com/huggingface/transformers/blob/222505c7e4d08d
by topwalktown 2y ago
Transformers like Llama use rotary embeddings which are applied in every single attention layer
https://github.com/huggingface/transformers/blob/222505c7e4d08da9095d12ddb72fb653f4b6da33/src/transformers/models/llama/modeling_llama.py#L275 https://github.com/huggingface/transformers/blob/222505c7e4d...
- markisus 2y agoVery interesting! Do you know if there were any studies about whether this improves performance?