transformers
Add a converter from mamba_ssm -> huggingface mamba
#29705
Merged

Add a converter from mamba_ssm -> huggingface mamba #29705

byi8220
byi8220 implement convert_mamba_ssm_checkpoint_to_pytorch
a056af19
byi8220 Add test test_model_from_mamba_ssm_conversion
f1d9488b
byi8220 moved convert_ssm_config_to_hf_config to inside mamba_ssm_available c…
1d8d1da0
byi8220 fix skipif clause
4e1b9dde
byi8220 moved skips to inside test since skipif decorator isn't working for s…
b280bf98
amyeroberts
byi8220
amyeroberts
amyeroberts commented on 2024-03-19
byi8220 Merge branch 'huggingface:main' into mamba-converter
d2298bfe
byi8220 Added validation
765ea4dd
byi8220 removed test
c85c4260
byi8220 Merge branch 'mamba-converter' of https://github.com/byi8220/transfor…
df04dd6e
byi8220 fixup
6c5a5489
byi8220 only compare logits
c3fc0716
byi8220 Merge branch 'huggingface:main' into mamba-converter
ccc85ace
byi8220 Merge branch 'huggingface:main' into mamba-converter
c76082e4
byi8220 remove weight rename
ed4bea8d
byi8220 Merge branch 'huggingface:main' into mamba-converter
76ab0e8e
amyeroberts
amyeroberts approved these changes on 2024-04-03
byi8220 Update src/transformers/models/mamba/convert_mamba_ssm_checkpoint_to_…
91d5b162
byi8220 nits
500a0fb5
byi8220 Merge branch 'huggingface:main' into mamba-converter
e56c4145
byi8220
amyeroberts
amyeroberts amyeroberts merged 4e6c5eb0 into main 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone