transformers
[`Ernie 4.5`] Add ernie text models
#39228
Merged

[`Ernie 4.5`] Add ernie text models #39228

vasqu merged 83 commits into huggingface:main from vasqu:ernie4_5
vasqu
vasqu init
055fa740
vasqu copied from remote
cf318494
vasqu add proper structure and llama like structure
69d942cd
vasqu fixup
0fa32aa2
vasqu revert to state that works
2fc44ee2
vasqu get closer to llama
39176fd8
vasqu slow and steady
f9d5789c
vasqu some removal
de53a33f
vasqu masks work
999e7e95
vasqu it is indeed the rope implementation, how dafuq does it mesh with the…
1816efb8
vasqu nice
d0c5877d
vasqu getting closer
03618225
vasqu closer to transformers style
06820859
vasqu let's simplify this, batching works now
a551f220
vasqu simplified
4a9c20bb
vasqu working version with modular
393c2c77
vasqu it is indeed the rotation per weights, make it complete llama style
936aa04b
vasqu cleanup conversion, next to look at -> tokenizer
b33edd1c
vasqu remove llama artefacts
4bcb7f04
vasqu fix modeling tests (common ones)
41295066
vasqu style
e837bf53
huggingface huggingface deleted a comment from github-actions on 2025-07-04
vasqu integration test + first look into tokenization (will need more work,…
be5a7b00
vasqu style
f98c8d95
vasqu
github-actions
ArthurZucker ArthurZucker added New model
ArthurZucker
vasqu working moe version, based on remote
de0389f7
vasqu lets keep it simple and go step by step - transformers annotations fo…
1a417194
vasqu more cleanup
484da46c
vasqu refactor namings and remove addition forXXX classes
5627e5a5
vasqu our moe won't cut it it seems, correction bias seems to be missing in…
a146b134
vasqu tokenization change (remote)
d1b11447
vasqu our moe version works when adding normalization :D
54749e5d
vasqu cleanup moe
c81082f4
vasqu nits
0efb8a77
vasqu cleanup modeling -> let's get to modular next
8132cf43
vasqu style
0f47d74c
vasqu modular v1
be22c9aa
vasqu minor things + attempt at conversion (which doesn't work)
522b8d9c
vasqu no conversion follow glm, fixup modular and other nits
016bc8ef
vasqu modular cleanup
ac62ca73
vasqu fixes
1f185e21
vasqu tests, tests, tests + some moe dtype forcing
d51b2575
vasqu simplify modular, fix fatal fa2 bug, remaining tests
72f1627b
vasqu fix import issue?
ba4b05e2
vasqu some initial docs, fix bnb faulty behavior --> needs to fix some test…
cce6eaa3
vasqu fix sdpa test, load on init dtype only
64fc88a1
vasqu Merge branch 'main' into ernie4_5
e9eab1fc
vasqu fixup post merge
cf37555c
HuggingFaceDocBuilderDev
vasqu style
76dc3f90
vasqu vasqu marked this pull request as ready for review 1 year ago
vasqu vasqu changed the title [`WIP`][`Ernie 4.5`] Add ernie models [`Ernie 4.5`] Add ernie text models 1 year ago
github-actions github-actions requested a review from ArthurZucker ArthurZucker 1 year ago
github-actions github-actions requested a review from Rocketknight1 Rocketknight1 1 year ago
vasqu vasqu removed review request from Rocketknight1 Rocketknight1 1 year ago
ZeyuChen
ZeyuChen commented on 2025-07-10
vasqu fix doc links
654bcd36
vasqu Merge branch 'main' into ernie4_5
c595c3e3
vasqu Merge branch 'main' into ernie4_5
694837a8
Meiyim
vasqu
vasqu tokenization cleanup beginnings
40a5ade3
vasqu simplify tokenizer by a lot as its basically llama
b0bb530b
vasqu tokenizer is full llama with different defaults + extra special tokens
090f78e4
vasqu sync og special tokens of ernie
29101689
vasqu fix decoding with numbers (also in remote done what a timing), begin …
90a69333
vasqu align with remote and preserve special tokens, adjust tests to ernie …
68e3c94a
vasqu nits
98a37598
vasqu docs
1eb7b9ec
vasqu Merge branch 'main' into ernie4_5
f6d768e6
vasqu my daily post merge it is
157c6227
vasqu check
4bcd77a6
ArthurZucker
ArthurZucker commented on 2025-07-16
vasqu tokenization update with explanations and conversion script
82539060
vasqu review on modular (til), revert some tokenizer things i did prior, re…
c91193a5
vasqu Merge branch 'main' into ernie4_5
c22e0c27
vasqu post merge fixes
b8506a41
vasqu fixup tokenization, llama fast is the way to go
49b46399
vasqu more fixups
ad76c7cf
vasqu check
c08509da
vasqu import fixes
3c0014a4
vasqu correction bias following the paddle code
2948aed6
vasqu fix
81bafc6c
vasqu Merge branch 'main' into ernie4_5
f42e3129
vasqu fix TP plan, fix correction bias sharding during forward
508b683b
vasqu Merge branch 'main' into ernie4_5
624820ca
vasqu style
b8d8f5c8
vasqu whoops
c72e4d93
vasqu fix tied weights
b9f8db7a
vasqu Merge branch 'main' into ernie4_5
680353ec
vasqu docs and last nit
60ebe117
ArthurZucker
ArthurZucker commented on 2025-07-21
vasqu license
a4635883
vasqu Merge branch 'main' into ernie4_5
416cda6e
ArthurZucker
ArthurZucker approved these changes on 2025-07-21
vasqu flasky tests
f31f41d1
vasqu move repo id, update when merged on the hub
961423da
github-actions
vasqu vasqu merged b4115a42 into main 354 days ago
vasqu vasqu deleted the ernie4_5 branch 354 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone