transformers
Llama: RoPE refactor
#32135
Merged

Llama: RoPE refactor #32135

gante merged 30 commits into huggingface:main from gante:llama_rope_refactor
gante
gante
gante commented on 2024-07-22
gante
gante commented on 2024-07-22
gante gante requested a review from ArthurZucker ArthurZucker 1 year ago
gante gante requested a review from amyeroberts amyeroberts 1 year ago
HuggingFaceDocBuilderDev
amyeroberts
amyeroberts commented on 2024-07-22
ArthurZucker
ArthurZucker approved these changes on 2024-07-22
amyeroberts
amyeroberts approved these changes on 2024-07-22
mig-mfreitas Add YaRN and Dynamic-YaRN RoPE Scaling Methods
1e1d6b46
Refactor YaRN implementation for LLaMA
7efbbc3e
Refactor Tensor Building Logic for YaRN
f2122cde
gante remove unwanted file
b8df7a2b
gante all diff except the llama folder
0166869e
gante add updated config
7e4e4d82
gante add updated rope class (and break related copies)
65641950
gante related classes
95304b55
gante llama attention
3904d32e
gante fa2 (and break a few more copies)
c7837ebd
gante sdpa (and break a few more copies)
e5e1cde1
gante up to the model class
f68b9cd5
gante up to ForSequenceClassification
2f5ace35
gante last set?
5d352872
gante missing this one
4c56e43d
gante make fixup
f36ec3a7
gante Update src/transformers/modeling_rope_utils.py
35699b36
gante Update src/transformers/modeling_rope_utils.py
b095ebbd
gante rename 'type' and 'scaling_type' to a clearer 'rope_type'
3f6458b9
gante abstract out key validation
6d315cae
gante safety getattr; explicit docstring
5809b5eb
gante docstring nit
a7502ed8
gante add tests
3bc7c520
gante remove external position_embeddings interface
39e216a2
gante test nit
000aeba7
gante Update src/transformers/models/llama/modeling_llama.py
80a04229
gante Update src/transformers/models/llama/modeling_llama.py
48ed2510
gante make fixu
c824be06
gante gante force pushed to c824be06 1 year ago
gante Merge branch 'main' into llama_rope_refactor
fc1255ef
gante
amyeroberts
gante make fixup and make fix-copies
75b23915
gante gante merged 2e113422 into main 1 year ago
gante gante deleted the llama_rope_refactor branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone