peft
Warn if using tied target module with `tie_word_embeddings`
#2025
Merged

Warn if using tied target module with `tie_word_embeddings` #2025

ltoniazzi
ltoniazzi
ltoniazzi commented on 2024-08-20
ltoniazzi ltoniazzi marked this pull request as ready for review 1 year ago
ltoniazzi
ltoniazzi commented on 2024-08-20
ltoniazzi
ltoniazzi commented on 2024-08-20
ltoniazzi
ltoniazzi commented on 2024-08-20
BenjaminBossan
BenjaminBossan requested changes on 2024-08-21
ltoniazzi
ltoniazzi ltoniazzi marked this pull request as draft 1 year ago
BenjaminBossan
ltoniazzi ltoniazzi force pushed from c2361292 to 44a02de8 1 year ago
ltoniazzi
ltoniazzi ltoniazzi marked this pull request as ready for review 1 year ago
ltoniazzi ltoniazzi changed the title Add warning if using output target module whith tied embeddings Add warning if using output target module with tied embeddings 1 year ago
ltoniazzi ltoniazzi changed the title Add warning if using output target module with tied embeddings Warn if using output target module with tied embeddings 1 year ago
BenjaminBossan
BenjaminBossan requested changes on 2024-08-22
BenjaminBossan
BenjaminBossan requested changes on 2024-08-23
ltoniazzi ltoniazzi force pushed from 516fc3c1 to 3a51e672 1 year ago
ltoniazzi
ltoniazzi ltoniazzi force pushed from cd3e8303 to cf4bf3ec 1 year ago
ltoniazzi ltoniazzi marked this pull request as draft 1 year ago
ltoniazzi ltoniazzi marked this pull request as ready for review 1 year ago
ltoniazzi
ltoniazzi
ltoniazzi commented on 2024-08-25
BenjaminBossan
BenjaminBossan requested changes on 2024-08-26
ltoniazzi Add warning if using output target module whith tied embeddings
b610bbc9
ltoniazzi Add embed
dbd1eab0
ltoniazzi Use EMBEDDING_LAYER_NAMES
b0d3e616
ltoniazzi Update src/peft/mapping.py
c8d6236a
ltoniazzi Remove line
4e24774b
ltoniazzi Update src/peft/mapping.py
39c9c4b2
ltoniazzi Move warn in BaseTuner
388b3f48
ltoniazzi Rename BaseTuner in mapping
b5fa3ced
ltoniazzi Modify warning message
f36f3af3
ltoniazzi Style
acde170e
ltoniazzi Precommit
06f0d00d
ltoniazzi Docstr for get_model_config and separate warnings
d9b2b535
ltoniazzi Reword
fe5c86f6
ltoniazzi Typo
5ba0e9f4
ltoniazzi Put warn in base class - force dummy config
775a325a
ltoniazzi Fix bug from rebase
fc0541e0
ltoniazzi Add get model config tests
a1e5c170
ltoniazzi Add warning test for merging/loading
0861e1ef
ltoniazzi Refactor warn test
82cab474
ltoniazzi Refactor warn test
667c0338
ltoniazzi Refactor warn test
5c6c4568
ltoniazzi Update tests/test_tuners_utils.py
12c73b59
ltoniazzi Update merge warning message
7f290ea6
ltoniazzi Decouple tests
7926888d
ltoniazzi ltoniazzi force pushed from a2f7354b to 7926888d 1 year ago
ltoniazzi ltoniazzi marked this pull request as draft 1 year ago
Add instructions to save an untied model
6d360a9a
Add instructions to save an untied model
964fdae8
Add comment on different format
89928caa
ltoniazzi ltoniazzi marked this pull request as ready for review 1 year ago
ltoniazzi
BenjaminBossan
ltoniazzi
BenjaminBossan
HuggingFaceDocBuilderDev
ltoniazzi
BenjaminBossan
BenjaminBossan
Run make style
809f689e
ltoniazzi
ltoniazzi ltoniazzi changed the title Warn if using output target module with tied embeddings Warn if using tied target module with `tie_word_embeddings` 1 year ago
BenjaminBossan
BenjaminBossan requested changes on 2024-08-28
ltoniazzi Address comments
37a56ebf
BenjaminBossan
BenjaminBossan approved these changes on 2024-08-29
BenjaminBossan BenjaminBossan merged 679bcd87 into main 1 year ago
ltoniazzi
BenjaminBossan
ltoniazzi ltoniazzi deleted the bug/warn-if-tied-embedding branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone